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>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#1385: marked as done (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)]
Your message dated Fri, 09 Apr 2010 22:15:39 -0400
with message-id <ir5mot5mc.fsf <at> fencepost.gnu.org>
and subject line Re: bug#1385: font-lock-match-c-style-declaration-item-and-skip-to-next
has caused the GNU bug report #1385,
regarding font-lock-match-c-style-declaration-item-and-skip-to-next
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


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


[Message part 3 (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.


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.