From: npostavs@users.sourceforge.net
To: Darren Hoo <darren.hoo@gmail.com>
Cc: 8348@debbugs.gnu.org
Subject: bug#8348: CC Mode 5.31.8; c-end-of-macro does not handle macro with comments spanning lines
Date: Thu, 30 Jun 2016 23:30:21 -0400 [thread overview]
Message-ID: <871t3ehw6q.fsf@users.sourceforge.net> (raw)
In-Reply-To: <871v1t7vnk.fsf@gmail.com> (Darren Hoo's message of "Sat, 26 Mar 2011 23:23:43 +0800")
tags 8348 notabug
quit
Darren Hoo <darren.hoo@gmail.com> writes:
> #define AA 1 /* !
> * a comment
> * eags lines
> */!
>
> c-end-of-macro move to the first ! instead of the second !
AFAICT this is not a bug, the macro really does end on the first line,
i.e., the macro definition does not include the comment. One might
argue that the macro ends where the comment starts (first "/"), not
inside it, but the docstring of c-end-of-macro does say it goes to the
end of line.
prev parent reply other threads:[~2016-07-01 3:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-26 15:23 bug#8348: CC Mode 5.31.8; c-end-of-macro does not handle macro with comments spanning lines Darren Hoo
2016-07-01 3:30 ` npostavs [this message]
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=871t3ehw6q.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=8348@debbugs.gnu.org \
--cc=darren.hoo@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).