emacs-devel
[Top][All Lists]
Advanced

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

Re: master 8f91fe3: Set indent-tabs-mode for c-mode in .dir-locals.el


From: Basil L. Contovounesios
Subject: Re: master 8f91fe3: Set indent-tabs-mode for c-mode in .dir-locals.el
Date: Tue, 05 Jan 2021 15:35:10 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Robert Pluim <rpluim@gmail.com> writes:

> "Basil L. Contovounesios" <contovob@tcd.ie> writes:
>
>> Robert Pluim <rpluim@gmail.com> writes:
>>
>>> blc@savannah.gnu.org (Basil L. Contovounesios) writes:
>>>
>>>> branch: master
>>>> commit 8f91fe3063c1a4523520624054458229cc376d9b
>>>> Author: Basil L. Contovounesios <contovob@tcd.ie>
>>>> Commit: Basil L. Contovounesios <contovob@tcd.ie>
>>>>
>>>>     Set indent-tabs-mode for c-mode in .dir-locals.el
>>>>     
>>>>     * .dir-locals.el (c-mode): Enforce existing indent-tabs-mode
>>>>     policy.  (Bug#34765)
>>>
>>> What existing 'indent-tabs-mode' policy? Last time this came up I
>>> thought it had been decided that there wasn't one for C, only for
>>> elisp.
>>
>> I have seen Eli and others request several times that C code remain
>> indented with a mixture of tabs and spaces, aka the default value of
>> indent-tabs-mode.  By comparison, indent-tabs-mode is set to nil for
>> Elisp code, although not all contributors follows this convention.
>>
>
> Iʼve seen Eli and others request that people not randomly reformat
> existing code outside changes they're making according to their
> setting of indent-tabs-mode, which is not quite the same thing.

Indeed, they're not the same, and they're not mutually exclusive either.

> I donʼt think we have an explicit policy written down anywhere.

Until now.  ;) (unless you count the mailing lists)

-- 
Basil



reply via email to

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