unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47903: perl mode fooled by initial '=cut'
@ 2021-04-20  0:01 積丹尼 Dan Jacobson
  2022-06-29 11:15 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-04-20  0:01 UTC (permalink / raw)
  To: 47903

Perl mode colors this as if it will be executed.

=cut
die 'HA!';

cperl mode is more sophisticated.





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

* bug#47903: perl mode fooled by initial '=cut'
  2021-04-20  0:01 bug#47903: perl mode fooled by initial '=cut' 積丹尼 Dan Jacobson
@ 2022-06-29 11:15 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-29 11:15 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 47903

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> Perl mode colors this as if it will be executed.
>
> =cut
> die 'HA!';

I can reproduce this in Emacs 29, too.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2022-06-29 11:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20  0:01 bug#47903: perl mode fooled by initial '=cut' 積丹尼 Dan Jacobson
2022-06-29 11:15 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).