GNU bug report logs - #11865
doxygen syntax not enabled in c++-mode & /** single line comments */

Previous Next

Packages: cc-mode, emacs;

Reported by: Toon Claes <toon <at> tonotdo.com>

Date: Thu, 5 Jul 2012 11:52:02 UTC

Severity: minor

Tags: fixed, patch

Found in versions 25.2, 24.1.50

Fixed in version 27.1

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Toon Claes <toon <at> iotcl.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Toon Claes <toon <at> tonotdo.com>, 11865 <at> debbugs.gnu.org
Subject: bug#11865: Fwd: Re: 24.1.50; doxygen comments not highlighted in c++-mode
Date: Thu, 10 Mar 2016 09:58:56 +0100
[Message part 1 (text/plain, inline)]
Hi Lars,

Find the patch attached.
The regexp is written to match:
/** gtkdoc */
/**
 * gtkdoc
 */

And to not match:
/*******/


Kind regards,
Toon


[0001-Fix-Bug-11865.patch (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]

> On 27 Feb 2016, at 05:04, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> 
> Toon Claes <toon <at> iotcl.com> writes:
> 
>> I do not really agree.
>> 
>> Let me explain in detail.
>> Only comment blocks like the following were recognized as gtkdoc:
>> /**
>> * This is the gtkdoc comment
>> */
>> 
>> I wanted also gtkdoc styling to be applied to:
>> /** This should be gtkdoc comment too */
>> 
>> I admit, the regexp I wrote back in the day was not correctly escaped.
>> But I was trying to achieve comments with 3 or more asterisks would
>> not get styled like gtkdoc comments.
> 
> Can you supply a patch that will give the correct styling?
> 
> --
> (domestic pets only, the antidote for overdose, milk.)
>   bloggy blog: http://lars.ingebrigtsen.no

[signature.asc (application/pgp-signature, attachment)]

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

Previous Next


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