From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mHN0NBDl52OXUgAAbAwnHQ (envelope-from ) for ; Sat, 11 Feb 2023 19:57:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gBJwNBDl52PSVwAA9RJhRA (envelope-from ) for ; Sat, 11 Feb 2023 19:57:20 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7D3B4338B7 for ; Sat, 11 Feb 2023 19:57:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQv3b-0007Tk-A2; Sat, 11 Feb 2023 13:57:07 -0500 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 1pQv3W-0007T3-Hg for guix-patches@gnu.org; Sat, 11 Feb 2023 13:57:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQv3W-0004kd-1V for guix-patches@gnu.org; Sat, 11 Feb 2023 13:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQv3V-0007vf-OW for guix-patches@gnu.org; Sat, 11 Feb 2023 13:57:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61434] [PATCH] gnu: Add emacs-pasp-mode. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Feb 2023 18:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61434 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 61434@debbugs.gnu.org Received: via spool by 61434-submit@debbugs.gnu.org id=B61434.167614176930415 (code B ref 61434); Sat, 11 Feb 2023 18:57:01 +0000 Received: (at 61434) by debbugs.gnu.org; 11 Feb 2023 18:56:09 +0000 Received: from localhost ([127.0.0.1]:43183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQv2e-0007uU-Jr for submit@debbugs.gnu.org; Sat, 11 Feb 2023 13:56:08 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:52511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQv2Z-0007tp-M2 for 61434@debbugs.gnu.org; Sat, 11 Feb 2023 13:56:07 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id EC02DC0004; Sat, 11 Feb 2023 18:55:54 +0000 (UTC) From: Nicolas Goaziou References: <602f2c0db9881fdd663c9919b5783db950ac900b.camel@gmail.com> <87k00ouohg.fsf@nicolasgoaziou.fr> <9ba747623b03c33b97e10070e803886909e5f5cc.camel@gmail.com> Date: Sat, 11 Feb 2023 19:55:48 +0100 In-Reply-To: <9ba747623b03c33b97e10070e803886909e5f5cc.camel@gmail.com> (Liliana Marie Prikler's message of "Sat, 11 Feb 2023 18:24:43 +0100") Message-ID: <87bkm0uj4b.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676141840; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=P0OrsouRvuXSROozES1qrfmChWxWdBOcoMrIYbhxOCQ=; b=aZf+SUhnPR8b2N3QSFyApInn2iDtgj2BIx76A13Lo55RJDhOUKa5iYIYE0AwOlWnNreHiS VPIuXAaETqVHUnAAoffhk3ClkniXeIs2FcrIptsuwgCb+v8qa90c6aYob7QeXLk0Xfw2lZ gQp7BtZbmvhX6w9qciqXoZ0JRXsmDWWldII4fxDbxQ6FB0xaTJFL5PQqk1XSDSkLwRvI6Y yvZx3EH4bL/P6kLkLTdgNcVXcdHIDFVCVRz5N/kxVIEaxosYb35cMjjM5apbfo0Qd3/3Hz WMJxazQQlQNINlKJMZcvXtRgGhCFImkdeTiMzp/8HI0RlocUO5W0jdyFeWyKKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676141840; a=rsa-sha256; cv=none; b=fdiqUpMk+XQLnugQ/FDfpWpB0PVcwt2ND3jwSKK0g7J/p4h3VSxp4z3fMl5U6JI9h8A0fQ +/6uMVQiyVY3IGARaB4svfKu+gHfBnPgZpJB3RxrDt9DlF7LQDS0oSsKeFh22XE/EQMixI SmtPVqLDNJ83EqrQRLoFHoBR16c1y89twbVNYiPrWemwBRd5vj5UT6aArSmSwYJzHodGJl 5e01gBK8XFm0rPcObk4hYQATGqHO0iju4tTlUeFEKcjHsp/IJYk4rqGjZ+y4z30mp5cnLW 2Ayc2T3vCpPtDaluj+P6+Htv/iLoOgOn6xKZ/g4ClFBDRlLHiUcUpsCIINUkfQ== X-Migadu-Queue-Id: 7D3B4338B7 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Spam-Score: -3.21 X-Spam-Score: -3.21 X-TUID: shnDHbut0TLu Liliana Marie Prikler writes: >> This dance is not necessary. You can simply use >> `emacs-substitute-variables', change the value, and keep the >> defcustom. A defconst is not a constant in Elisp anyway. > A defconst does raise a warning if it's changed, so I'd rather do > that. It seems that you are trying to fix a design issue without any serious usability consequence (who is going to set this variable anyway? Why would it matter to us?). I believe this kind of fix is out of the scope of a package definition. Besides, it makes the definition less readable, to say the least. The regexp itself is appalling (not that you can do much about it, of course). If you really insist of changing this defcustom, maybe 1. search forward for "defcustom pasp-mode-version" 2. kill next regexp 3. insert "#$version" 4. search backward for "defcustom", 5. replace match with "defconst". It would still be awful (no serious regexp), but possibly slightly less so.