From unknown Sat Aug 09 09:34:28 2025 X-Loop: don@donarmstrong.com Subject: bug#1385: font-lock-match-c-style-declaration-item-and-skip-to-next Reply-To: Glenn Morris , 1385-quiet@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: Resent-Date: Thu, 20 Nov 2008 00:40:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1385 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by quiet@emacsbugs.donarmstrong.com id=Q.122714108811132 (code Q ref -1); Thu, 20 Nov 2008 00:40:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-9.4 required=4.0 tests=AWL,BAYES_00,ONEWORD, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at quiet) by emacsbugs.donarmstrong.com; 20 Nov 2008 00:31:28 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAK0VPDR011126 for ; Wed, 19 Nov 2008 16:31:26 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L2xRz-0002t9-Py for quiet@emacsbugs.donarmstrong.com; Wed, 19 Nov 2008 19:31:15 -0500 From: Glenn Morris To: quiet@debbugs.gnu.org Date: Tue, 06 May 2008 23:02:41 -0400 Lines: 26 X-From-Line: emacs-devel-bounces+rgm=gnu.org@gnu.org Tue May 6 23:03:19 2008 Received: from mx10.gnu.org ([199.232.76.166]:50955) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JtZw7-0001g7-6A for rgm@gnu.org; Tue, 06 May 2008 23:03:19 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JtZwf-0005uG-Vn for rgm@gnu.org; Tue, 06 May 2008 23:03:56 -0400 Received: from lists.gnu.org ([199.232.76.165]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JtZwf-0005u2-K4 for rgm@gnu.org; Tue, 06 May 2008 23:03:53 -0400 Received: from localhost ([127.0.0.1]:41324 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtZwf-0006K5-Mn for rgm@gnu.org; Tue, 06 May 2008 23:03:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JtZwC-0006IK-T8 for emacs-devel@gnu.org; Tue, 06 May 2008 23:03:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JtZwA-0006I8-I9 for emacs-devel@gnu.org; Tue, 06 May 2008 23:03:23 -0400 Received: from [199.232.76.173] (port=60552 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtZwA-0006I5-DH for emacs-devel@gnu.org; Tue, 06 May 2008 23:03:22 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JtZw9-0005oN-UJ for emacs-devel@gnu.org; Tue, 06 May 2008 23:03:22 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JtZvV-0001f3-My; Tue, 06 May 2008 23:02:41 -0400 X-Spook: Becker Albanian brigand data haven UFO Reno Sundevil USCOI X-Ran: %+4&_lyo$u,{ZIVc1-{fVUNEc7i_#x%5KYT%t[~u;SAJ<}!UTrP4Qin4l0yR{WcI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+rgm=gnu.org@gnu.org X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Message-ID: <7wprkrdyr0.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii [ resent from http://lists.gnu.org/archive/html/emacs-devel/2008-05/msg00383.html ] This change: 2008-02-01 Kenichi Handa * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next): Check (match-end 2) before going there. causes some font-locking in Fortran mode to stop working (for reasons I haven't really looked into). emacs -Q M-x fortran-mode TAB integer foo RET TAB integer bar, foo RET "foo" should be highlighted as a variable, but is not. "bar" is. Your change makes font-lock-match-c-style-declaration-item-and-skip-to-next return nil if (match-end 2) is nil. Previously, it returned t. I don't know if I should change fortran.el, or if very-long-and-literal-function-name should return t again. From unknown Sat Aug 09 09:34:28 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Glenn Morris Subject: bug#1385 closed by Glenn Morris (Re: bug#1385: font-lock-match-c-style-declaration-item-and-skip-to-next) Message-ID: References: <7wprkrdyr0.fsf@fencepost.gnu.org> X-Gnu-PR-Message: they-closed 1385 X-Gnu-PR-Package: emacs Reply-To: 1385@debbugs.gnu.org Date: Sat, 10 Apr 2010 02:16:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1270865762-16074-1" This is a multi-part message in MIME format... ------------=_1270865762-16074-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #1385: font-lock-match-c-style-declaration-item-and-skip-to-next It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 1385: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1385 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1270865762-16074-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1385-done) by debbugs.gnu.org; 10 Apr 2010 02:15:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0QEb-0004B5-S0 for submit@debbugs.gnu.org; Fri, 09 Apr 2010 22:15:46 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0QEZ-0004Az-6v for 1385-done@debbugs.gnu.org; Fri, 09 Apr 2010 22:15:43 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O0QEV-0001aT-Dj; Fri, 09 Apr 2010 22:15:39 -0400 To: 1385-done@debbugs.gnu.org Subject: Re: bug#1385: font-lock-match-c-style-declaration-item-and-skip-to-next From: Glenn Morris X-Spook: class struggle sniper MDA NATO quiche Albania passwd Abu X-Ran: }9y5=A,gYDhl=7PzE}'Gt9}tGx*;&`0%or6:$-SY;+:kwt(\|nj?[oM*{.ZUEZDEfT=A?( X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 09 Apr 2010 22:15:39 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: 1385-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) Never got an answer to this, so I've simply installed a copy of the old version of this function in fortran.el. ------------=_1270865762-16074-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From rgm@gnu.org Wed Nov 19 16:31:28 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-9.4 required=4.0 tests=AWL,BAYES_00,ONEWORD, RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at quiet) by emacsbugs.donarmstrong.com; 20 Nov 2008 00:31:28 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAK0VPDR011126 for ; Wed, 19 Nov 2008 16:31:26 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L2xRz-0002t9-Py for quiet@emacsbugs.donarmstrong.com; Wed, 19 Nov 2008 19:31:15 -0500 From: Glenn Morris To: quiet@debbugs.gnu.org Subject: font-lock-match-c-style-declaration-item-and-skip-to-next Date: Tue, 06 May 2008 23:02:41 -0400 Lines: 26 X-From-Line: emacs-devel-bounces+rgm=gnu.org@gnu.org Tue May 6 23:03:19 2008 Received: from mx10.gnu.org ([199.232.76.166]:50955) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JtZw7-0001g7-6A for rgm@gnu.org; Tue, 06 May 2008 23:03:19 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JtZwf-0005uG-Vn for rgm@gnu.org; Tue, 06 May 2008 23:03:56 -0400 Received: from lists.gnu.org ([199.232.76.165]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JtZwf-0005u2-K4 for rgm@gnu.org; Tue, 06 May 2008 23:03:53 -0400 Received: from localhost ([127.0.0.1]:41324 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtZwf-0006K5-Mn for rgm@gnu.org; Tue, 06 May 2008 23:03:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JtZwC-0006IK-T8 for emacs-devel@gnu.org; Tue, 06 May 2008 23:03:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JtZwA-0006I8-I9 for emacs-devel@gnu.org; Tue, 06 May 2008 23:03:23 -0400 Received: from [199.232.76.173] (port=60552 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtZwA-0006I5-DH for emacs-devel@gnu.org; Tue, 06 May 2008 23:03:22 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JtZw9-0005oN-UJ for emacs-devel@gnu.org; Tue, 06 May 2008 23:03:22 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JtZvV-0001f3-My; Tue, 06 May 2008 23:02:41 -0400 X-Spook: Becker Albanian brigand data haven UFO Reno Sundevil USCOI X-Ran: %+4&_lyo$u,{ZIVc1-{fVUNEc7i_#x%5KYT%t[~u;SAJ<}!UTrP4Qin4l0yR{WcI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+rgm=gnu.org@gnu.org X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Debbugs-No-Ack: yes Message-ID: <7wprkrdyr0.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii [ resent from http://lists.gnu.org/archive/html/emacs-devel/2008-05/msg00383.html ] This change: 2008-02-01 Kenichi Handa * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next): Check (match-end 2) before going there. causes some font-locking in Fortran mode to stop working (for reasons I haven't really looked into). emacs -Q M-x fortran-mode TAB integer foo RET TAB integer bar, foo RET "foo" should be highlighted as a variable, but is not. "bar" is. Your change makes font-lock-match-c-style-declaration-item-and-skip-to-next return nil if (match-end 2) is nil. Previously, it returned t. I don't know if I should change fortran.el, or if very-long-and-literal-function-name should return t again. ------------=_1270865762-16074-1--