[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .dir-locals.el in AUCTeX tree
From: |
Arash Esbati |
Subject: |
Re: .dir-locals.el in AUCTeX tree |
Date: |
Sun, 27 Dec 2020 12:11:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 |
Hi Tassilo,
Tassilo Horn <tsdh@gnu.org> writes:
>> 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?
>
> No, just that it was invented only recently (in Emacs terms).
I see, .dir-locals.el was checked in Emacs Dec. 2008 :-)
>> Otherwise, I suggest to install one like this which is mostly taken
>> from Emacs[1]:
>
> Please do so.
Pushed.
>> I think the biggest change is to turn off `indent-tabs-mode' in
>> `emacs-lisp-mode'.
>
> Indeed, but I guess we should go with Emacs' conventions. The question
> then is, of course, if we should pro-actively convert our files. One
> strategy would be to convert one file after the other when one touches
> it anyway, probably in a seperate commit. At least we should try not to
> have a file half tab-indented and the other part space-indented.
I'm not sure, but I think the latter strategy is the one chosen by Emacs
project. IIRC the rationale was not to produce large portion of history
tracked which is just replacement of tabs with whitespaces. But that
concern doesn't apply to AUCTeX. I would be fine if we just `untabify'
AUCTeX sources and check them in a separate commit.
What do others think?
Best, Arash