emacs-devel
[Top][All Lists]
Advanced

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

Re: files.el: Patch to make project-settings optional/customizable


From: Juri Linkov
Subject: Re: files.el: Patch to make project-settings optional/customizable
Date: Sat, 22 Nov 2008 21:08:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu)

>> So let's get rid of "project" in the function names and use the common
>> prefix dir-local-variables by analogy with file-local-variables.
>
> Sounds OK.
>
>> Since the only term the user have to remember will be "directory-local
>> variables" this suggests using a file name derived from it.  Since
>> the file name should be short a good candidate is ".dir-locals.el".
>
> Fine by me,

Done.

Since seeing constant file names repeated in several places hurts my eyes,
I also created defconst for the file name, as Richard suggested - with the
docstring saying why it is constant.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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