GNU bug report logs - #7916
[PATCH] cc-mode does not fontify constructors and destructors with exception specifications

Previous Next

Packages: emacs, cc-mode;

Reported by: Daniel Colascione <dan.colascione <at> gmail.com>

Date: Wed, 26 Jan 2011 06:18:01 UTC

Severity: normal

Tags: patch

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 7916 in the body.
You can then email your comments to 7916 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#7916; Package emacs. (Wed, 26 Jan 2011 06:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Colascione <dan.colascione <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 26 Jan 2011 06:18:02 GMT) Full text and rfc822 format available.

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

From: Daniel Colascione <dan.colascione <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] cc-mode does not fontify constructors and destructors with
	exception specifications
Date: Tue, 25 Jan 2011 22:25:05 -0800
[Message part 1 (text/plain, inline)]
struct foo {
    foo() throw()  {}
    ~foo() throw() {}
};

struct bar {
    bar() throw();
    ~bar() throw();
}

struct qux {
    qux();
    ~qux() {}
};

qux::qux<int>() {

}

bar::~bar() throw()
{}
[condestruc.patch (text/plain, attachment)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#7916; Package emacs,cc-mode. (Sun, 30 Jan 2011 21:39:02 GMT) Full text and rfc822 format available.

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

From: Daniel Colascione <dan.colascione <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Alan Mackenzie <acm <at> muc.de>
Subject: Re: bug#7916: [PATCH] cc-mode does not fontify constructors and
	destructors with exception specifications
Date: Sun, 30 Jan 2011 13:44:09 -0800
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Updated patch attached. The previous version choked on
lambda-expressions because I didn't take into account the side effects
of a test.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)

iEYEARECAAYFAk1F26gACgkQ17c2LVA10VvNYgCgsMDhZ4pEQn7GFdfTKk/H3THx
nFUAoIk1QCxaiokX3Ol25Vhj05Q7Vl4x
=mp5G
-----END PGP SIGNATURE-----
[construc-destruc-2.patch (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#7916; Package emacs,cc-mode. (Fri, 26 Feb 2016 06:26:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Daniel Colascione <dan.colascione <at> gmail.com>
Cc: 7916 <at> debbugs.gnu.org
Subject: Re: bug#7916: [PATCH] cc-mode does not fontify constructors and
 destructors with exception specifications
Date: Fri, 26 Feb 2016 16:54:51 +1030
Daniel Colascione <dan.colascione <at> gmail.com> writes:

> struct foo {
>     foo() throw()  {}
>     ~foo() throw() {}
> };
>
> struct bar {
>     bar() throw();
>     ~bar() throw();
> }
>
> struct qux {
>     qux();
>     ~qux() {}
> };
>
> qux::qux<int>() {
>
> }
>
> bar::~bar() throw()
> {}

This seems to be working OK on the Emacs trunk, I think.  Although I'm
not quite sure what I should be looking for.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#7916; Package emacs,cc-mode. (Thu, 27 Jun 2019 16:38:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Daniel Colascione <dan.colascione <at> gmail.com>
Cc: 7916 <at> debbugs.gnu.org
Subject: Re: bug#7916: [PATCH] cc-mode does not fontify constructors and
 destructors with exception specifications
Date: Thu, 27 Jun 2019 18:36:59 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Daniel Colascione <dan.colascione <at> gmail.com> writes:
>
>> struct foo {
>>     foo() throw()  {}
>>     ~foo() throw() {}
>> };
>>
>> struct bar {
>>     bar() throw();
>>     ~bar() throw();
>> }
>>
>> struct qux {
>>     qux();
>>     ~qux() {}
>> };
>>
>> qux::qux<int>() {
>>
>> }
>>
>> bar::~bar() throw()
>> {}
>
> This seems to be working OK on the Emacs trunk, I think.  Although I'm
> not quite sure what I should be looking for.

There was no response three years ago, and putting that in a .cc file
and loading it, I can't see anything particularly wrong, so I'm closing
this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 7916 <at> debbugs.gnu.org and Daniel Colascione <dan.colascione <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 27 Jun 2019 16:38:03 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. (Fri, 26 Jul 2019 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 21 days ago.

Previous Next


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