From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: Startup screen default directory Date: Tue, 12 Feb 2008 01:48:28 +0000 (UTC) Message-ID: References: <87wspce6gj.fsf@jurta.org> <87wspb5d18.fsf@jurta.org> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1202780930 10101 80.91.229.12 (12 Feb 2008 01:48:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2008 01:48:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 12 02:49:10 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JOkGf-0006oH-Km for ged-emacs-devel@m.gmane.org; Tue, 12 Feb 2008 02:49:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOkGB-00036f-Sw for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2008 20:48:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOkG6-00033w-Ig for emacs-devel@gnu.org; Mon, 11 Feb 2008 20:48:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOkG6-000339-2f for emacs-devel@gnu.org; Mon, 11 Feb 2008 20:48:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOkG5-00032e-PH for emacs-devel@gnu.org; Mon, 11 Feb 2008 20:48:29 -0500 Original-Received: from cpe-69-204-130-115.nycap.res.rr.com ([69.204.130.115] helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOkG5-0005AH-Av for emacs-devel@gnu.org; Mon, 11 Feb 2008 20:48:29 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Tue, 12 Feb 2008 01:48:28 +0000 (UTC) In-reply-to: <87wspb5d18.fsf@jurta.org> (message from Juri Linkov on Tue, 12 Feb 2008 02:14:19 +0200) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88816 Archived-At: Wouldn't it be enough to check for the autoloaded variable `desktop-save-mode'? When it is non-nil, we can assume that the user has customized it to load the desktop, so don't show the splash screen. No. My current value in this instance in which I am writing: desktop-save-mode is a variable defined in `desktop.el'. Its value is nil In my major instance of GNU Emacs, I load over 20 files from a saved desktop, but my `desktop-save-mode' variable is nil because I want always to load the same files, but often look at others that I do not necessarily want the next time I start Emacs. On the other hand, in a root owned instance, in a `when' expression, I evoke (desktop-save-mode 1) (desktop-read "/root") The root owned instance says: desktop-save-mode is a variable defined in `desktop.el'. Its value is t That is an advantage of having nil, t and one .emacs file loaded with -q -l ~bob/.emacs -- Robert J. Chassell GnuPG Key ID: 004B4AC8 bob@rattlesnake.com bob@gnu.org http://www.rattlesnake.com http://www.teak.cc