unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* One more cperl v4.23 glitch
@ 2002-10-30 16:48 Da Witch
  2002-10-30 22:50 ` Ilya Zakharevich
  0 siblings, 1 reply; 4+ messages in thread
From: Da Witch @ 2002-10-30 16:48 UTC (permalink / raw)




I just switched from v4.21 to v4.23 of cperl-mode (and to jit-lock for
font-lock support), and I've run into a new glitch: if a scalar
variable's name includes an underscore followed by a "Perl-language
word" (eg. "time" in $last_time, "scalar" in $triple_scalar_product,
"my" in $oh_my, "ref" in $hard_ref), then the "keyword part" of the
name gets the shading it would have had if it really were a
Perl-language word, the rest appears in the default text face.  This
happens even when the whole name should be shaded with
font-lock-variable-name-face (e.g. after "my").

Is there any way around this problem?

Thanks,

hk

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-31  0:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-30 16:48 One more cperl v4.23 glitch Da Witch
2002-10-30 22:50 ` Ilya Zakharevich
2002-10-30 23:10   ` Da Witch
2002-10-31  0:05     ` Stefan Monnier <foo@acm.com>

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).