GNU bug report logs - #8348
CC Mode 5.31.8; c-end-of-macro does not handle macro with comments spanning lines

Previous Next

Packages: emacs, cc-mode;

Reported by: Darren Hoo <darren.hoo <at> gmail.com>

Date: Sat, 26 Mar 2011 15:25:02 UTC

Severity: normal

Tags: notabug

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8348 in the body.
You can then email your comments to 8348 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8348; Package emacs. (Sat, 26 Mar 2011 15:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Darren Hoo <darren.hoo <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 26 Mar 2011 15:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Darren Hoo <darren.hoo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org,
Subject: CC Mode 5.31.8;
	c-end-of-macro does not handle macro with comments spanning lines
Date: Sat, 26 Mar 2011 23:23:43 +0800
#define AA 1 /*  !
              *  a comment
			  *  eags lines
			  */!

c-end-of-macro move to the first ! instead of the second !




Information forwarded to bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#8348; Package emacs,cc-mode. (Fri, 01 Jul 2016 03:31:01 GMT) Full text and rfc822 format available.

Message #8 received at 8348 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: Darren Hoo <darren.hoo <at> gmail.com>
Cc: 8348 <at> debbugs.gnu.org
Subject: Re: 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
tags 8348 notabug
quit

Darren Hoo <darren.hoo <at> 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.




Added tag(s) notabug. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Fri, 01 Jul 2016 03:31:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 8348 <at> debbugs.gnu.org and Darren Hoo <darren.hoo <at> gmail.com> Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Wed, 22 Feb 2017 03:09:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 22 Mar 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.