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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1672 in the body.
You can then email your comments to 1672 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1672; Package emacs. (Mon, 22 Dec 2008 16:35:02 GMT) Full text and rfc822 format available.

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.






Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1672; Package emacs. (Tue, 23 Dec 2008 21:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 23 Dec 2008 21:45:02 GMT) Full text and rfc822 format available.

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

From: Juri Linkov <juri <at> jurta.org>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 1672 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: Re: bug#1672: we should add an emacs/.dir-locals.el
Date: Tue, 23 Dec 2008 23:28:37 +0200
> 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.

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





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1672; Package emacs. (Tue, 23 Dec 2008 21:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 23 Dec 2008 21:45:04 GMT) Full text and rfc822 format available.

Reply sent to Dan Nicolaescu <dann <at> ics.uci.edu>:
You have taken responsibility. (Wed, 24 Dec 2008 00:50:02 GMT) Full text and rfc822 format available.

Notification sent to Dan Nicolaescu <dann <at> ics.uci.edu>:
bug acknowledged by developer. (Wed, 24 Dec 2008 00:50:02 GMT) Full text and rfc822 format available.

Message #18 received at 1672-done <at> emacsbugs.donarmstrong.com (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 21 Jan 2009 15:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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