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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Subject: bug#1672 closed by Dan Nicolaescu <dann <at> ics.uci.edu> (Re: 
 bug#1672: we should add an emacs/.dir-locals.el)
Date: Wed, 24 Dec 2008 00:50:02 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#1672: we should add an emacs/.dir-locals.el

It has been closed by Dan Nicolaescu <dann <at> ics.uci.edu>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Dan Nicolaescu <dann <at> ics.uci.edu> by
replying to this email.


-- 
1672: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1672
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Juri Linkov <juri <at> jurta.org>
Cc: 1672-done <at> debbugs.gnu.org
Subject: Re: bug#1672: we should add an emacs/.dir-locals.el
Date: Tue, 23 Dec 2008 16:47:11 -0800 (PST)
Juri Linkov <juri <at> jurta.org> writes:

  > > 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"))))))
  > 
  > Good idea.  Then we can remove `add-log-time-zone-rule: t' from the
  > file Local Variables section of all ChangeLog files in the Emacs tree,
  > have no more spaces-vs-tabs mess and other formatting issues.

I checked in the file.  Now that we have it, things ca be added/removed
to make it better.

[Message part 3 (message/rfc822, inline)]
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 212 days ago.

Previous Next


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