all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Corwin Brust <corwin@bru.st>
To: Jens Schmidt <jschmidt4gnu@vodafonemail.de>
Cc: Peter Oliver <p.d.oliver@mavit.org.uk>, emacs-devel@gnu.org
Subject: Re: Does Emacs need two Perl modes?
Date: Mon, 19 Jun 2023 08:01:59 -0500	[thread overview]
Message-ID: <CAJf-WoTP9br_ezSD3qZQkGJa_cNWJt=PqUHA8T-1QEdWsS_z9g@mail.gmail.com> (raw)
In-Reply-To: <4d18a051-07d5-fba7-1c36-ae2eb72bf71c@vodafonemail.de>

On Sun, Jun 18, 2023 at 7:56 AM Jens Schmidt
<jschmidt4gnu@vodafonemail.de> wrote:
>
> On 2023-06-18  12:14, Peter Oliver wrote:
>
> > Does it still make sense for Emacs to include two different Perl modes?
> > Is it time to make cperl-mode the default, and to deprecate perl-mode?

I was thinking about this just yesterday while whipping up this rather
naive patch for cperl (adding class/method/ADJUST and async/await):
https://bpa.st/VPAW4

I agree with Po - it's better not to spin wheels on this.   If someone
comes along with a consolidation patch that might be able to make both
perl-mode and cperl-mode users happy I'm sure lots of Perlers will
want to talk about how that would be for us -- in the meanwhile I
think there are both lower hanging and juicer fruits to stretch for.

[snip]
> Why not leave `perl-mode' in self-maintenance mode as long as users are
> happy with it?

+1

> I won't say "no" when we talk about giving `cperl-mode' preference in
> `auto-mode-alist', though.

Wow, that'd be *nice*.  Well before I'd learned any elisp at all I had
learned to type (defaias 'perl-mode 'cperl-mode) to make a fresh Emacs
ready to use :D  (I like cperl for the same reason you don't, lol)
While I'd be completely in favor of putting cperl-mode into
auto-mode-alist, I'm not sure it's TRT.  My sense has been that
perl-mode is wired up by default specifically because it's the less
frills choice, and thus more likely to perform well on older and
underpowered systems.



  reply	other threads:[~2023-06-19 13:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-18 10:14 Does Emacs need two Perl modes? Peter Oliver
2023-06-18 12:15 ` Po Lu
2023-06-18 12:56 ` Jens Schmidt
2023-06-19 13:01   ` Corwin Brust [this message]
2023-06-19 14:34     ` Enhancing cperl-mode (was: Re: Does Emacs need two Perl modes?) Harald Jörg
2023-06-19 14:58       ` Corwin Brust
2023-06-19 16:41         ` Enhancing cperl-mode Harald Jörg
2023-06-19 21:49           ` Corwin Brust
2023-06-20  2:57   ` Does Emacs need two Perl modes? Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJf-WoTP9br_ezSD3qZQkGJa_cNWJt=PqUHA8T-1QEdWsS_z9g@mail.gmail.com' \
    --to=corwin@bru.st \
    --cc=emacs-devel@gnu.org \
    --cc=jschmidt4gnu@vodafonemail.de \
    --cc=p.d.oliver@mavit.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.