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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1385 in the body.
You can then email your comments to 1385 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report stored:
bug#1385; Package emacs. Full text and rfc822 format available.

Message #3 received at quiet <at> emacsbugs.donarmstrong.com (full text, mbox):

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.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sat, 10 Apr 2010 02:16:02 GMT) Full text and rfc822 format available.

Notification sent to Glenn Morris <rgm <at> gnu.org>:
bug acknowledged by developer. (Sat, 10 Apr 2010 02:16:02 GMT) Full text and rfc822 format available.

Message #8 received at 1385-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 08 May 2010 11:24:03 GMT) Full text and rfc822 format available.

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

Previous Next


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