GNU bug report logs - #47903
perl mode fooled by initial '=cut'

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Tue, 20 Apr 2021 01:14:01 UTC

Severity: minor

Tags: confirmed

To reply to this bug, email your comments to 47903 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#47903; Package emacs. (Tue, 20 Apr 2021 01:14:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 20 Apr 2021 01:14:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: perl mode fooled by initial '=cut'
Date: Tue, 20 Apr 2021 08:01:28 +0800
Perl mode colors this as if it will be executed.

=cut
die 'HA!';

cperl mode is more sophisticated.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47903; Package emacs. (Wed, 29 Jun 2022 11:16:02 GMT) Full text and rfc822 format available.

Message #8 received at 47903 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 47903 <at> debbugs.gnu.org
Subject: Re: bug#47903: perl mode fooled by initial '=cut'
Date: Wed, 29 Jun 2022 13:15:19 +0200
積丹尼 Dan Jacobson <jidanni <at> 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




Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 29 Jun 2022 11:16:02 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 350 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.