[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1672: we should add an emacs/.dir-locals.el
From: |
Juri Linkov |
Subject: |
bug#1672: we should add an emacs/.dir-locals.el |
Date: |
Tue, 23 Dec 2008 23:28:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) |
> 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/