From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#11865: Fwd: Re: 24.1.50; doxygen comments not highlighted in c++-mode Date: Fri, 26 Feb 2016 14:07:05 +1030 Message-ID: <87y4a8m9b2.fsf@gnus.org> References: <5a95c7556a411b5988bc46867dbb99fd@tonotdo.com> <16d1f96d86592f9e5511b61a678e2f81@tonotdo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456457908 27465 80.91.229.3 (26 Feb 2016 03:38:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Feb 2016 03:38:28 +0000 (UTC) Cc: 11865@debbugs.gnu.org To: Toon Claes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 26 04:38:16 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 1aZ9EJ-0006wu-Nn for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 04:38:11 +0100 Original-Received: from localhost ([::1]:47093 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ9EI-0006OJ-TM for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Feb 2016 22:38:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ9EE-0006Ns-M1 for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2016 22:38:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ9EA-0004K1-MK for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2016 22:38:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ9EA-0004Jx-Iu; Thu, 25 Feb 2016 22:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aZ9EA-0007sy-8u; Thu, 25 Feb 2016 22:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 26 Feb 2016 03:38: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: patch Original-Received: via spool by 11865-submit@debbugs.gnu.org id=B11865.145645785830263 (code B ref 11865); Fri, 26 Feb 2016 03:38:02 +0000 Original-Received: (at 11865) by debbugs.gnu.org; 26 Feb 2016 03:37:38 +0000 Original-Received: from localhost ([127.0.0.1]:46564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZ9Dm-0007s3-6W for submit@debbugs.gnu.org; Thu, 25 Feb 2016 22:37:38 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:38167) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZ9Dk-0007ru-5e for 11865@debbugs.gnu.org; Thu, 25 Feb 2016 22:37:36 -0500 Original-Received: from [175.103.25.178] (helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aZ9DL-0001k1-Ho; Fri, 26 Feb 2016 04:37:12 +0100 In-Reply-To: <16d1f96d86592f9e5511b61a678e2f81@tonotdo.com> (Toon Claes's message of "Wed, 05 Jun 2013 10:24:56 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aZ9DL-0001k1-Ho MailScanner-NULL-Check: 1457062633.51149@AvkgJe/ECOWqNMA6tjSdoQ 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:113831 Archived-At: Toon Claes writes: > (defconst gtkdoc-font-lock-keywords > `((,(lambda (limit) > - (c-font-lock-doc-comments "/**$" limit > + (c-font-lock-doc-comments "/**([^*/].*)?$" limit Can this be correct, though? It would mean that /** foo / **/ wouldn't be a comment... and anyway, the /** is invalid as a regexp, anyway. The current code looks like (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) )))) Which looks more correct anyway. So I think this has already been fixed in a different manner, and I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no