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.devel Subject: Re: Please do not deprecate perl-mode in favour of cperl-mode Date: Fri, 29 Dec 2023 13:52:33 -0800 Message-ID: References: <5d846dd1b7a8b557073b317863bc590a@purelymail.com> <83ttoz7ohj.fsf@gnu.org> <432593e94d8f9316cce77962a0598c23@purelymail.com> <875y1fzakn.fsf@oook.m.uunet.de> <313e6ac232c876c5ec22df58571395b6@purelymail.com> <87v88hkpy8.fsf@oook.m.uunet.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="11629"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Paul W. Rankin" , emacs-devel@gnu.org, Eli Zaretskii To: =?UTF-8?B?SGFyYWxkIErDtnJn?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 29 22:53:28 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 1rJKnI-0002rj-Fg for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Dec 2023 22:53:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJKmW-0006WM-OZ; Fri, 29 Dec 2023 16:52:40 -0500 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 1rJKmU-0006WE-2W for emacs-devel@gnu.org; Fri, 29 Dec 2023 16:52:38 -0500 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJKmS-0008IZ-LP; Fri, 29 Dec 2023 16:52:37 -0500 Original-Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-3368ac0f74dso5957439f8f.0; Fri, 29 Dec 2023 13:52:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703886754; x=1704491554; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ia+BCxiYAskM20NhDX7B8y37NpeD7ZDuryXO7yOrvUo=; b=XPHlJ+xkd7eIq4cetLS1Z7TnVlUlC+4ztq0OMD0R1ndimggPcj02QytV18XUNd9utG z0FPTP0aky+5nn/kUHC4TwEc4jJ7jDsb3JekQIo/9GuHsIEJghr4z0Qh+qoiWNmGefSA ULcP1kt+hFRVgV+UDRlBi+KkQluXYrExEZTbboMDcN8GQi7473VESW9fOwLSwVLtmKzb SbayJQkJpFgRLfh6cIWQ9LRSGw5eBTBLmgS6+ltBv5HG9HEqYzr53MDVmG/dHW7VR6Jx Qc6QnMfroaI53UoLb6gZUE8ZKoWMBPVSWAnW5OdfEDUdnA0U285/jUEa8CgRZAvKmZlr qEOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703886754; x=1704491554; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Ia+BCxiYAskM20NhDX7B8y37NpeD7ZDuryXO7yOrvUo=; b=PrKPiPGLgpnKOXQW1yA+77t/B+k9cpNZ9mGjox12LIzjHBBtS5/NiHlwaSKfV95wrF WTofnQWRZOWajv2+gUyiRly8/zq3gKlk/exLJqbId4YOQFHMiMZHoUXrRmIFJGrnYg9S Or+ImCe63/MAUwwbhl5cUdmx2sr5XUOgc21iKru0qLc1sFb4pObMrW0pLPmdb/hGowx+ /cooueNB8xUU3qE4oi9HRzcR7Z0t7ngiBszllFALX5zJ8ZOskq3b0un4UguL27VcBH7c n0tPA0v9MS3qjhLSgPEppCLxyvI+kDwqHUoXkA9VARWfeYAfKzC7Ehopn/5JApCTgTYW i9OA== X-Gm-Message-State: AOJu0YyrnNWSSFVCqOtYVtdQAp3aaoLD1G3dP2z3u4FWOm6NhvcVSAez 1h61dPyt6NWBVqhV+vy0monHk4SY8Q7UTdtVqnc= X-Google-Smtp-Source: AGHT+IGoAghZC+MN0zi+YRFjOeOwwYsK4b3uTvFl1RDV1qndUb8SsduORXSnoTK8W6GowZN1z0VzQN1UDVgQWrPuvZk= X-Received: by 2002:a5d:6a46:0:b0:336:7300:f532 with SMTP id t6-20020a5d6a46000000b003367300f532mr7601124wrw.85.1703886754232; Fri, 29 Dec 2023 13:52:34 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 29 Dec 2023 13:52:33 -0800 In-Reply-To: <87v88hkpy8.fsf@oook.m.uunet.de> Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=stefankangas@gmail.com; helo=mail-wr1-x42c.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:314345 Archived-At: Harald J=C3=B6rg writes: >>> Ah this is excellent. "PBP" is indeed how I assume Perl should be >>> indented. But how do I set this as a user option, i.e. M-x >>> customize-option? I think M-x cperl-set-style is not easily discoverabl= e >>> (i.e. I didn't find it). For my own packages I encourage user discovery >>> through M-x customize-group, but I think here cperl-set-style would >>> remain elusive... > > I guess the reason why cperl-set-style was implemented as a command is > the fact that it sets a bulk of independent variables (11 for PBP) at > once. I think you could use the defcustom :set keyword for that. Users would need to use `setopt` to set it though (or the :set won't take effect), but I think we want to encourage people to use that instead of `setq` in any case.