[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use .emacs.d in savehist.el
From: |
Kim F. Storm |
Subject: |
Re: Use .emacs.d in savehist.el |
Date: |
Sat, 29 Oct 2005 19:31:11 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Richard M. Stallman" <address@hidden> writes:
> Though perhaps a standard function to do such name munging would be a
> nice idea, e.g.:
>
> (user-customization-file-name BASE &optional DOTFILE)
>
> if .emacs.d doesn't exist => (concat "~/" (or DOTFILE (concat "."
> BASE)))
> if .emacs.d does eixst => (concat "~/.emacs.d/" BASE)
>
> Then the savehist example would be (user-customization-file-name
> "savehist"),
> and .emacs would be (user-customization-file-name "init.el" ".emacs")
>
> That does sound convenient. Would you like to do it?
I like this too, but functionality should be:
If DOTFILE non-nil and ~/DOTFILE exists, use ~/DOTFILE, else [as above].
Otherwise, some old DOTFILE will suddenly "disappear" if the user later creates
.emacs.d
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: Use .emacs.d in savehist.el, (continued)
- Re: Use .emacs.d in savehist.el, Richard M. Stallman, 2005/10/25
- Message not available
- Re: Use .emacs.d in savehist.el, Michael Cadilhac, 2005/10/25
- Re: Use .emacs.d in savehist.el, Stefan Monnier, 2005/10/25
- Re: Use .emacs.d in savehist.el, Richard M. Stallman, 2005/10/26
- Re: Use .emacs.d in savehist.el, Miles Bader, 2005/10/26
- Re: Use .emacs.d in savehist.el, Richard M. Stallman, 2005/10/26
- Re: Use .emacs.d in savehist.el, Kevin Rodgers, 2005/10/27
- Re: Use .emacs.d in savehist.el, Richard M. Stallman, 2005/10/28
- Re: Use .emacs.d in savehist.el, Miles Bader, 2005/10/28
- Re: Use .emacs.d in savehist.el, Richard M. Stallman, 2005/10/29
- Re: Use .emacs.d in savehist.el,
Kim F. Storm <=
- Re: Use .emacs.d in savehist.el, Miles Bader, 2005/10/29
- Re: Use .emacs.d in savehist.el, Chong Yidong, 2005/10/28
- Re: Use .emacs.d in savehist.el, Richard M. Stallman, 2005/10/29
- Re: Use .emacs.d in savehist.el, Chong Yidong, 2005/10/30
- Re: Use .emacs.d in savehist.el, Miles Bader, 2005/10/30
- Re: Use .emacs.d in savehist.el, Chong Yidong, 2005/10/30
- Re: Use .emacs.d in savehist.el, Richard M. Stallman, 2005/10/30
- Re: Use .emacs.d in savehist.el, Chong Yidong, 2005/10/30
- Re: Use .emacs.d in savehist.el, Richard M. Stallman, 2005/10/31
- Re: Use .emacs.d in savehist.el, Chong Yidong, 2005/10/31