From: Alan Mackenzie <acm@muc.de>
To: Nicolas Petton <nicolas@petton.fr>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Indenting with spaces and tabs in Emacs Lisp
Date: Thu, 28 Feb 2019 10:18:22 +0000 [thread overview]
Message-ID: <20190228101822.GA4686@ACM> (raw)
In-Reply-To: <87zhqgfguo.fsf@petton.fr>
Hello, Nico.
On Thu, Feb 28, 2019 at 09:38:07 +0100, Nicolas Petton wrote:
> 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.
I think the general understanding is that there is no consistent pattern
of spaces vs. tabs+spaces in effect, and that this is not an important
thing.
Way back in history, tabs+spaces was, I believe, universal, since it
saved on characters when the amount of RAM and disk space were a minute
fraction of today's.
I would ask, however, that a systematic attempt to convert to a
consistent spaces only is NOT made. This fouls up diffs, giving the
impression of change where there is none.
> Cheers,
> Nico
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2019-02-28 10:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-28 8:38 Indenting with spaces and tabs in Emacs Lisp Nicolas Petton
2019-02-28 9:44 ` Robert Pluim
2019-02-28 17:50 ` Michael Albinus
2019-02-28 10:18 ` Alan Mackenzie [this message]
2019-02-28 23:09 ` Stefan Monnier
2019-02-28 17:34 ` Eli Zaretskii
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=20190228101822.GA4686@ACM \
--to=acm@muc.de \
--cc=emacs-devel@gnu.org \
--cc=nicolas@petton.fr \
/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).