* bogus perl fontification with jit-lock
@ 2005-04-09 10:33 Jindrich Makovicka
0 siblings, 0 replies; only message in thread
From: Jindrich Makovicka @ 2005-04-09 10:33 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 549 bytes --]
Hello,
when using jit-lock with current CVS, Emacs displays some parts of Perl
programs in wrong colors - it probably assumes they are string literals.
An example is the attached module, where Emacs mis-colors the portion
after the line
croak "cannot find method $name";
After removing the "\:" in the regular expression few lines above
($name =~ s/.*\://;), the code displays correctly, so I would guess
there is some bug in parsing of the regular expressions.
PS: Please do not judge the quality of my code :)
Regards,
--
Jindrich Makovicka
[-- Attachment #2: FTP.pm --]
[-- Type: application/x-perl, Size: 45467 bytes --]
[-- Attachment #3: Type: text/plain, Size: 149 bytes --]
_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-09 10:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-09 10:33 bogus perl fontification with jit-lock Jindrich Makovicka
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.