all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: anhnmncb <anhnmncb@sina.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: desktop-dirname can't be modified?
Date: Sat, 15 Nov 2008 14:29:38 +0100	[thread overview]
Message-ID: <f7ccd24b0811150529u7882cb9ck693ef85ec213176a@mail.gmail.com> (raw)
In-Reply-To: <86k5b5f9eb.fsf@fbsd.hasee.cpu>

On Sat, Nov 15, 2008 at 13:42, anhnmncb <anhnmncb@sina.com> 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




  reply	other threads:[~2008-11-15 13:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-15 12:42 desktop-dirname can't be modified? anhnmncb
2008-11-15 13:29 ` Juanma Barranquero [this message]
2008-11-15 14:09   ` anhnmncb
2008-11-15 14:55     ` Juanma Barranquero
2008-11-15 17:00       ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7ccd24b0811150529u7882cb9ck693ef85ec213176a@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=anhnmncb@sina.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.