GNU bug report logs -
#1385
font-lock-match-c-style-declaration-item-and-skip-to-next
Previous Next
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
[ 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.