unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: emacs-devel@gnu.org
Subject: Re: master 8f91fe3: Set indent-tabs-mode for c-mode in .dir-locals.el
Date: Tue, 05 Jan 2021 15:35:10 +0000	[thread overview]
Message-ID: <87o8i31jo1.fsf@tcd.ie> (raw)
In-Reply-To: <87h7nv1kzy.fsf@gmail.com> (Robert Pluim's message of "Tue, 05 Jan 2021 16:06:25 +0100")

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	other threads:[~2021-01-05 15:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20201219141039.21364.8125@vcs0.savannah.gnu.org>
     [not found] ` <20201219141040.5A4F020AE6@vcs0.savannah.gnu.org>
2021-01-05 13:50   ` master 8f91fe3: Set indent-tabs-mode for c-mode in .dir-locals.el Robert Pluim
2021-01-05 14:27     ` Basil L. Contovounesios
2021-01-05 15:06       ` Robert Pluim
2021-01-05 15:35         ` Basil L. Contovounesios [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o8i31jo1.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).