GNU bug report logs - #66050
Making perl-mode.el obsolete

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Sun, 17 Sep 2023 12:49:02 UTC

Severity: wishlist

Full log


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

From: Harald Jörg <haj <at> posteo.de>
To: Mauro Aranda <maurooaranda <at> gmail.com>
Cc: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>, 66050 <at> debbugs.gnu.org,
 Stefan Monnier <monnier <at> iro.umontreal.ca>,
 Stefan Kangas <stefankangas <at> gmail.com>
Subject: Re: bug#66050: Making perl-mode.el obsolete
Date: Mon, 25 Sep 2023 10:34:11 +0000
Mauro Aranda <maurooaranda <at> gmail.com> writes:

> On 25/9/23 06:18, Harald Jörg wrote:
>> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>>>> The substitution part can be actual Perl code, and cperl-mode will
>>>> fontify it as Perl code.
>>>
>>> IIRC `perl-mode` also tries to fontify the replacement part as Perl code
>>> (when it does contain Perl code). ...
>>
>> Oh - I couldn't see it with my example.  Perhaps I miss a setting.
>
> Try it with: s{}{}e
> Doesn't work with: s///e

Oh, thanks for the hint!

So, cperl-mode should just keep that feature, even if perl-mode themed.

-- 
Cheers,
haj




This bug report was last modified 1 year and 264 days ago.

Previous Next


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