[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bad comment indentation in Emacs Lisp

From: Drew Adams
Subject: bad comment indentation in Emacs Lisp
Date: Tue, 5 Feb 2008 15:10:03 -0800

Put this in Emacs Lisp mode and use `C-M-q' at the beginning:
(let (;; foobar
      ;; toto
You get this:
(let ( ;; foobar
      ;; toto
However, if you just use TAB on each line, you don't get that.
To me, this is a bug.  `;;' comments should be aligned just as
TAB would align them, always.  `C-M-q' should be equivalent to
using both TAB and `M-;' on each line of the sexp.

Also, in a situation like the preceding, it is likely that you
want the two comments to line up.

In GNU Emacs (i386-mingw-nt5.1.2600)
 of 2008-01-30 on PRETEST
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]