unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1672: we should add an emacs/.dir-locals.el
@ 2008-12-22 16:33 ` Dan Nicolaescu
  2008-12-23 21:28   ` Juri Linkov
  2008-12-24  0:50   ` bug#1672: marked as done (we should add an emacs/.dir-locals.el) Emacs bug Tracking System
  0 siblings, 2 replies; 3+ messages in thread
From: Dan Nicolaescu @ 2008-12-22 16:33 UTC (permalink / raw)
  To: bug-gnu-emacs


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.








^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#1672: we should add an emacs/.dir-locals.el
  2008-12-22 16:33 ` bug#1672: we should add an emacs/.dir-locals.el Dan Nicolaescu
@ 2008-12-23 21:28   ` Juri Linkov
  2008-12-24  0:50   ` bug#1672: marked as done (we should add an emacs/.dir-locals.el) Emacs bug Tracking System
  1 sibling, 0 replies; 3+ messages in thread
From: Juri Linkov @ 2008-12-23 21:28 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: bug-gnu-emacs, 1672

> 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/







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#1672: marked as done (we should add an emacs/.dir-locals.el)
  2008-12-22 16:33 ` bug#1672: we should add an emacs/.dir-locals.el Dan Nicolaescu
  2008-12-23 21:28   ` Juri Linkov
@ 2008-12-24  0:50   ` Emacs bug Tracking System
  1 sibling, 0 replies; 3+ messages in thread
From: Emacs bug Tracking System @ 2008-12-24  0:50 UTC (permalink / raw)
  To: Dan Nicolaescu

[-- Attachment #1: Type: text/plain, Size: 896 bytes --]


Your message dated Tue, 23 Dec 2008 16:47:11 -0800 (PST)
with message-id <200812240047.mBO0lBtT005920@mothra.ics.uci.edu>
and subject line Re: bug#1672: we should add an emacs/.dir-locals.el
has caused the Emacs bug report #1672,
regarding we should add an emacs/.dir-locals.el
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1672: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1672
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3103 bytes --]

From: Dan Nicolaescu <dann@ics.uci.edu>
To: bug-gnu-emacs <bug-gnu-emacs@gnu.org>
Subject: we should add an emacs/.dir-locals.el
Date: Mon, 22 Dec 2008 08:33:15 -0800 (PST)
Message-ID: <200812221633.mBMGXFUe000186@mothra.ics.uci.edu>


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.





[-- Attachment #3: Type: message/rfc822, Size: 2699 bytes --]

From: Dan Nicolaescu <dann@ics.uci.edu>
To: Juri Linkov <juri@jurta.org>
Cc: 1672-done@emacsbugs.donarmstrong.com
Subject: Re: bug#1672: we should add an emacs/.dir-locals.el
Date: Tue, 23 Dec 2008 16:47:11 -0800 (PST)
Message-ID: <200812240047.mBO0lBtT005920@mothra.ics.uci.edu>

Juri Linkov <juri@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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-24  0:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200812240047.mBO0lBtT005920@mothra.ics.uci.edu>
2008-12-22 16:33 ` bug#1672: we should add an emacs/.dir-locals.el Dan Nicolaescu
2008-12-23 21:28   ` Juri Linkov
2008-12-24  0:50   ` bug#1672: marked as done (we should add an emacs/.dir-locals.el) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).