[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Files that begin with a period

From: Stefan Monnier
Subject: Re: Files that begin with a period
Date: Sun, 19 Oct 2008 16:04:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> > I installed today in several Lisp files, including in the `lisp/org'
>> > directory, changes that run file names which supply values to
>> > defcustom's through `convert-standard-filename'.  This is for when
>> > Emacs runs on 8+3 (a.k.a. DOS) filesystems that do not allow file
>> > names with a leading period.  (On modern filesystems,
>> > `convert-standard-filename' leaves the file name intact.)
>> It would probably be good to try and use user-emacs-directory for those
>> file names.

> Sorry, I don't understand what would that solve.  I'm talking about
> defcustom's such as this one:

>     (defcustom org-id-locations-file
>       (convert-standard-filename "~/.org-id-locations")
>        "The file for remembering the last ID number generated."
>        :group 'org-id
>        :type 'file)

> (Originally, the call to convert-standard-filename wasn't there.)

> The file in question is in the user's home directory, but the problem
> is not the directory, it's the name of the file itself.

> What am I missing?

Nothing: I agree 100% with your change and just reminded that it would
additionally be good to try and use user-emacs-directory (i.e. move
those files into ~/.emacs.d).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]