From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.devel Subject: Re: Does Emacs need two Perl modes? Date: Mon, 19 Jun 2023 08:01:59 -0500 Message-ID: References: <16da6ae7-66d8-fc43-cb84-6d104d3a2ef8@mavit.org.uk> <4d18a051-07d5-fba7-1c36-ae2eb72bf71c@vodafonemail.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3605"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Peter Oliver , emacs-devel@gnu.org To: Jens Schmidt Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 19 15:03:13 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBEXI-0000ie-SL for ged-emacs-devel@m.gmane-mx.org; Mon, 19 Jun 2023 15:03:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBEWS-0000Nz-7j; Mon, 19 Jun 2023 09:02:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qBEWL-0000NE-ME for emacs-devel@gnu.org; Mon, 19 Jun 2023 09:02:15 -0400 Original-Received: from mail-ot1-f48.google.com ([209.85.210.48]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBEWJ-0000Ig-Uw for emacs-devel@gnu.org; Mon, 19 Jun 2023 09:02:13 -0400 Original-Received: by mail-ot1-f48.google.com with SMTP id 46e09a7af769-6b2afc1ec49so2325259a34.0 for ; Mon, 19 Jun 2023 06:02:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687179730; x=1689771730; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nTNZM8CEGJ252F7dBkIch0Nj4N4O5dxwX2Qnih4lGZI=; b=cb7w4YeN7F5nzkg9IyFW0A21E6PPTt74K+kUGq9yMbNbEkq5E4is9nC839fP5M9uqy YLOrRDhiAV/g2GDHPxRWBNNMidzFTAoQCzo6fPhEOoPUw3vfdYnZUQgeFt8tg3pQvGii ksgvi57CheMY9N6hmsYUv3pn9gvwIe+2+Uv933qwglFZwNZJOtrJ4l5U9ngactHbzPOK hL+cQLXq6InDdFk4mR33ITHbR8N596rsjPCAGiq0pcO8Vzk3xaVcPEM9XaFhdKVpqCuw s4SoAHyKmN/TNuUm9hinAisTgLcasmu0lIRYmNqxftJhyci4iIgMh3tJG5WpFBfAnx1g SLMQ== X-Gm-Message-State: AC+VfDy7MDjLAfmlpVhUNLkLW6zUPQiFLiIF0tONV9RcEUn7M0DhARqN 54u8StCW5jf8Bg+dIe9dpfV8ibdcPGCo3bihEeK2AkeQiaQ= X-Google-Smtp-Source: ACHHUZ4pPRtjeyRYMVa5krvSubqJLVUw79uAVmPwsB/pDCoX4nR5wR7Z6An6AFWooMO2QQLozO6EaftwzSWfOkk7RaU= X-Received: by 2002:a05:6830:1da4:b0:6af:a332:4c23 with SMTP id z4-20020a0568301da400b006afa3324c23mr3772232oti.14.1687179730157; Mon, 19 Jun 2023 06:02:10 -0700 (PDT) In-Reply-To: <4d18a051-07d5-fba7-1c36-ae2eb72bf71c@vodafonemail.de> Received-SPF: pass client-ip=209.85.210.48; envelope-from=mplscorwin@gmail.com; helo=mail-ot1-f48.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:307044 Archived-At: On Sun, Jun 18, 2023 at 7:56=E2=80=AFAM Jens Schmidt 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.