From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: status of dir-vars or dir-locals inclusion in emacs? Date: Tue, 04 Sep 2007 14:53:34 -0700 Message-ID: <200709042153.l84LrdvU008320@oogie-boogie.ics.uci.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188942974 544 80.91.229.12 (4 Sep 2007 21:56:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Sep 2007 21:56:14 +0000 (UTC) Cc: tromey@redhat.com, joakim@verona.se, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 04 23:56:13 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ISgNY-0004k2-NS for ged-emacs-devel@m.gmane.org; Tue, 04 Sep 2007 23:56:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISgNX-0007J9-04 for ged-emacs-devel@m.gmane.org; Tue, 04 Sep 2007 17:56:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ISgNR-0007Fp-MT for emacs-devel@gnu.org; Tue, 04 Sep 2007 17:56:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ISgNQ-0007Dy-16 for emacs-devel@gnu.org; Tue, 04 Sep 2007 17:56:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISgNP-0007DH-LF for emacs-devel@gnu.org; Tue, 04 Sep 2007 17:56:03 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ISgNJ-0004Sb-UB; Tue, 04 Sep 2007 17:55:58 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l84LrdvU008320; Tue, 4 Sep 2007 14:53:39 -0700 (PDT) In-Reply-To: (Richard Stallman's message of "Mon\, 03 Sep 2007 14\:25\:59 -0400") Original-Lines: 31 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-Detected-Kernel: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:77773 Archived-At: Richard Stallman 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}, > +@file{.emacs-settings.el}, 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.