From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: .emacs (load {user-init-file, custom-file} causes duplicate load of both Date: Thu, 11 Nov 2010 20:26:06 +0200 Message-ID: <8339r7g1j5.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1289500454 14476 80.91.229.12 (11 Nov 2010 18:34:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 11 Nov 2010 18:34:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 11 19:34:10 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PGbyM-0001Il-1R for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Nov 2010 19:34:10 +0100 Original-Received: from localhost ([127.0.0.1]:40083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGbyK-00020l-NG for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Nov 2010 13:34:08 -0500 Original-Received: from [140.186.70.92] (port=52832 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGbqa-0006TI-0v for help-gnu-emacs@gnu.org; Thu, 11 Nov 2010 13:26:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGbqY-00017t-SD for help-gnu-emacs@gnu.org; Thu, 11 Nov 2010 13:26:07 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:47131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGbqY-00017e-L7 for help-gnu-emacs@gnu.org; Thu, 11 Nov 2010 13:26:06 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LBQ00M00FU0OZ00@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Thu, 11 Nov 2010 20:26:04 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.249.126]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LBQ00MW0GJF3DC0@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Thu, 11 Nov 2010 20:26:04 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:75348 Archived-At: > From: Larry Evans > Date: Thu, 11 Nov 2010 05:22:39 -0600 > > "Current desktop was not loaded from a file. Overwrite this desktop file? " > > from function desktop-save in desktop.el.gz. A trace in that function > showed: > > desktop-file-modtime > > was nil. Further search in that file showed the only place that was > set was in function desktop-read. So, in .emacs I put: > > (desktop-read) > > However, that didn't work. Didn't work how? Having `(desktop-read)' in your ~/.emacs _is_ the right way of activating Desktop.