GNU bug report logs - #1672
we should add an emacs/.dir-locals.el

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>

Date: Mon, 22 Dec 2008 16:35:02 UTC

Severity: normal

Done: Dan Nicolaescu <dann <at> ics.uci.edu>

Bug is archived. No further changes may be made.

Full log


Message #3 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: we should add an emacs/.dir-locals.el
Date: Mon, 22 Dec 2008 08:33:15 -0800 (PST)
Given that we want .dir-locals.el to become widely used, we should lead
by example and add such a file to the distribution.

Here's an example:

((nil . ((indent-tabs-mode . t)
         (tab-width . 8)
         (fill-column . 80)))
 (c-mode . ((c-file-style . "GNU")))
 (change-log-mode . ((add-log-time-zone-rule . t)))
 ("lisp/mail/pmail*"
  . ((nil . ((change-log-default-name . "ChangeLog.pmail"))))))


Some of the things it sets are the default, but some people might change
them in their .emacs, so make sure the right values are used in the
emacs tree.  Another change is to make sure pmail* uses the right
ChangeLog file.






This bug report was last modified 16 years and 213 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.