From unknown Sat Aug 16 13:51:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20245: 24.5; c++-mode font-lock broken by the last commit to emacs24 branch Resent-From: Oleh Krehel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Apr 2015 07:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20245 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 20245@debbugs.gnu.org Cc: acm@muc.de X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14279580824173 (code B ref -1); Thu, 02 Apr 2015 07:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Apr 2015 07:01:22 +0000 Received: from localhost ([127.0.0.1]:42795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdZ7y-00015F-5y for submit@debbugs.gnu.org; Thu, 02 Apr 2015 03:01:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57520) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdZ7w-00014x-N1 for submit@debbugs.gnu.org; Thu, 02 Apr 2015 03:01:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdZ7n-0000yz-IL for submit@debbugs.gnu.org; Thu, 02 Apr 2015 03:01:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdZ7n-0000yv-FJ for submit@debbugs.gnu.org; Thu, 02 Apr 2015 03:01:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdZ7i-000173-Sm for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 03:01:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdZ7d-0000yG-C1 for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 03:01:06 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:38158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdZ7d-0000yC-5c for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 03:01:01 -0400 Received: by wibgn9 with SMTP id gn9so93877327wib.1 for ; Thu, 02 Apr 2015 00:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type; bh=fghlk/y554/UXAH75ocNb5Gv70LP6vyNE2rA6sD9fG0=; b=hXhgy3/Dh6LMz5AsPNr1UM2R5twSCLkaaqhdEmIoOJ1P5rNDMMe34Y0wCVPpnn+Lbw jSerKtaAJ4HqIp+qM7IrL9T5nL8ba8RjVV4nP20WEBxrooPluKQEx/72/ryC8wUirLAH Q54FYiy6FrKQj1loAP3Cn792CQIDwPOAFVwVEyh8yUxAxGY7kQu09nkAkb7iTCOJ/hSo 3kx/Y7KoCykF9tOQv6qNv7eaIjaHiaG3DKof2JUi+7V6Ttl+kO+J/yzTh9n6SPq6okuy 4HDPjPAsvvBAxrBu4RdfIRKerrTcNHr0R/2t6KePds+axeHF/2m8YFlkuqFi0rpPWKOc mIow== X-Received: by 10.194.222.197 with SMTP id qo5mr89695411wjc.142.1427958060501; Thu, 02 Apr 2015 00:01:00 -0700 (PDT) Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id fm10sm6347528wib.7.2015.04.02.00.00.59 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 02 Apr 2015 00:00:59 -0700 (PDT) From: Oleh Krehel Date: Thu, 02 Apr 2015 08:55:58 +0200 Message-ID: <874mozauip.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hello, The font-locking of at least C++ headers was broken in "d69e9f1". Here's a screenshot: http://i.imgur.com/eT6X3hP.png. You can see three artifacts there. They change number and location when I scroll. It goes back to a good state if I revert the commit and re-compile. I hope this gets fixed by 24.5 release, even by just reverting "d69e9f1", since this one is a bigger bug than http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19669, which "d69e9f1" fixes. Oleh From unknown Sat Aug 16 13:51:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20245: 24.5; c++-mode font-lock broken by the last commit to emacs24 branch References: <874mozauip.fsf@gmail.com> Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Apr 2015 09:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20245 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 20245@debbugs.gnu.org Cc: Oleh Krehel Received: via spool by 20245-submit@debbugs.gnu.org id=B20245.142796830020671 (code B ref 20245); Thu, 02 Apr 2015 09:52:02 +0000 Received: (at 20245) by debbugs.gnu.org; 2 Apr 2015 09:51:40 +0000 Received: from localhost ([127.0.0.1]:43143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ydbml-0005NJ-R3 for submit@debbugs.gnu.org; Thu, 02 Apr 2015 05:51:40 -0400 Received: from colin.muc.de ([193.149.48.1]:27138 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ydbmj-0005NA-JX for 20245@debbugs.gnu.org; Thu, 02 Apr 2015 05:51:38 -0400 Received: (qmail 56405 invoked by uid 3782); 2 Apr 2015 09:51:35 -0000 Date: 2 Apr 2015 09:51:35 -0000 Message-ID: <20150402095135.56404.qmail@mail.muc.de> From: Alan Mackenzie Organization: muc.de e.V. In-Reply-To: X-Newsgroups: gnu.emacs.bug User-Agent: tin/2.2.0-20131224 ("Lochindaal") (UNIX) (FreeBSD/10.1-RELEASE (amd64)) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, Oleh. In article you wrote: > The font-locking of at least C++ headers was broken in "d69e9f1". > Here's a screenshot: http://i.imgur.com/eT6X3hP.png. You can see three > artifacts there. They change number and location when I scroll. This was fixed very recently in the master branch. Would you please try the same file in master to confirm that the fix is a fix. > It goes back to a good state if I revert the commit and re-compile. > I hope this gets fixed by 24.5 release, even by just reverting > "d69e9f1", since this one is a bigger bug than > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19669, which "d69e9f1" fixes. > Oleh -- Alan Mackenzie (Nuremberg, Germany). From unknown Sat Aug 16 13:51:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20245: 24.5; c++-mode font-lock broken by the last commit to emacs24 branch Resent-From: Oleh Krehel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Apr 2015 10:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20245 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Mackenzie Cc: 20245@debbugs.gnu.org Received: via spool by 20245-submit@debbugs.gnu.org id=B20245.142796998523293 (code B ref 20245); Thu, 02 Apr 2015 10:20:03 +0000 Received: (at 20245) by debbugs.gnu.org; 2 Apr 2015 10:19:45 +0000 Received: from localhost ([127.0.0.1]:43154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdcDw-00063d-IH for submit@debbugs.gnu.org; Thu, 02 Apr 2015 06:19:44 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:35923) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdcDu-00063N-2P for 20245@debbugs.gnu.org; Thu, 02 Apr 2015 06:19:42 -0400 Received: by wizk4 with SMTP id k4so10035366wiz.1 for <20245@debbugs.gnu.org>; Thu, 02 Apr 2015 03:19:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WMvNqT10vXYfg/KnUx89ZcTPe4+SKwe9zgxYDpkIw04=; b=sYcPHdzXOj1XGgRQBUvHc0y+x5CtONFnaC/T3rvO2tXXxUW4aWjtI2aNA8qJR5sbrY 3eC76SHJgLhrMStJBuZef0NCxHxmrp3yR2HkQnBYO6FrUZ/cg4MC8WUOYrdgsVkHPsFA mSpDUtFjuuZ/FANoPprk5hKq+vXWgKAjHfVp3olBMQwuoJ3GjMpbZQpzdz2eoBDoNZHH Sz5pb3dxBEg13jiTsfT+pl0VVqdt4Kx0Ymibonv2xq68GCxJi9HHF6vbFxP/aoNQ9VmO y8UPHA4qXoDrA2fkS7rPRbb+N/rXmcSxyJaKeHlUGrOFoWfao1ZMazSdlwOdPtfgExN8 9eHQ== MIME-Version: 1.0 X-Received: by 10.194.63.172 with SMTP id h12mr90709355wjs.48.1427969976340; Thu, 02 Apr 2015 03:19:36 -0700 (PDT) Received: by 10.27.215.137 with HTTP; Thu, 2 Apr 2015 03:19:36 -0700 (PDT) In-Reply-To: <20150402095135.56404.qmail@mail.muc.de> References: <20150402095135.56404.qmail@mail.muc.de> Date: Thu, 2 Apr 2015 12:19:36 +0200 Message-ID: From: Oleh Krehel Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi, Alan. On Thu, Apr 2, 2015 at 11:51 AM, Alan Mackenzie wrote: > Hello, Oleh. > > In article you wrote: > >> The font-locking of at least C++ headers was broken in "d69e9f1". >> Here's a screenshot: http://i.imgur.com/eT6X3hP.png. You can see three >> artifacts there. They change number and location when I scroll. > > This was fixed very recently in the master branch. Would you please try > the same file in master to confirm that the fix is a fix. I just tried "23bb07e", the latest commit on master, but this issue isn't fixed. The include statements look the same as in the screenshot. Oleh From unknown Sat Aug 16 13:51:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20245: 24.5; c++-mode font-lock broken by the last commit to emacs24 branch References: <874mozauip.fsf@gmail.com> Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 02 Apr 2015 12:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20245 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: To: Oleh Krehel Cc: 20245@debbugs.gnu.org Received: via spool by 20245-submit@debbugs.gnu.org id=B20245.142797893010173 (code B ref 20245); Thu, 02 Apr 2015 12:49:02 +0000 Received: (at 20245) by debbugs.gnu.org; 2 Apr 2015 12:48:50 +0000 Received: from localhost ([127.0.0.1]:43178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdeYD-0002e0-Pk for submit@debbugs.gnu.org; Thu, 02 Apr 2015 08:48:50 -0400 Received: from colin.muc.de ([193.149.48.1]:13732 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdeYB-0002dr-NH for 20245@debbugs.gnu.org; Thu, 02 Apr 2015 08:48:48 -0400 Received: (qmail 96755 invoked by uid 3782); 2 Apr 2015 12:48:46 -0000 Date: 2 Apr 2015 12:48:46 -0000 Message-ID: <20150402124846.96754.qmail@mail.muc.de> From: Alan Mackenzie Organization: muc.de e.V. In-Reply-To: X-Newsgroups: gnu.emacs.bug User-Agent: tin/2.2.0-20131224 ("Lochindaal") (UNIX) (FreeBSD/10.1-RELEASE (amd64)) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, Oleh. In article you wrote: > Hi, Alan. > On Thu, Apr 2, 2015 at 11:51 AM, Alan Mackenzie wrote: >> In article you wrote: >>> The font-locking of at least C++ headers was broken in "d69e9f1". >>> Here's a screenshot: http://i.imgur.com/eT6X3hP.png. You can see three >>> artifacts there. They change number and location when I scroll. >> This was fixed very recently in the master branch. Would you please try >> the same file in master to confirm that the fix is a fix. > I just tried "23bb07e", the latest commit on master, but this issue isn't fixed. > The include statements look the same as in the screenshot. That's a pity. It looks like there's a separate problem with the "fix" from February. Is there any chance you could send me a copy of the file which triggers the bug, a description of exactly what you do to see it, and (unless you start from emacs -Q) a copy of your CC Mode configuration (generated by C-c C-b)? Thanks! > Oleh -- Alan Mackenzie (Nuremberg, Germany). From unknown Sat Aug 16 13:51:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20245: 24.5; c++-mode font-lock broken by the last commit to emacs24 branch Resent-From: Oleh Krehel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 02 Apr 2015 13:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20245 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: To: Alan Mackenzie Cc: 20245@debbugs.gnu.org Received: via spool by 20245-submit@debbugs.gnu.org id=B20245.142798026512133 (code B ref 20245); Thu, 02 Apr 2015 13:12:02 +0000 Received: (at 20245) by debbugs.gnu.org; 2 Apr 2015 13:11:05 +0000 Received: from localhost ([127.0.0.1]:43187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ydetk-00039c-RF for submit@debbugs.gnu.org; Thu, 02 Apr 2015 09:11:05 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:35519) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ydeti-000399-UX for 20245@debbugs.gnu.org; Thu, 02 Apr 2015 09:11:03 -0400 Received: by widdi4 with SMTP id di4so78244853wid.0 for <20245@debbugs.gnu.org>; Thu, 02 Apr 2015 06:10:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TROC8Mp1/8UCUhA/MSaHz9jnQXUA5NzLSZrP5wG3890=; b=wX44Tdx3YL/bsxZQMDDGXXXdcoQei4/0yjw5+5TXr0+koKAy6R2+2FwQu4lCWpMSDO mkImzs8mbwroZ/XxF47uNXMyqIBl5UfQYCi3RS18SF6qsChVN0FZK/1XK5+FQNwBViAd 7X5W5Uknbh6u73owF8gX2AHkSilEMfo89qKxK5wduDyxdoV/fV/J+1PsBOkH139xYhjc oR+nJ3JZAxO0QPFug2Oeo6DI3ZVaIqD2zIy7nBO/vK2lKUZr2zRsaCsmdvoBkUoSAE1Q 4a9FT/e9putPzWGUrjkoHi/altUwQyI/Tm/xEG2ODmSWRUtDIcG7/9VLcgiE+XM3Imop oF3w== MIME-Version: 1.0 X-Received: by 10.180.198.13 with SMTP id iy13mr24212037wic.7.1427980257172; Thu, 02 Apr 2015 06:10:57 -0700 (PDT) Received: by 10.27.215.137 with HTTP; Thu, 2 Apr 2015 06:10:57 -0700 (PDT) In-Reply-To: <20150402124846.96754.qmail@mail.muc.de> References: <20150402124846.96754.qmail@mail.muc.de> Date: Thu, 2 Apr 2015 15:10:57 +0200 Message-ID: From: Oleh Krehel Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi Alan, On Thu, Apr 2, 2015 at 2:48 PM, Alan Mackenzie wrote: >> I just tried "23bb07e", the latest commit on master, but this issue isn't fixed. >> The include statements look the same as in the screenshot. > > That's a pity. It looks like there's a separate problem with the "fix" > from February. > > Is there any chance you could send me a copy of the file which triggers > the bug, a description of exactly what you do to see it, and (unless you > start from emacs -Q) a copy of your CC Mode configuration (generated by > C-c C-b)? The bug is reproducible with emacs -Q. You can get an example file at: https://github.com/dune-project/dune-pdelab-howto/blob/master/src/navier-stokes/cgstokes_instat.cc To trigger the bug, just M->, and then scroll up with the mouse to the start of the file where the headers are. Random headers will be partially highlighted with 'default instead of 'font-lock-string-face. Oleh From unknown Sat Aug 16 13:51:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20245: 24.5; c++-mode font-lock broken by the last commit to emacs24 branch Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 02 Apr 2015 13:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20245 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: To: Oleh Krehel Cc: 20245@debbugs.gnu.org Received: via spool by 20245-submit@debbugs.gnu.org id=B20245.142798158714165 (code B ref 20245); Thu, 02 Apr 2015 13:34:03 +0000 Received: (at 20245) by debbugs.gnu.org; 2 Apr 2015 13:33:07 +0000 Received: from localhost ([127.0.0.1]:43193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdfF4-0003gN-1o for submit@debbugs.gnu.org; Thu, 02 Apr 2015 09:33:06 -0400 Received: from colin.muc.de ([193.149.48.1]:58095 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdfEu-0003fs-SW for 20245@debbugs.gnu.org; Thu, 02 Apr 2015 09:32:58 -0400 Received: (qmail 6302 invoked by uid 3782); 2 Apr 2015 13:32:55 -0000 Received: from acm.muc.de (pD951899C.dip0.t-ipconnect.de [217.81.137.156]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 02 Apr 2015 15:32:54 +0200 Received: (qmail 708 invoked by uid 1000); 2 Apr 2015 13:32:45 -0000 Date: Thu, 2 Apr 2015 13:32:45 +0000 Message-ID: <20150402133245.GA23848@acm.fritz.box> References: <20150402124846.96754.qmail@mail.muc.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, Oleh. On Thu, Apr 02, 2015 at 03:10:57PM +0200, Oleh Krehel wrote: > The bug is reproducible with emacs -Q. You can get an example file at: > https://github.com/dune-project/dune-pdelab-howto/blob/master/src/navier-stokes/cgstokes_instat.cc > To trigger the bug, just M->, and then scroll up with the mouse to the > start of the file where the headers are. Random headers will be > partially highlighted with 'default instead of 'font-lock-string-face. Thanks. I've got that file, and I do indeed see the bug in it. > Oleh -- Alan Mackenzie (Nuremberg, Germany). From unknown Sat Aug 16 13:51:30 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Oleh Krehel Subject: bug#20245: closed (Re: bug#20245: 24.5; c++-mode font-lock broken by the last commit to emacs24 branch) Message-ID: References: <20150403124653.GE2867@acm.fritz.box> <874mozauip.fsf@gmail.com> X-Gnu-PR-Message: they-closed 20245 X-Gnu-PR-Package: emacs,cc-mode Reply-To: 20245@debbugs.gnu.org Date: Fri, 03 Apr 2015 12:48:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1428065282-1851-1" This is a multi-part message in MIME format... ------------=_1428065282-1851-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #20245: 24.5; c++-mode font-lock broken by the last commit to emacs24 branch which was filed against the emacs,cc-mode package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 20245@debbugs.gnu.org. --=20 20245: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20245 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1428065282-1851-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 20245-done) by debbugs.gnu.org; 3 Apr 2015 12:47:08 +0000 Received: from localhost ([127.0.0.1]:43790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ye107-0000SY-IH for submit@debbugs.gnu.org; Fri, 03 Apr 2015 08:47:07 -0400 Received: from colin.muc.de ([193.149.48.1]:14580 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ye103-0000SO-Mt for 20245-done@debbugs.gnu.org; Fri, 03 Apr 2015 08:47:04 -0400 Received: (qmail 32178 invoked by uid 3782); 3 Apr 2015 12:47:02 -0000 Received: from acm.muc.de (pD951A882.dip0.t-ipconnect.de [217.81.168.130]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 03 Apr 2015 14:47:01 +0200 Received: (qmail 3912 invoked by uid 1000); 3 Apr 2015 12:46:53 -0000 Date: Fri, 3 Apr 2015 12:46:53 +0000 To: Oleh Krehel Subject: Re: bug#20245: 24.5; c++-mode font-lock broken by the last commit to emacs24 branch Message-ID: <20150403124653.GE2867@acm.fritz.box> References: <20150402095135.56404.qmail@mail.muc.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20245-done Cc: 20245-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, Oleh. On Thu, Apr 02, 2015 at 12:19:36PM +0200, Oleh Krehel wrote: > On Thu, Apr 2, 2015 at 11:51 AM, Alan Mackenzie wrote: > > In article you wrote: > >> The font-locking of at least C++ headers was broken in "d69e9f1". > >> Here's a screenshot: http://i.imgur.com/eT6X3hP.png. You can see three > >> artifacts there. They change number and location when I scroll. > > This was fixed very recently in the master branch. Would you please try > > the same file in master to confirm that the fix is a fix. > I just tried "23bb07e", the latest commit on master, but this issue isn't fixed. > The include statements look the same as in the screenshot. I've looked at this problem and now understand its cause. It's too involved to fix for Emacs 24.5, so we've decided to revert that commit, as you've suggested. A proper fix will surely be included in Emacs 25.1 (or 24.6, whichever comes first). Thanks for taking the trouble to report this bug. I'm closing it now. > Oleh -- Alan Mackenzie (Nuremberg, Germany). ------------=_1428065282-1851-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Apr 2015 07:01:22 +0000 Received: from localhost ([127.0.0.1]:42795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdZ7y-00015F-5y for submit@debbugs.gnu.org; Thu, 02 Apr 2015 03:01:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57520) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdZ7w-00014x-N1 for submit@debbugs.gnu.org; Thu, 02 Apr 2015 03:01:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdZ7n-0000yz-IL for submit@debbugs.gnu.org; Thu, 02 Apr 2015 03:01:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdZ7n-0000yv-FJ for submit@debbugs.gnu.org; Thu, 02 Apr 2015 03:01:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdZ7i-000173-Sm for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 03:01:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdZ7d-0000yG-C1 for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 03:01:06 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:38158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdZ7d-0000yC-5c for bug-gnu-emacs@gnu.org; Thu, 02 Apr 2015 03:01:01 -0400 Received: by wibgn9 with SMTP id gn9so93877327wib.1 for ; Thu, 02 Apr 2015 00:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type; bh=fghlk/y554/UXAH75ocNb5Gv70LP6vyNE2rA6sD9fG0=; b=hXhgy3/Dh6LMz5AsPNr1UM2R5twSCLkaaqhdEmIoOJ1P5rNDMMe34Y0wCVPpnn+Lbw jSerKtaAJ4HqIp+qM7IrL9T5nL8ba8RjVV4nP20WEBxrooPluKQEx/72/ryC8wUirLAH Q54FYiy6FrKQj1loAP3Cn792CQIDwPOAFVwVEyh8yUxAxGY7kQu09nkAkb7iTCOJ/hSo 3kx/Y7KoCykF9tOQv6qNv7eaIjaHiaG3DKof2JUi+7V6Ttl+kO+J/yzTh9n6SPq6okuy 4HDPjPAsvvBAxrBu4RdfIRKerrTcNHr0R/2t6KePds+axeHF/2m8YFlkuqFi0rpPWKOc mIow== X-Received: by 10.194.222.197 with SMTP id qo5mr89695411wjc.142.1427958060501; Thu, 02 Apr 2015 00:01:00 -0700 (PDT) Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id fm10sm6347528wib.7.2015.04.02.00.00.59 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 02 Apr 2015 00:00:59 -0700 (PDT) From: Oleh Krehel To: bug-gnu-emacs@gnu.org Subject: 24.5; c++-mode font-lock broken by the last commit to emacs24 branch Date: Thu, 02 Apr 2015 08:55:58 +0200 Message-ID: <874mozauip.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hello, The font-locking of at least C++ headers was broken in "d69e9f1". Here's a screenshot: http://i.imgur.com/eT6X3hP.png. You can see three artifacts there. They change number and location when I scroll. It goes back to a good state if I revert the commit and re-compile. I hope this gets fixed by 24.5 release, even by just reverting "d69e9f1", since this one is a bigger bug than http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19669, which "d69e9f1" fixes. Oleh ------------=_1428065282-1851-1-- From unknown Sat Aug 16 13:51:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20245: 24.5; c++-mode font-lock broken by the last commit to emacs24 branch Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Mon, 06 Apr 2015 22:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20245 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: To: 20245@debbugs.gnu.org, ohwoeowho@gmail.com Received: via spool by 20245-submit@debbugs.gnu.org id=B20245.142836001412480 (code B ref 20245); Mon, 06 Apr 2015 22:41:02 +0000 Received: (at 20245) by debbugs.gnu.org; 6 Apr 2015 22:40:14 +0000 Received: from localhost ([127.0.0.1]:46640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YfFgk-0003FE-DZ for submit@debbugs.gnu.org; Mon, 06 Apr 2015 18:40:14 -0400 Received: from colin.muc.de ([193.149.48.1]:30767 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YfFgi-0003F5-88 for 20245@debbugs.gnu.org; Mon, 06 Apr 2015 18:40:13 -0400 Received: (qmail 3330 invoked by uid 3782); 6 Apr 2015 22:40:11 -0000 Received: from acm.muc.de (pD951ADD4.dip0.t-ipconnect.de [217.81.173.212]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 07 Apr 2015 00:40:10 +0200 Received: (qmail 6279 invoked by uid 1000); 6 Apr 2015 22:40:04 -0000 Date: Mon, 6 Apr 2015 22:40:04 +0000 Message-ID: <20150406224004.GC3266@acm.fritz.box> References: <20150402095135.56404.qmail@mail.muc.de> <20150403124653.GE2867@acm.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150403124653.GE2867@acm.fritz.box> User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, Oleh. On Fri, Apr 03, 2015 at 12:46:53PM +0000, Alan Mackenzie wrote: > On Thu, Apr 02, 2015 at 12:19:36PM +0200, Oleh Krehel wrote: > > On Thu, Apr 2, 2015 at 11:51 AM, Alan Mackenzie wrote: > > > In article you wrote: > > I just tried "23bb07e", the latest commit on master, but this issue isn't fixed. > > The include statements look the same as in the screenshot. > I've looked at this problem and now understand its cause. It's too > involved to fix for Emacs 24.5, so we've decided to revert that commit, > as you've suggested. A proper fix will surely be included in Emacs 25.1 > (or 24.6, whichever comes first). I've now committed a (hopefully) proper fix for this into the master branch at savannah. Feel free to download this and check that it does indeed work properly. If not ... > > Oleh -- Alan Mackenzie (Nuremberg, Germany). From unknown Sat Aug 16 13:51:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20245: 24.5; c++-mode font-lock broken by the last commit to emacs24 branch Resent-From: Oleh Krehel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Tue, 07 Apr 2015 12:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20245 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: To: Alan Mackenzie Cc: 20245@debbugs.gnu.org Received: via spool by 20245-submit@debbugs.gnu.org id=B20245.142840935732201 (code B ref 20245); Tue, 07 Apr 2015 12:23:01 +0000 Received: (at 20245) by debbugs.gnu.org; 7 Apr 2015 12:22:37 +0000 Received: from localhost ([127.0.0.1]:47111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YfSWb-0008NJ-E1 for submit@debbugs.gnu.org; Tue, 07 Apr 2015 08:22:37 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:33166) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YfSWY-0008N5-Ph for 20245@debbugs.gnu.org; Tue, 07 Apr 2015 08:22:35 -0400 Received: by wgin8 with SMTP id n8so54110449wgi.0 for <20245@debbugs.gnu.org>; Tue, 07 Apr 2015 05:22:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=XWT8OGKLfFZPFX0SX18iPZ0yyAN51gpPpZNBLYiIxUk=; b=xZzTMHFZBkavIthHGMcVnjtLroEUtaYju2Hiyp8SG3gYKOcE2WbriOFIHi+zoZRP/D bZa0sk3U5nVs8H/Qa1tPCyS/bVUz6E1+4iZvh5v1iwvYZ0AoFvYjqE4ji5NS0W/3fOzq RZBoadN6fwHla+15gyyRjizIIfnRJXIP+6zBd2cYFH/RsgpgSYhRq+KAs5UfrLoIwCip TsiEsVxzNHm/qwXAphTJq3LtHdJxEtV7fatUjJhXoXPruFtOib/jqFcCFfPbdGPG4+ro nUqAuKDwfvJ/UBfPPoMfiF3HnQrvMDMZdn2Ruxu8g/jyFrM6x0Lzl2ubp/y6RRWohlRJ p3Bw== X-Received: by 10.181.12.14 with SMTP id em14mr4245907wid.55.1428409349295; Tue, 07 Apr 2015 05:22:29 -0700 (PDT) Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id hn8sm10783794wib.18.2015.04.07.05.22.28 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 07 Apr 2015 05:22:28 -0700 (PDT) From: Oleh Krehel References: <20150402095135.56404.qmail@mail.muc.de> <20150403124653.GE2867@acm.fritz.box> <20150406224004.GC3266@acm.fritz.box> Date: Tue, 07 Apr 2015 14:17:18 +0200 In-Reply-To: <20150406224004.GC3266@acm.fritz.box> (Alan Mackenzie's message of "Mon, 6 Apr 2015 22:40:04 +0000") Message-ID: <87wq1oqgj5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Alan Mackenzie writes: Hi Alan, > On Fri, Apr 03, 2015 at 12:46:53PM +0000, Alan Mackenzie wrote: > > I've now committed a (hopefully) proper fix for this into the master > branch at savannah. Feel free to download this and check that it does > indeed work properly. If not ... It works great. Thanks a lot. regards, Oleh