From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#66050: Making perl-mode.el obsolete Date: Sun, 17 Sep 2023 05:47:49 -0700 Message-ID: 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="3883"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Harald =?UTF-8?Q?J=C3=B6rg?= , Stefan Monnier To: 66050@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 17 14:49:35 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qhrDS-0000l5-Lo for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Sep 2023 14:49:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhrCs-0002nE-0H; Sun, 17 Sep 2023 08:48:58 -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 1qhrCq-0002mw-NV for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2023 08:48:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qhrCq-0004EM-Eb for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2023 08:48:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qhrCw-0007cL-Ab; Sun, 17 Sep 2023 08:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: haj@posteo.de, monnier@iro.umontreal.ca, bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Sep 2023 12:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66050 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Harald =?UTF-8?Q?J=C3=B6rg?= , Stefan Monnier Original-Received: via spool by submit@debbugs.gnu.org id=B.169495489329071 (code B ref -1); Sun, 17 Sep 2023 12:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Sep 2023 12:48:13 +0000 Original-Received: from localhost ([127.0.0.1]:49342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhrC8-0007Yn-IM for submit@debbugs.gnu.org; Sun, 17 Sep 2023 08:48:12 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:41272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhrC3-0007Xi-Jf for submit@debbugs.gnu.org; Sun, 17 Sep 2023 08:48:11 -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 1qhrBq-0002aA-JP for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2023 08:47:54 -0400 Original-Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qhrBo-00041D-Sr for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2023 08:47:54 -0400 Original-Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2c00c0f11b2so1348691fa.1 for ; Sun, 17 Sep 2023 05:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694954870; x=1695559670; darn=gnu.org; h=content-transfer-encoding:to:subject:message-id:date:mime-version :from:from:to:cc:subject:date:message-id:reply-to; bh=XtGlEIbJuIuVfeolvIWzkWl7Yys5eA/zQYe9TI55EI4=; b=UJXaDEn3anqywF4LW1yNw/7IPrUlbiUzX0gPlH+CHmwRZPfcPyU2TmQnkyARauzPvB YAcW353AAZ0QBiR4LBduC0vPiOxAmeXap+ApSNfG9uDyP0UwvEil6X1FT+WHZKMbpptr anqv4CR2SCJsZbgYyXzkxB58tBHO82G+fZJWUVRrup3ZlcR59MFgcaaWhNJqQ9/kzcwR 9b+gMHShUS5N1A5xvWqL4TiyWTfdvxiqk2uAFmn7TOYG0vlAi0kZfYy81D1Tsvu4RQPX IH6/oErq+Bg/XwmiNpJjJBlmhPRmGTLpJVk+/4tUyALJ/7NR2GTFkIV1kTjQnY1/XTI1 Xvlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694954870; x=1695559670; h=content-transfer-encoding:to:subject:message-id:date:mime-version :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XtGlEIbJuIuVfeolvIWzkWl7Yys5eA/zQYe9TI55EI4=; b=RXdIZ3chi+2scEnU7Ecx6cosuG3QVPczg8X1nROigwj3OE9Z4265a81g1IoD8J3YPM SyRQ2ivdaORXgKCr5vWIzXP+tXz2TJL+B0d17uwCh9+wRnVIp+yy/LXk77gY0YD6Uton +XtWHUswcazTemrZElW7vz2wDJxuht1GopiAboDLR420zSfDMoIpupTJi5OOkvpgercR egVYx3sjxnoubqDbjW4FICWDVAVamdfibxxqhhHoNLUWwxNkCuJ8T3+IOtUiNGFQir+Q SwnndhKd6YBB0faC4tx36JKEoQVf6IE6G+ExtUwa6dU94fxQfw6/3l+elu3elFyEJaSq zN3g== X-Gm-Message-State: AOJu0YwtAVeOJAxSJOmE7RFIbvGrZw9enYNBsV/qh871AAqGe/Tcj8Tz zBWzPnmrOsiuwZMssCkcoZNGVJ3/nEp5Kr8k8bqopIGF X-Google-Smtp-Source: AGHT+IEi2vqYSk5Zyy81/OkNUZJEJ9/hRoF+qqNkeXYBEx1HYqSCgHToJQ8L+h6ArsE3ZvdWAGzVAAIdy1emF1KrXeE= X-Received: by 2002:a2e:99cc:0:b0:2b9:55c9:c228 with SMTP id l12-20020a2e99cc000000b002b955c9c228mr5768482ljj.27.1694954870197; Sun, 17 Sep 2023 05:47:50 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 17 Sep 2023 05:47:49 -0700 Received-SPF: pass client-ip=2a00:1450:4864:20::230; envelope-from=stefankangas@gmail.com; helo=mail-lj1-x230.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:270699 Archived-At: Severity: wishist I don't think it makes sense for us to spend our meager resources maintaining two major modes for Perl. I would like to gauge what people think about obsoleting perl-mode.el. Harald J=C3=B6rg wrote previously on emacs-devel: > Finally, perl-mode comes with its own list of ancient open bugs, many of > those don't occur in cperl-mode. I wonder whether the authors of these > bugs would accept "use cperl-mode instead" as a workaround? > > At some time, it might make sense to merge those two modes into one. > Perl continues to evolve, and upgrading two modes to support that > doesn't seem to be an economic use of time. https://lists.gnu.org/r/emacs-devel/2020-10/msg01492.html Here are some additional observations: - cperl-mode.el sees more maintenance than perl-mode.el, in large part thanks to the efforts of Harald J=C3=B6rg. - The Perl community tends to favor cperl-mode over perl-mode. perl-mode is seen as lacking in features compared to cperl-mode, and no significant development has taken place to bridge the gap. - cperl-mode.el used to be maintained outside of Emacs, but this is no longer the case. All relevant development has been merged into and takes place in emacs.git. - Perl, while historically important to hacker culture and still widely used in some quarters (e.g. Debian), is seeing much less use today than it used to. This will negatively affect the amount of help we can expect with maintaining these modes from others. - Instead of maintaining perl-mode.el, I'd rather see that people worked on a new perl-ts-mode.el. From a web search, more than one treesitter grammar exist; I have no idea which one is the most promising or how mature any of them are.