emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please do not deprecate perl-mode in favour of cperl-mode


From: Paul W. Rankin
Subject: Re: Please do not deprecate perl-mode in favour of cperl-mode
Date: Fri, 29 Dec 2023 13:48:46 +1000
User-agent: Purely Mail via Roundcube/1.6.5

Very sorry I seem to have lost track of the thread and some issues I raised you've already addressed here.

On 2023-12-03 20:10, Harald Jörg wrote:
A better description would be: deprecate perl-mode.el in favour of
cperl-mode.el. It is not intended to make M-x perl-mode go away, but to
implement its look and feel with cperl-mode.el.

The main motivation for this that maintaining two modes to keep up with
changes in Perl syntax is not very efficient.

Awesome.

This is exactly why comments like yours are welcome: I want to know
which of the differences are annoying for users of Perl mode.

In particular:

 - Code indentation: Both Perl mode and CPerl mode offer several user
   options to affect indentation (too many of them in CPerl mode IMHO).
   I am confident that it is possible to mimick Perl mode's default
   indentation by options.  Concrete examples are very welcome (like
those you provided with your next reply). They will make it into the
   test suite.

 - TAB for indenting region: That's also something that should be
   doable.  CPerl mode's behaviour for indent-region is indeed very
   idiosyncratic (and underdocumented).

 - use of specific faces: This will be fixed in CPerl mode anyway,
   independent of the deprecation.  This doesn't mean that the rich
   coloration which some people like will go away, but that all faces
   will default to font-lock-* faces if cperl-mode.el starts in Perl
   mode style.

Sounds wonderful :) I can't wait to discover the additions of CPerl Mode.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]