all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
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:44:00 +0100	[thread overview]
Message-ID: <m2zhqg2qov.fsf@gmail.com> (raw)
In-Reply-To: <87zhqgfguo.fsf@petton.fr> (Nicolas Petton's message of "Thu, 28 Feb 2019 09:38:07 +0100")

[-- Attachment #1: Type: text/plain, Size: 696 bytes --]

Nicolas Petton <nicolas@petton.fr> 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)))

(I couldn't find this documented either).

Robert

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-02-28  9:44 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 [this message]
2019-02-28 17:50   ` Michael Albinus
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=m2zhqg2qov.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --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 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.