From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: desktop-dirname can't be modified? Date: Sat, 15 Nov 2008 18:00:48 +0100 Message-ID: References: <86k5b5f9eb.fsf@fbsd.hasee.cpu> <8663mpf5dd.fsf@fbsd.hasee.cpu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226768804 16214 80.91.229.12 (15 Nov 2008 17:06:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Nov 2008 17:06:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, anhnmncb To: Juanma Barranquero Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 15 18:07:45 2008 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.50) id 1L1Oca-0002db-Pn for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Nov 2008 18:07:45 +0100 Original-Received: from localhost ([127.0.0.1]:50434 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1ObS-0007sI-ER for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Nov 2008 12:06:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1OW3-000628-A3 for help-gnu-emacs@gnu.org; Sat, 15 Nov 2008 12:00:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1OVz-00061N-CC for help-gnu-emacs@gnu.org; Sat, 15 Nov 2008 12:00:58 -0500 Original-Received: from [199.232.76.173] (port=41846 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1OVy-00061F-VZ for help-gnu-emacs@gnu.org; Sat, 15 Nov 2008 12:00:55 -0500 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:53586) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L1OVy-0005zS-ND for help-gnu-emacs@gnu.org; Sat, 15 Nov 2008 12:00:54 -0500 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate03.web.de (Postfix) with ESMTP id 54311F476162; Sat, 15 Nov 2008 18:00:50 +0100 (CET) Original-Received: from [91.35.227.163] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1L1OVu-0002Pe-00; Sat, 15 Nov 2008 18:00:50 +0100 In-Reply-To: X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX19heBgoUQah6J6ypwO949FYvq2N5hGH96ggRrYK fRZpb7LIEs5HMK6SislZLsk6aIsycWQvgNGtDT5+k7beS3sFit Cg8qg1VHm0UnTL86cmsQ== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:59823 Archived-At: Am 15.11.2008 um 15:55 schrieb Juanma Barranquero: >> Documentation: >> The directory in which the desktop file should be saved. > > I agree that it is a bit confusing. `desktop-dirname' is not for the > user to change; it is not a defcustom, and both `desktop-read' and > `desktop-save' assign it unconditionally. For me this works with a few versions of GNU Emacs: (setq desktop-dirname (format "%sPDesktop-%d" user-emacs-directory ETyp)) I have in ~/.emacs.d drwxrwxr-x 7 pete 238 10 Aug 23:42 PDesktop-20 drwxrwxr-x 7 pete 238 5 Sep 11:32 PDesktop-21 drwxrwxr-x 18 pete 612 15 Nov 00:38 PDesktop-22 drwxrwxr-x 20 pete 680 15 Nov 00:45 PDesktop-23 -- Greetings Pete ~ o ~_\\_/\ ~ O O