From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Toon Claes Newsgroups: gmane.emacs.bugs Subject: bug#11865: Fwd: Re: 24.1.50; doxygen comments not highlighted in c++-mode Date: Fri, 26 Feb 2016 09:03:27 +0100 Message-ID: <0C474D0B-86AF-4030-B4B4-87E8CBEC4A67@iotcl.com> References: <5a95c7556a411b5988bc46867dbb99fd@tonotdo.com> <16d1f96d86592f9e5511b61a678e2f81@tonotdo.com> <87y4a8m9b2.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/signed; boundary="Apple-Mail=_B87938EA-9A2C-4292-8470-7D2F9F35D1D0"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Trace: ger.gmane.org 1456482267 15850 80.91.229.3 (26 Feb 2016 10:24:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Feb 2016 10:24:27 +0000 (UTC) Cc: Toon Claes , 11865@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 26 11:24:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aZFZG-0002FM-0g for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 11:24:14 +0100 Original-Received: from localhost ([::1]:48653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZFZF-0007mD-Fl for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 05:24:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZFZB-0007m1-Hz for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 05:24:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZFZA-0002I1-Cx for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 05:24:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZFZ4-0002HM-K9; Fri, 26 Feb 2016 05:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aZFZ4-00045s-Ft; Fri, 26 Feb 2016 05:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Toon Claes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 26 Feb 2016 10:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11865 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: fixed patch Original-Received: via spool by 11865-submit@debbugs.gnu.org id=B11865.145648222715710 (code B ref 11865); Fri, 26 Feb 2016 10:24:02 +0000 Original-Received: (at 11865) by debbugs.gnu.org; 26 Feb 2016 10:23:47 +0000 Original-Received: from localhost ([127.0.0.1]:46935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZFYl-00045H-N2 for submit@debbugs.gnu.org; Fri, 26 Feb 2016 05:23:47 -0500 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:52996) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZDNC-0000hn-5r for 11865@debbugs.gnu.org; Fri, 26 Feb 2016 03:03:41 -0500 Original-Received: from mfilter18-d.gandi.net (mfilter18-d.gandi.net [217.70.178.146]) by relay2-d.mail.gandi.net (Postfix) with ESMTP id 55EFCC5A84; Fri, 26 Feb 2016 09:03:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter18-d.gandi.net Original-Received: from relay2-d.mail.gandi.net ([IPv6:::ffff:217.70.183.194]) by mfilter18-d.gandi.net (mfilter18-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id f6wLzZ_6aK8q; Fri, 26 Feb 2016 09:03:34 +0100 (CET) X-Originating-IP: 84.196.71.131 Original-Received: from [192.168.1.60] (d54c44783.access.telenet.be [84.196.71.131]) (Authenticated sender: toon@iotcl.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 1669EC5A86; Fri, 26 Feb 2016 09:03:33 +0100 (CET) X-Pgp-Agent: GPGMail 2.6b2 In-Reply-To: <87y4a8m9b2.fsf@gnus.org> X-Mailer: Apple Mail (2.3112) X-Mailman-Approved-At: Fri, 26 Feb 2016 05:23:42 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113873 Archived-At: --Apple-Mail=_B87938EA-9A2C-4292-8470-7D2F9F35D1D0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, 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. Gr, Toon > On 26 Feb 2016, at 04:37, Lars Ingebrigtsen wrote: >=20 > Toon Claes writes: >=20 >> (defconst gtkdoc-font-lock-keywords >> `((,(lambda (limit) >> - (c-font-lock-doc-comments "/**$" limit >> + (c-font-lock-doc-comments "/**([^*/].*)?$" limit >=20 > Can this be correct, though? It would mean that /** foo / **/ = wouldn't > be a comment... and anyway, the /** is invalid as a regexp, anyway. >=20 > The current code looks like >=20 > (defconst gtkdoc-font-lock-keywords > `((,(lambda (limit) > (c-font-lock-doc-comments "/\\*\\*$" limit > gtkdoc-font-lock-doc-comments) > (c-font-lock-doc-comments "/\\*< " limit > gtkdoc-font-lock-doc-protection) > )))) >=20 > Which looks more correct anyway. So I think this has already been = fixed > in a different manner, and I'm closing this bug report. >=20 > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no --Apple-Mail=_B87938EA-9A2C-4292-8470-7D2F9F35D1D0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJW0AbVAAoJEDEUOoLTKziXmIwP/j/eT6IkzHizdIptDdzl2UXB GeJRlWVtIHTWGiIjS/YIv7PISdN7lUePUbTSau2n3iAgm0NQlcjmLHaxBav7EN2X 7Y1ldaf+P5C9IkxylczCDuI+aUnpsL/ZdHIyQLOCweh1YS5Qv7P3V3atDvn0A9oH N4RlwkaSIo9DrZdRqwAAVEXUpN8mUopQ68NxwJEHxnKkOozVBr5KmkVe0bC3JcRF NXoNC4sdc1XcQfKd53fXwEgo48BMjmg2xCskmb38xm7vWnovimGT7UbLWq06oDHH 4qQyGmGS9ujmiNVXn0nNkjQoqiQcNIiUB4Zs48s+lIxpNpSdTOwSsbSM2/hkyAl3 TomU642MYUEffTwmvTVPoh3bTUBfakCgHORnRwzX5PZoiyry00MZUJU0RozgziSV JN5wuLECppkKIj0zItQYyfSQAD/XPFv8eaj+73l5K8YSsB3sMqazHIHygfycmA5z rHrfzDvDTZf4qkGzWN7uMqL0pRVsJAEz7Mbn2M2JSa/5iZocrL4ok8Q6F9cQ/MJn ujOvNlzCt89K58TWf4cI4UnO5B0W55ZPy9z3TwJTzmLmRvEA5jlzyifk+Fzx9vuM WgxpCf7fuK3iNhFVrQJzHJ8AJOwuLFSFO7KiXzW/pfhg0E/KldVze4spLEJPMgFK 1+iB9XZ/cNpGPW+QMhbe =6pDW -----END PGP SIGNATURE----- --Apple-Mail=_B87938EA-9A2C-4292-8470-7D2F9F35D1D0--