gnu.emacs.bug
[Top] [All Lists]

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

Subject: bug#1672: we should add an emacs/.dir-locals.el
From: Juri Linkov
Date: Tue, 23 Dec 2008 23:28:37 +0200
Newsgroups: gnu.emacs.bug

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






<Prev in Thread] Current Thread [Next in Thread>