emacs-devel
[Top][All Lists]
Advanced

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

Re: Indenting with spaces and tabs in Emacs Lisp


From: Michael Albinus
Subject: Re: Indenting with spaces and tabs in Emacs Lisp
Date: Thu, 28 Feb 2019 18:50:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Robert Pluim <address@hidden> writes:
Hi,

>> I've seen that in simple.el indentation is inconsistent, sometimes using
>> spaces only and sometimes tabs and spaces.  Some files seem to have more
>> consistent indenting using tabs and spaces, though some other files use
>> only spaces.
>>
>> I thought that the convention was to use the tabs + spaces style, was I
>> wrong?  I'm pretty sure this is documented somewhere, but I couldn't
>> find it.
>
> From .dir-locals.el:
>
>  (emacs-lisp-mode . ((indent-tabs-mode . nil)
>                      (electric-quote-comment . nil)
>                      (electric-quote-string . nil)))

This is valid for files edited in the Emacs source tree. If they are
merged from somewhere else, like the Tramp files, this doesn't apply.

> Robert

Best regards, Michael.



reply via email to

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