all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#997: perl mode blows "'" etc.
@ 2008-09-18 13:15 jidanni
  2020-02-29  2:58 ` Stefan Kangas
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: jidanni @ 2008-09-18 13:15 UTC (permalink / raw)
  To: bug-gnu-emacs

Perl mode screws up bad with this file. Cperl mode gets it better.
$ perl -c p.pl
p.pl syntax OK
$ cat p.pl
/this is a perl program to demonstrate emacs's wacky color biz/;
/this line is in the wrong color until here'/; #///
/\b.*\bpic(ture)?s\b/;
/this line is in the wrong color/;
#this comment turns back on emacs correct color: \b\b
/this line is in the right color/;
/but not this line until the end\/;/m;
$ emacs -Q p.pl
Anyway, one usually ends up having to stick in special comments with
some / ; ` ' etc. in them lest large tracts of code become the wrong
color. emacs-version "22.2.1"







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

end of thread, other threads:[~2022-09-19 18:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-18 13:15 bug#997: perl mode blows "'" etc jidanni
2020-02-29  2:58 ` Stefan Kangas
2020-02-29  3:12   ` 積丹尼 Dan Jacobson
2020-11-17 17:52 ` bug#997: perl-mode: Merging was not quite correct Harald Jörg
2020-11-19 16:07   ` Noam Postavsky
2020-11-19 17:07 ` bug#997: perl-mode: Un-merging an unrelated bug Harald Jörg
2022-09-19 16:03 ` bug#997: perl-mode: Incorrect syntax highlighting for regex at top-level Mauro Aranda
2022-09-19 18:37   ` Lars Ingebrigtsen

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.