[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
(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 <=
- Re: bad comment indentation in Emacs Lisp, Richard Stallman, 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, 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