all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: emacs-devel@gnu.org
Subject: Re: Indenting with spaces and tabs in Emacs Lisp
Date: Thu, 28 Feb 2019 18:50:23 +0100	[thread overview]
Message-ID: <874l8niyzk.fsf@gmx.de> (raw)
In-Reply-To: <m2zhqg2qov.fsf@gmail.com> (Robert Pluim's message of "Thu, 28 Feb 2019 10:44:00 +0100")

Robert Pluim <rpluim@gmail.com> 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	other threads:[~2019-02-28 17:50 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 [this message]
2019-02-28 10:18 ` Alan Mackenzie
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

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

  git send-email \
    --in-reply-to=874l8niyzk.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.