[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;
charset="us-ascii"
Thread-Index: AchoTDzauRqyzk14QqyPCDFIFcnvcQ==
Cc:
Subject: bad comment indentation in Emacs Lisp
Put this in Emacs Lisp mode and use `C-M-q' at the beginning:
(let (;; foobar
;; toto
(titi...)))
You get this:
(let ( ;; foobar
;; toto
(titi...)))
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 22.1.90.1 (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'
- bad comment indentation in Emacs Lisp, Drew Adams, 2008/02/05
- Re: bad comment indentation in Emacs Lisp,
Richard Stallman <=
- Re: bad comment indentation in Emacs Lisp, Stefan Monnier, 2008/02/10
- RE: bad comment indentation in Emacs Lisp, Drew Adams, 2008/02/10
- Re: bad comment indentation in Emacs Lisp, Stefan Monnier, 2008/02/10
- RE: bad comment indentation in Emacs Lisp, Drew Adams, 2008/02/10
- Re: bad comment indentation in Emacs Lisp, Stefan Monnier, 2008/02/10
- RE: bad comment indentation in Emacs Lisp, Drew Adams, 2008/02/10
- Re: bad comment indentation in Emacs Lisp, Miles Bader, 2008/02/10
- Re: bad comment indentation in Emacs Lisp, Richard Stallman, 2008/02/11