unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23108: 25.0.92; emacs-lisp-mode: wrong indentation in `let' binding list
@ 2016-03-24 16:39 Michael Heerdegen
  2016-03-25 16:04 ` Kaushal Modi
  2016-03-26  1:49 ` Michael Heerdegen
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Heerdegen @ 2016-03-24 16:39 UTC (permalink / raw
  To: 23108


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






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-26  1:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-24 16:39 bug#23108: 25.0.92; emacs-lisp-mode: wrong indentation in `let' binding list Michael Heerdegen
2016-03-25 16:04 ` Kaushal Modi
2016-03-25 16:29   ` Dmitry Gutov
2016-03-26  1:49 ` Michael Heerdegen

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).