From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.help Subject: Re: desktop-dirname can't be modified? Date: Sat, 15 Nov 2008 14:29:38 +0100 Message-ID: References: <86k5b5f9eb.fsf@fbsd.hasee.cpu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226755812 12701 80.91.229.12 (15 Nov 2008 13:30:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Nov 2008 13:30:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: anhnmncb Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 15 14:31:13 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 1L1LF3-0003WO-2h for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Nov 2008 14:31:13 +0100 Original-Received: from localhost ([127.0.0.1]:37333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1LDu-0002pL-Ms for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Nov 2008 08:30:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1LDX-0002pA-VU for help-gnu-emacs@gnu.org; Sat, 15 Nov 2008 08:29:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1LDX-0002ow-MI for help-gnu-emacs@gnu.org; Sat, 15 Nov 2008 08:29:39 -0500 Original-Received: from [199.232.76.173] (port=53168 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1LDX-0002os-Eg for help-gnu-emacs@gnu.org; Sat, 15 Nov 2008 08:29:39 -0500 Original-Received: from yx-out-1718.google.com ([74.125.44.152]:43068) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L1LDX-0006ru-9u for help-gnu-emacs@gnu.org; Sat, 15 Nov 2008 08:29:39 -0500 Original-Received: by yx-out-1718.google.com with SMTP id 34so834325yxf.66 for ; Sat, 15 Nov 2008 05:29:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=bDyqVpkCR3hFWKGAlyCofvIhpwPl7vGz3ydbpzyRlHU=; b=kSD1I4f7KkJSDJ1CXJOsyhdqp7nE3d4l9yUnQWwvpyp2fdUm3Q/wulv0X9fVe6osU8 UML+Ti+q51WNyIkbpFka7Dr1gBYRByyvjShi++ppTFla36aMhos+FBtP3AthiFDVHdKn DVW4+IC82UJ2KIAzf/EfxbPH7BRYnFSqkAf6w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=xUa2GcDJUXmirOn62+zIrx0Yw3DgiE6wdrzb68LGnaRu+nawfDI4Hbt+8jYpTodj1p EcFDsn/JiCSLcb6O7l7gQXKiwSCCdQPIwgDptvkCzBhQhaXwkwcyA6OzlAqLr3weV4Ls j4y5WYPzFMFoJzaxs/s9kAVMxUQkx7IlvwFzM= Original-Received: by 10.100.6.16 with SMTP id 16mr934216anf.108.1226755778211; Sat, 15 Nov 2008 05:29:38 -0800 (PST) Original-Received: by 10.100.13.13 with HTTP; Sat, 15 Nov 2008 05:29:38 -0800 (PST) In-Reply-To: <86k5b5f9eb.fsf@fbsd.hasee.cpu> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:59817 Archived-At: On Sat, Nov 15, 2008 at 13:42, anhnmncb wrote: > I try to change it to "~/.emacs.d/" but without lucky, everytime I > restart emacs, it always restores to "~/home/myname", why? What should I > have missed? What are you trying to do, exactly? If what you want is to have just one desktop file, stored in ~/.emacs.d/, you can add this to your .emacs: (desktop-save-mode 1) (add-to-list 'desktop-path "~/.emacs.d/") though, if you occasionally want to have directory-specific desktop files is better to put it after ".": (setq desktop-path '("." "~/.emacs.d/" "~")) Does this help you? Juanma