[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: status of dir-vars or dir-locals inclusion in emacs?
From: |
Dan Nicolaescu |
Subject: |
Re: status of dir-vars or dir-locals inclusion in emacs? |
Date: |
Tue, 04 Sep 2007 14:53:34 -0700 |
Richard Stallman <address@hidden> writes:
> + The first approach is to put a special file in the root directory of
> +a project. When opening a local file, Emacs will search for this file
> +and, if the file exists, Emacs will apply local variable settings from
> +the file to the new buffer. (This search is skipped for remote
> +files.)
>
> 1. Please stick to the present tense all the time in documentation
> unless some other tense is mandatory. So please say "Emacs searches".
>
> Please look for other places in your text where this rule might apply.
>
> 2. It took me a couple of seconds to realize why the word "local" is
> there and what it means, since in this context "local" usually means
> "buffer-local". I suggest using only the word "remote" and avoiding
> use of "local" as its antonym.
>
> 3. Please avoid the passive voice, so please write "If the file is
> remote, Emacs doesn't do this search, because it would be too slow."
>
> + Emacs looks for files named @file{emacs-settings.el},
> address@hidden, or @file{.emacs-settings}, in that order.
>
> ...and looks for them in the current directory, its parent, and so on
> up the directory hierarchy.
Can we please reduce the number of the files that are looked up from 3
to 2?
Do we need both .emacs-settings.el and .emacs-settings? IMHO one of
them should be enough.
Re: status of dir-vars or dir-locals inclusion in emacs?, Richard Stallman, 2007/09/03