bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#20323: 25.0.50; Emacs's .dir-locals.el should set indent-tabs-mode t


From: Stefan Monnier
Subject: bug#20323: 25.0.50; Emacs's .dir-locals.el should set indent-tabs-mode to nil for emacs-lisp-mode and c-mode
Date: Thu, 16 Apr 2015 17:30:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> I've long since done what seems to me to be the sensible thing:
>   use a mode-hook to set indent-tabs-mode to whatever the (pre-existing)
>   file I'm editing seems to use.

Sounds like a good approach.  We could do that in prog-mode.

> So for me, this change increases the likelihood of me committing stuff
> that does not match the existing indentation style. Ie, adding it to
> dir-locals without untabifying every file (something which has already
> been rejected) has made things worse IMO.

My impression is that most Emacs's lisp files already have a mix anyway,
and I don't think that's a serious problem.


        Stefan





reply via email to

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