[Top][All Lists]

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

Re: bad comment indentation in Emacs Lisp

From: Richard Stallman
Subject: Re: bad comment indentation in Emacs Lisp
Date: Sun, 10 Feb 2008 13:42:41 -0500

The principle he cites is correct -- could you please fix this
and ack?

From: "Drew Adams" <address@hidden>
To: <address@hidden>
Date: Tue, 5 Feb 2008 15:10:03 -0800
Message-ID: <address@hidden>
MIME-Version: 1.0
Content-Type: text/plain;
Thread-Index: AchoTDzauRqyzk14QqyPCDFIFcnvcQ==
Subject: bad comment indentation in Emacs Lisp

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]