auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

.dir-locals.el in AUCTeX tree


From: Arash Esbati
Subject: .dir-locals.el in AUCTeX tree
Date: Sat, 26 Dec 2020 00:10:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50

Hi all,

AUCTeX doesn't have a .dir-locals.el in the development tree.  There are
not many contributors, but I think it makes sense to have one.  Is there
a reason we don't have it?  Otherwise, I suggest to install one like
this which is mostly taken from Emacs[1]:

--8<---------------cut here---------------start------------->8---
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")

((nil . ((bug-reference-url-format . "https://debbugs.gnu.org/%s";)
         (fill-column . 70)
         (sentence-end-double-space . t)
         (tab-width . 8)))
 (change-log-mode . ((mode . bug-reference)
                     (add-log-time-zone-rule . t)
                     (fill-column . 74)))
 (emacs-lisp-mode . ((mode . bug-reference-prog)
                     (electric-quote-comment . nil)
                     (electric-quote-string . nil)
                     (indent-tabs-mode . nil)))
 (texinfo-mxode . ((mode . bug-reference-prog)
                  (electric-quote-comment . nil)
                  (electric-quote-string . nil)
                  (fill-column . 74))))
--8<---------------cut here---------------end--------------->8---

I think the biggest change is to turn off `indent-tabs-mode' in
`emacs-lisp-mode'.

Any comments welcome.

Best, Arash

Footnotes:
[1]  http://git.savannah.gnu.org/cgit/emacs.git/tree/.dir-locals.el




reply via email to

[Prev in Thread] Current Thread [Next in Thread]