From: Richard Stallman <rms@gnu.org>
To: monnier@IRO.UMontreal.CA
Cc: emacs-pretest-bug@gnu.org
Subject: Re: bad comment indentation in Emacs Lisp
Date: Sun, 10 Feb 2008 13:42:41 -0500 [thread overview]
Message-ID: <E1JOH8T-0007MJ-0T@fencepost.gnu.org> (raw)
In-Reply-To: <009c01c8684c$3dcb3570$0059908d@us.oracle.com> (drew.adams@oracle.com)
The principle he cites is correct -- could you please fix this
and ack?
From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-pretest-bug@gnu.org>
Date: Tue, 5 Feb 2008 15:10:03 -0800
Message-ID: <009c01c8684c$3dcb3570$0059908d@us.oracle.com>
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'
next prev parent reply other threads:[~2008-02-10 18:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-05 23:10 bad comment indentation in Emacs Lisp Drew Adams
2008-02-10 18:42 ` Richard Stallman [this message]
2008-02-10 19:42 ` Stefan Monnier
2008-02-10 22:38 ` Drew Adams
2008-02-10 23:09 ` Stefan Monnier
2008-02-11 1:29 ` Drew Adams
2008-02-11 2:22 ` Stefan Monnier
2008-02-11 2:29 ` Drew Adams
2008-02-11 2:41 ` Miles Bader
2008-02-11 13:34 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1JOH8T-0007MJ-0T@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-pretest-bug@gnu.org \
--cc=monnier@IRO.UMontreal.CA \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).