GNU bug report logs -
#4304
Font-lock in cperl-mode is broken
Previous Next
Reported by: Herbert Euler <herberteuler <at> hotmail.com>
Date: Tue, 1 Sep 2009 04:30:06 UTC
Severity: normal
Found in version 23.0.50
Done: Chong Yidong <cyd <at> stupidchicken.com>
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 4304 in the body.
You can then email your comments to 4304 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4304
; Package
emacs
.
(Tue, 01 Sep 2009 04:30:07 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Herbert Euler <herberteuler <at> hotmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 01 Sep 2009 04:30:07 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
Package: emacs
Version: 23.0.50
In the newest Emacs HEAD source, font-lock in cperl-mode is broken.
Here are the steps to reproduce the problem:
1. Start emacs:
$ emacs -Q
2. Visit an empty perl file and switch to cperl-mode:
C-x C-f x.pl
M-x cperl-mode
3. Type `print' (no any characters follow the character `t'):
print|
The vertical bar `|' here indicates the cursor. Now the word
`print' is highlighted with face `cperl-nonoverridable-face'.
4. Now that the cursor is after the character `t', type SPC to append
a whitespace character.
print |
This time, the word `print' gets unhighlighted. There is no
property `face' for that word now:
;; Point is in between `print'.
(text-properties-at (point))
==> (fontified t)
Appending more whitespace characters will not call the highlight
back. However, deleting all of the whitespace characters
highlights it again.
print | ;; Type DEL
print| ;; `print' gets highlighted again
And the face property is added back:
;; Point is in between `print'.
(text-properties-at (point))
==> (face cperl-nonoverridable-face font-lock-multiline t fontified t)
The same problem exists for larger Perl programs. This is only a
simple case.
Regards,
Guanpeng Xu
_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
[Message part 2 (text/html, inline)]
Reply sent
to
Chong Yidong <cyd <at> stupidchicken.com>
:
You have taken responsibility.
(Sun, 13 Sep 2009 17:15:05 GMT)
Full text and
rfc822 format available.
Notification sent
to
Herbert Euler <herberteuler <at> hotmail.com>
:
bug acknowledged by developer.
(Sun, 13 Sep 2009 17:15:05 GMT)
Full text and
rfc822 format available.
Message #10 received at 4304-done <at> emacsbugs.donarmstrong.com (full text, mbox):
> In the newest Emacs HEAD source, font-lock in cperl-mode is broken.
This was my mistake; I've checked in a fix. Thanks.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Mon, 12 Oct 2009 14:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 252 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.