From: Michael Heerdegen <michael_heerdegen@web.de>
To: 23108@debbugs.gnu.org
Subject: bug#23108: 25.0.92; emacs-lisp-mode: wrong indentation in `let' binding list
Date: Thu, 24 Mar 2016 17:39:46 +0100 [thread overview]
Message-ID: <874mbv6d9p.fsf@web.de> (raw)
Hello,
in emacs -Q, this expression:
--8<---------------cut here---------------start------------->8---
(let (from to
(temp-buffer (generate-new-buffer "temp")))
body
body)
--8<---------------cut here---------------end--------------->8---
is indented exactly as I pasted it here, e.g. in scratch or any
emacs-lisp-mode buffer. IMHO the `temp-buffer' binding should be
indented to the same column as `from'.
When I wrap `from' in parens (which doesn't change the semantic of the
expression), the indentation suddenly works as I expect.
Thanks,
Michael.
In GNU Emacs 25.0.92.5 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
of 2016-03-23 built on drachen
Repository revision: c0165ea4d6ecf81db6728782c7322c311ee0a783
Windowing system distributor 'The X.Org Foundation', version 11.0.11802000
System Description: Debian GNU/Linux testing (stretch)
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY
LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11
Important settings:
value of $LC_ALL: de_DE.utf8
value of $LC_COLLATE: C
value of $LC_TIME: C
value of $LANG: de_DE.utf8
locale-coding-system: utf-8-unix
Major mode: Emacs-Lisp
next reply other threads:[~2016-03-24 16:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-24 16:39 Michael Heerdegen [this message]
2016-03-25 16:04 ` bug#23108: 25.0.92; emacs-lisp-mode: wrong indentation in `let' binding list Kaushal Modi
2016-03-25 16:29 ` Dmitry Gutov
2016-03-26 1:49 ` Michael Heerdegen
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=874mbv6d9p.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=23108@debbugs.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.