From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Jack Duthen <duthen.mac.01@gmail.com>
Cc: 11636@debbugs.gnu.org
Subject: bug#11636: 23.1; wrong comment indentation
Date: Wed, 06 Jun 2012 09:18:39 -0400 [thread overview]
Message-ID: <jwvaa0gk2gm.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CALGVPOpAedn_kqgmMrYOwmEbBC59_kRhKvVa+8LA3Xbo6va-Vw@mail.gmail.com> (Jack Duthen's message of "Wed, 6 Jun 2012 12:47:52 +0200")
> (jd-re-or "COM_writeLog 1") ;
> (jd-re-paren
> "return ") ; \2 <msg> \n <spaces> "return "
> (jd-re-paren "[0-9]")) ;
> "COM_log \\3\\2\\3"))
[...]
> Is this a bug?
I don't think so:
- The second comment is not moved to the same column as the first
because that would push the text past fill-column. If you shorten the
second comment or if you increase fill-column, then the 3 comments
will be aligned.
- The first is not moved to the same column as the second because Emacs
doesn't look past a non-commented line. If you add a comment on the
`jd-re-paren' line, then Emacs will look further and will align all
4 comments.
Stefan
next prev parent reply other threads:[~2012-06-06 13:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-06 10:47 bug#11636: 23.1; wrong comment indentation Jack Duthen
2012-06-06 13:18 ` Stefan Monnier [this message]
2012-06-07 9:10 ` Jack Duthen
2018-02-14 3:14 ` Noam Postavsky
2018-02-14 4:44 ` Eli Zaretskii
2018-02-15 1:36 ` Noam Postavsky
2018-02-15 16:24 ` Eli Zaretskii
2018-02-17 3:25 ` Noam Postavsky
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=jwvaa0gk2gm.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=11636@debbugs.gnu.org \
--cc=duthen.mac.01@gmail.com \
/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).