Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

fontification problem in CPerl mode

9 views
Skip to first unread message

Gerhard Petrowitsch

unread,
Oct 28, 2011, 3:33:28 AM10/28/11
to
I'm running version 21.4.22 on Windows.

When editing Perl scripts, fontification sometimes acts a bit
"overeagerly". For instance, if I type the character 'm', XEmacs
fontifies everything after this character, as if it was a regular
expression. The problem is, that not only the current line gets
fontified that way, but some or all lines below, too. While this might
be expected behaviour (as 'm' might in fact start a regular expression
matching in Perl), it is definitely a bug, that when I add more
characters after this 'm' (e.g. a 'y' to complete the keyword 'my')
the fontification is not turned back to normal. That's only done in
the current line.

Is there any variable that controls this behaviour? I didn't have this
problem in some earlier release of XEmacs.

HASM

unread,
Oct 28, 2011, 1:33:48 PM10/28/11
to
Gerhard Petrowitsch <gerha...@petrowitsch.de> writes:

> When editing Perl scripts, fontification sometimes acts a bit
> "overeagerly".

Lately when I start typing regexps in CPerl mode XEmacs goes crazy trying
to find the end of the regexp and issues lots of errors and warnings.
Quite annoying. I usually need to Control-G out of here and resize my
windows, as the minibuffer grows to very large number of rows.

-- HASM

0 new messages