From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: desktop and ~/.emacs.d/ Date: Sun, 13 Sep 2009 21:26:50 -0400 Message-ID: References: <4AA1B07E.3080703@alice.it> <4AAABF56.40802@alice.it> <4AAB5BD0.2010503@alice.it> <4AACEE4F.6060404@alice.it> <874or67rt9.fsf_-_@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252891631 24486 80.91.229.12 (14 Sep 2009 01:27:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Sep 2009 01:27:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 14 03:27:04 2009 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 1Mn0LP-0005Nt-W5 for ged-emacs-devel@m.gmane.org; Mon, 14 Sep 2009 03:27:04 +0200 Original-Received: from localhost ([127.0.0.1]:54443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mn0LP-0005ee-D8 for ged-emacs-devel@m.gmane.org; Sun, 13 Sep 2009 21:27:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mn0LJ-0005d8-At for emacs-devel@gnu.org; Sun, 13 Sep 2009 21:26:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mn0LD-0005YU-Oc for emacs-devel@gnu.org; Sun, 13 Sep 2009 21:26:56 -0400 Original-Received: from [199.232.76.173] (port=42340 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mn0LD-0005YR-Iu for emacs-devel@gnu.org; Sun, 13 Sep 2009 21:26:51 -0400 Original-Received: from [206.248.154.183] (port=4488 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mn0LD-00016S-Ar for emacs-devel@gnu.org; Sun, 13 Sep 2009 21:26:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlkFADo5rUpFpZBe/2dsb2JhbACBU9d1hBgFh3Q X-IronPort-AV: E=Sophos;i="4.44,380,1249272000"; d="scan'208";a="45632753" Original-Received: from 69-165-144-94.dsl.teksavvy.com (HELO pastel.home) ([69.165.144.94]) by ironport2-out.pppoe.ca with ESMTP; 13 Sep 2009 21:25:13 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 7E6E88356; Sun, 13 Sep 2009 21:26:50 -0400 (EDT) In-Reply-To: <874or67rt9.fsf_-_@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Sun, 13 Sep 2009 18:06:10 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:115291 Archived-At: >> In the case of desktop.el, OTOH you can indeed move ~/.emacs.desktop >> to ~/.emacs.d. > You need to cd to ~/.emacs.d/ before starting Emacs or add > "~/.emacs.d" to `desktop-path' to make it work as in ~/. Duh! Sorry, I've made that change locally so long ago that I forgot that it's not yet standard. Any objection to the patch below? Stefan --- desktop.el.~1.137.~ 2009-08-12 00:33:24.000000000 -0400 +++ desktop.el 2009-09-13 21:26:00.000000000 -0400 @@ -220,7 +220,7 @@ :group 'desktop :version "22.2") -(defcustom desktop-path '("." "~") +(defcustom desktop-path (list "." user-emacs-directory "~") "List of directories to search for the desktop file. The base name of the file is specified in `desktop-base-file-name'." :type '(repeat directory)