GNU bug report logs - #1385
font-lock-match-c-style-declaration-item-and-skip-to-next

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Thu, 20 Nov 2008 00:40:03 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Subject: bug#1385 closed by Glenn Morris <rgm <at> gnu.org> (Re: bug#1385:
 font-lock-match-c-style-declaration-item-and-skip-to-next)
Date: Sat, 10 Apr 2010 02:16:02 +0000
[Message part 1 (text/plain, inline)]
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 <rgm <at> gnu.org>.

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 <rgm <at> gnu.org> by
replying to this email.


-- 
1385: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1385
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 1385-done <at> debbugs.gnu.org
Subject: Re: bug#1385:
	font-lock-match-c-style-declaration-item-and-skip-to-next
Date: Fri, 09 Apr 2010 22:15:39 -0400
Never got an answer to this, so I've simply installed a copy of the
old version of this function in fortran.el.

[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: quiet <at> debbugs.gnu.org
Subject: font-lock-match-c-style-declaration-item-and-skip-to-next
Date: Tue, 06 May 2008 23:02:41 -0400
[ resent from
  http://lists.gnu.org/archive/html/emacs-devel/2008-05/msg00383.html ]

This change:

  2008-02-01  Kenichi Handa  <handa <at> m17n.org>

    * 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.



This bug report was last modified 15 years and 97 days ago.

Previous Next


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