Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 20 May 2022 22:32:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 20 18:32:19 2022 Received: from localhost ([127.0.0.1]:40330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nsBAQ-0006wX-Rc for submit <at> debbugs.gnu.org; Fri, 20 May 2022 18:32:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rms@HIDDEN>) id 1nsBAN-0006wI-AI for 55301 <at> debbugs.gnu.org; Fri, 20 May 2022 18:32:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39032) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rms@HIDDEN>) id 1nsBAH-0000B5-E9; Fri, 20 May 2022 18:32:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=iIw1rLYnY0gH0G8q43ZHBo5gpwe/XdYQy3AfdnIJkVc=; b=JElchuoC9QQS cu0SyOz75q3cM3XB0nb19+CR8uLW7W31FfmqjUx2tLROlxdEoVEn5Ey7s5Xit1LqWPSgH0ltp2V+0 QO2nR8T9k0AJHzMiPLkDcUba9HAGeGmcnXB4vQfIAwkPj8KlvBMXHCNV9/mWwohXbzFrnhEIO6zrZ 3ceWYzxXSkMDRPM7PbtLYrETsghRAKZncntwwfRZcBGu/RYlqLeryKmG2pzsHNkb67xCZG0wRFhIl dBquDugVYxbasfv1cfBqmbIVhnGFafLFGTUozzBlOOes27ljpyiUmDcdu3pFD0zLrYrZhElyd4mRI ZqP8IENCcikcuWFwd/0iDA==; Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from <rms@HIDDEN>) id 1nsBAG-0003a4-GH; Fri, 20 May 2022 18:32:08 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman <rms@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <87ee0rdqpk.fsf@HIDDEN> (message from Lars Ingebrigtsen on Wed, 18 May 2022 13:29:11 +0200) Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> <87pmkncank.fsf@HIDDEN> <CAJ1MqVEWD5ZB_ocvYOPfz-0kMUb3-YRjX_jSLT_S2-=zZ=_S-Q@HIDDEN> <87ilqfav4z.fsf@HIDDEN> <CAJ1MqVHLz754m90+5k8yQ5ON0KVC5XkEYEM_hyHgOcUkt8Lopg@HIDDEN> <87ee123jwq.fsf@HIDDEN> <CAJ1MqVE9qU8wxDiNRPL6nYwR6F64kc8ceki-YRNX_OKBR6ENAw@HIDDEN> <CAJ1MqVHggcTu63Q8-PRs5rdWZVnLw6ZSkFZcUeC9t98uUBR9Rw@HIDDEN> <87pmkc16j3.fsf@HIDDEN> <87o7zwkr2l.fsf@HIDDEN> <87leuz1fft.fsf@HIDDEN> <87ee0rdqpk.fsf@HIDDEN> Message-Id: <E1nsBAG-0003a4-GH@HIDDEN> Date: Fri, 20 May 2022 18:32:08 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55301 Cc: rpluim@HIDDEN, 55301 <at> debbugs.gnu.org, phil.hudson@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: rms@HIDDEN Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Yes, something like that. But the major work would be to create a > sensible widget that allows people to customise the keymap in question. > It'd be nice if it displayed a graphical keyboard in a buffer, and you > could click on keys to specify what they should output. 😀 > Or something simpler, for instance a widget where you ask the user to > enter a chord/key stroke, and then prompt what command to bind that to. > Or... something else. Many possibilities here. I like this idea too. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 18 May 2022 13:39:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 18 09:39:36 2022 Received: from localhost ([127.0.0.1]:59499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nrJtn-0006jB-Oo for submit <at> debbugs.gnu.org; Wed, 18 May 2022 09:39:35 -0400 Received: from mail-ua1-f47.google.com ([209.85.222.47]:36382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philhudsonster@HIDDEN>) id 1nrJtl-0006iw-VQ for 55301 <at> debbugs.gnu.org; Wed, 18 May 2022 09:39:34 -0400 Received: by mail-ua1-f47.google.com with SMTP id r22so851010ual.3 for <55301 <at> debbugs.gnu.org>; Wed, 18 May 2022 06:39:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=stFNDri6puJr6t4wIJKsjnCMtvgLFtDBBNpDm7DAcQY=; b=M1dfA7NR10pFCRL5cvtss5siU63fHYl/eamU7XjCwuIoTgIWVOyDITObJecY6+qgDS 1kwq9RD6hItuTT8mmXU2ldDsKBotQWT0RJ3KcsTlf//BeKzbg+dLn2t1+UeSqlL01TZ/ 7H5d8sJZk0EUEgzWOezb11KxKjTTOgTu7OObSooX00y2aIR3hnKL+2CvXbI3WSsP3W3m sgRxlsg9aiXSUd1EcdfW/jaWd5U9rT2xxFkJ8dEmaopDk+ihRhtkplfleNTtoWt40Tww 1rBdCentmCVOJDPE8QTsGhr3bgzYIQ8jJjDnxODQf3yy+LS2y63dkh1riBs0g15SJUJJ DIeg== X-Gm-Message-State: AOAM530tYMjUrZct96u/EnOjGmYThSxq1O9pkzAxJ+PPGAgAdCyRFpYG 5IUVSuc+aEB6D64iTfhAXWB0fc7b7+GOGl9ZJvw= X-Google-Smtp-Source: ABdhPJyQfHKKhbhJhSAMB+EHWE0rxnRRmUH9SLKwf2EPS67GT7CTBGg274uz/VA8mxbbhx5Y/JeOsRJnqMrzRIhqQ9U= X-Received: by 2002:a9f:3193:0:b0:35d:21ec:4ae1 with SMTP id v19-20020a9f3193000000b0035d21ec4ae1mr10007363uad.100.1652881168345; Wed, 18 May 2022 06:39:28 -0700 (PDT) MIME-Version: 1.0 References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> <87pmkncank.fsf@HIDDEN> <CAJ1MqVEWD5ZB_ocvYOPfz-0kMUb3-YRjX_jSLT_S2-=zZ=_S-Q@HIDDEN> <87ilqfav4z.fsf@HIDDEN> <CAJ1MqVHLz754m90+5k8yQ5ON0KVC5XkEYEM_hyHgOcUkt8Lopg@HIDDEN> <87ee123jwq.fsf@HIDDEN> <CAJ1MqVE9qU8wxDiNRPL6nYwR6F64kc8ceki-YRNX_OKBR6ENAw@HIDDEN> <CAJ1MqVHggcTu63Q8-PRs5rdWZVnLw6ZSkFZcUeC9t98uUBR9Rw@HIDDEN> <87pmkc16j3.fsf@HIDDEN> <87o7zwkr2l.fsf@HIDDEN> <87leuz1fft.fsf@HIDDEN> <87ee0rdqpk.fsf@HIDDEN> In-Reply-To: <87ee0rdqpk.fsf@HIDDEN> From: Phil Hudson <phil.hudson@HIDDEN> Date: Wed, 18 May 2022 14:39:17 +0100 Message-ID: <CAJ1MqVFJCygEUVnfSmbN_zKXBrPjjGfqfquC1tN7MMHJmYiV3A@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap To: Lars Ingebrigtsen <larsi@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 55301 Cc: Robert Pluim <rpluim@HIDDEN>, 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) On Wed, 18 May 2022 at 12:29, Lars Ingebrigtsen <larsi@HIDDEN> wrote: > > Yes, something like that. But the major work would be to create a > sensible widget that allows people to customise the keymap in question. > It'd be nice if it displayed a graphical keyboard in a buffer, and you > could click on keys to specify what they should output. =F0=9F=98=80 > > Or something simpler, for instance a widget where you ask the user to > enter a chord/key stroke, and then prompt what command to bind that to. > Or... something else. Many possibilities here. What excellent ideas!
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 18 May 2022 11:29:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 18 07:29:23 2022 Received: from localhost ([127.0.0.1]:59172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nrHrm-0002fk-P4 for submit <at> debbugs.gnu.org; Wed, 18 May 2022 07:29:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nrHrk-0002fV-6t for 55301 <at> debbugs.gnu.org; Wed, 18 May 2022 07:29:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=sZhxsu7yPLkbE27KJ2KA3BO+nswfpmeRXyMyQCKro40=; b=DgAMWIEMqmuJL/OErxps5v5WsL sRUWLKtoecPVi2ZY+Qw8Z77EzUiYMd+YYPH2lMe6Lh2a4y4eCSgjT0yQH/vsqCNmTals5UWWtGZTt WtOim6jru2NbqHCfXo1IekOkvDuAisaXmjcwsLA9WQtsaczCQdPWKHt5Y10su57t2hVU=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nrHrb-0006cs-OE; Wed, 18 May 2022 13:29:13 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Robert Pluim <rpluim@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> <87pmkncank.fsf@HIDDEN> <CAJ1MqVEWD5ZB_ocvYOPfz-0kMUb3-YRjX_jSLT_S2-=zZ=_S-Q@HIDDEN> <87ilqfav4z.fsf@HIDDEN> <CAJ1MqVHLz754m90+5k8yQ5ON0KVC5XkEYEM_hyHgOcUkt8Lopg@HIDDEN> <87ee123jwq.fsf@HIDDEN> <CAJ1MqVE9qU8wxDiNRPL6nYwR6F64kc8ceki-YRNX_OKBR6ENAw@HIDDEN> <CAJ1MqVHggcTu63Q8-PRs5rdWZVnLw6ZSkFZcUeC9t98uUBR9Rw@HIDDEN> <87pmkc16j3.fsf@HIDDEN> <87o7zwkr2l.fsf@HIDDEN> <87leuz1fft.fsf@HIDDEN> X-Now-Playing: William Basinski's _The Disintegration Loops_: "DLP 2.1" Date: Wed, 18 May 2022 13:29:11 +0200 In-Reply-To: <87leuz1fft.fsf@HIDDEN> (Robert Pluim's message of "Wed, 18 May 2022 09:13:26 +0200") Message-ID: <87ee0rdqpk.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Robert Pluim <rpluim@HIDDEN> writes: > Lars> But it'd be nice if a defcustom interface for keymaps existed. > > Something like this? > > (defcustom keymap-additions nil > "Alist of bindings to add to keymaps at startup. > Keys are keymap [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55301 Cc: 55301 <at> debbugs.gnu.org, Phil Hudson <phil.hudson@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Robert Pluim <rpluim@HIDDEN> writes: > Lars> But it'd be nice if a defcustom interface for keymaps existed. > > Something like this? > > (defcustom keymap-additions nil > "Alist of bindings to add to keymaps at startup. > Keys are keymap symbols, values are lists of conses, format > (key-binding . command) > > Where KEY-BINDING is a kbd format key specification, and COMMAND is an > Emacs command.") > > So you could have that be > > '((fundamental-mode-map . (("C-a" . mark-whole-buffer) > ("C-b" . backward-word))) > (elisp-mode-map . (("C-a" . mark-defun)))) Yes, something like that. But the major work would be to create a sensible widget that allows people to customise the keymap in question. It'd be nice if it displayed a graphical keyboard in a buffer, and you could click on keys to specify what they should output. =F0=9F=98=80 Or something simpler, for instance a widget where you ask the user to enter a chord/key stroke, and then prompt what command to bind that to. Or... something else. Many possibilities here. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 18 May 2022 10:59:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 18 06:59:31 2022 Received: from localhost ([127.0.0.1]:59110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nrHOt-0001qN-HZ for submit <at> debbugs.gnu.org; Wed, 18 May 2022 06:59:31 -0400 Received: from mail-vs1-f41.google.com ([209.85.217.41]:41924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philhudsonster@HIDDEN>) id 1nrHOr-0001q7-3f for 55301 <at> debbugs.gnu.org; Wed, 18 May 2022 06:59:29 -0400 Received: by mail-vs1-f41.google.com with SMTP id m2so1588671vsr.8 for <55301 <at> debbugs.gnu.org>; Wed, 18 May 2022 03:59:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=4FgVOFQu9FQ7nvdtlthWOGBpLBIyvAXccdIWOED/YRk=; b=x+ZT2hqnUQQFo8qx6KD1crw28zvMD/TFgcX+Oc4vCms1yI+qPsdqIgYEI+kSf9L/tW 4pONPZKexwPNhc+pgjINyY0Zg+dbGLacY80QIbv0UVu7YPV2UfCXuqfQdLePPMroUslJ 9ED4rOopNIAn/kTT/YU799JbkAk6V+HuPoFo7u2JPrjYihKzP0eLJkJC0jhcR/QP2Zec 5yELLwD/zETz3l31DRdk3/Lk4MueMlFFAeRxxqcOdP/FbG3Xfyds0whn65HEgFE1xeqb 2XLA7PK+c88JSLjv5ECJD69jUvDLOAQ2sfslScqgs4Xj5h2tTbD54RxwIG4iv64fAtoK VVcg== X-Gm-Message-State: AOAM530sLTH4MZYR9VOS3lzCZ73C65/iMaHWaAcJBk1OVVy/Zv12VAf2 zHw93sc5U27hrR8ga2FbVhOH9jQf4gSn4CtNOkcD4A8pcFE= X-Google-Smtp-Source: ABdhPJzvf4zb4+/jjKaLvP2gJS5qtj8mutSrmZ31mNolPletvSaSOUJNP+qQa8cf1V4COyJInf+jW9A1HAcbMoqgaYY= X-Received: by 2002:a67:1a02:0:b0:320:a51f:8067 with SMTP id a2-20020a671a02000000b00320a51f8067mr11443393vsa.38.1652871563395; Wed, 18 May 2022 03:59:23 -0700 (PDT) MIME-Version: 1.0 References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> <87pmkncank.fsf@HIDDEN> <CAJ1MqVEWD5ZB_ocvYOPfz-0kMUb3-YRjX_jSLT_S2-=zZ=_S-Q@HIDDEN> <87ilqfav4z.fsf@HIDDEN> <CAJ1MqVHLz754m90+5k8yQ5ON0KVC5XkEYEM_hyHgOcUkt8Lopg@HIDDEN> <87ee123jwq.fsf@HIDDEN> <CAJ1MqVE9qU8wxDiNRPL6nYwR6F64kc8ceki-YRNX_OKBR6ENAw@HIDDEN> <CAJ1MqVHggcTu63Q8-PRs5rdWZVnLw6ZSkFZcUeC9t98uUBR9Rw@HIDDEN> <87pmkc16j3.fsf@HIDDEN> <87o7zwkr2l.fsf@HIDDEN> <87leuz1fft.fsf@HIDDEN> In-Reply-To: <87leuz1fft.fsf@HIDDEN> From: Phil Hudson <phil.hudson@HIDDEN> Date: Wed, 18 May 2022 11:59:12 +0100 Message-ID: <CAJ1MqVF9hEWpC3-zBokwPzddwWVULKqf8Nyg63gNnSFVfP-4Gw@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap To: Robert Pluim <rpluim@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 55301 Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) On Wed, 18 May 2022 at 08:13, Robert Pluim <rpluim@HIDDEN> wrote: > > >>>>> On Tue, 17 May 2022 19:27:14 +0200, Lars Ingebrigtsen <larsi@HIDDEN= rg> said: > > Lars> Robert Pluim <rpluim@HIDDEN> writes: > >> You mean using customize for keymaps? I=CA=BCd say 'no', but I=CA= =BCm not an > >> Emacs maintainer. > > Lars> Yes, adding a defcustom now for keymaps would be pointless. > > Lars> But it'd be nice if a defcustom interface for keymaps existed. > > Something like this? > > (defcustom keymap-additions nil > "Alist of bindings to add to keymaps at startup. > Keys are keymap symbols, values are lists of conses, format > (key-binding . command) > > Where KEY-BINDING is a kbd format key specification, and COMMAND is an > Emacs command.") > > So you could have that be > > '((fundamental-mode-map . (("C-a" . mark-whole-buffer) > ("C-b" . backward-word))) > (elisp-mode-map . (("C-a" . mark-defun)))) Exactly. It should include :type '(alist :key-type key-sequence :value-type function) as I suggested 9 days ago in this thread.
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 18 May 2022 07:13:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 18 03:13:36 2022 Received: from localhost ([127.0.0.1]:58787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nrDsG-0002Ez-Ic for submit <at> debbugs.gnu.org; Wed, 18 May 2022 03:13:36 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:40502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1nrDsE-0002Ek-3K for 55301 <at> debbugs.gnu.org; Wed, 18 May 2022 03:13:35 -0400 Received: by mail-wr1-f51.google.com with SMTP id s28so1174477wrb.7 for <55301 <at> debbugs.gnu.org>; Wed, 18 May 2022 00:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=Suwp7jTjM51a+bSMnZtEPrZ7IxbJnvXwX5xJy/J0YV0=; b=D+JzLvbwzl5x9aWrXmA+RGrN8rUM4ht7DVVzY9DyPQ586pjyxC1Xg4khUi2PSB8uz5 CRKBuDGUB/RIG8N38QXuE8ExLauV9ijnk55GcIBA3vqyVNU+biKJt3G9CztHD/7ks5hp RFB6RyJQbJNIhQWaiY6SmoRRwPSIbt8fHlxGwM3yMREWdIRBLdjClXQurA3vW50Q+kl6 ZCJE0EMJuol0/31Q9MUDPY69HCJT9BZwK3GVL2WFuFtd60HLIHQuch1Le+fIYTcK5heI no7FV3vGTT4eRKtcd8XmztmCyuWr4RCDGb7gOpvO3Lve8A3lRPUDMRCCprcOgLm9hoag Ctlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=Suwp7jTjM51a+bSMnZtEPrZ7IxbJnvXwX5xJy/J0YV0=; b=nSPumO76DbKhmpqrfuXIhDtUcRXq47xdtxXABsqM678gttEtswbxQBhpxFslRAzsES +I69fmqQ6K9ioDNL5eRhdhzqrhGANOScMUF1znHu11LeFel6ju59vyYAP9QN3jGnd0fQ fSur9bHQpmBmhX8Xse9Up7CrpUKgThNbjjdgodtKyzrxsYMi7pqV9hJdE7r09ilSvNEc N+IsX5iwSmx7NKng4vo/+Uzy3g99vTzMASBW3dpCz7qrwiMIy5Yv85X4Fe8QH/I+xQiB wTcMwzxx7GRE/5zNqH6XbXocwDjn2kwWceX8d/PHj4xyrUZdjqN0eRRK2Se7py4Hwkbw kqvQ== X-Gm-Message-State: AOAM530/YROu9OfUPJsVBFlL4XfbyJ6qLobFCK2AEztzdkwW6v+9kWjZ hO7JE3zxnp61KwOoJ+Aci59fLOn+cLs= X-Google-Smtp-Source: ABdhPJzxXlMOdkHJjw4QLbN75kfB3cWKeT+4bjMtrT2KhwFiUo2+Hncu1mLs2iybk0n9t07HQZk6mw== X-Received: by 2002:a5d:6d51:0:b0:20c:e06f:702b with SMTP id k17-20020a5d6d51000000b0020ce06f702bmr21958961wri.502.1652858007803; Wed, 18 May 2022 00:13:27 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:54db:fde8:78b5:c916]) by smtp.gmail.com with ESMTPSA id b11-20020a5d45cb000000b0020c5253d8e1sm1295125wrs.45.2022.05.18.00.13.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 00:13:27 -0700 (PDT) From: Robert Pluim <rpluim@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> <87pmkncank.fsf@HIDDEN> <CAJ1MqVEWD5ZB_ocvYOPfz-0kMUb3-YRjX_jSLT_S2-=zZ=_S-Q@HIDDEN> <87ilqfav4z.fsf@HIDDEN> <CAJ1MqVHLz754m90+5k8yQ5ON0KVC5XkEYEM_hyHgOcUkt8Lopg@HIDDEN> <87ee123jwq.fsf@HIDDEN> <CAJ1MqVE9qU8wxDiNRPL6nYwR6F64kc8ceki-YRNX_OKBR6ENAw@HIDDEN> <CAJ1MqVHggcTu63Q8-PRs5rdWZVnLw6ZSkFZcUeC9t98uUBR9Rw@HIDDEN> <87pmkc16j3.fsf@HIDDEN> <87o7zwkr2l.fsf@HIDDEN> Date: Wed, 18 May 2022 09:13:26 +0200 In-Reply-To: <87o7zwkr2l.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Tue, 17 May 2022 19:27:14 +0200") Message-ID: <87leuz1fft.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55301 Cc: 55301 <at> debbugs.gnu.org, Phil Hudson <phil.hudson@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) >>>>> On Tue, 17 May 2022 19:27:14 +0200, Lars Ingebrigtsen <larsi@HIDDEN= > said: Lars> Robert Pluim <rpluim@HIDDEN> writes: >> You mean using customize for keymaps? I=CA=BCd say 'no', but I=CA=BC= m not an >> Emacs maintainer. Lars> Yes, adding a defcustom now for keymaps would be pointless. Lars> But it'd be nice if a defcustom interface for keymaps existed. Something like this? (defcustom keymap-additions nil "Alist of bindings to add to keymaps at startup. Keys are keymap symbols, values are lists of conses, format (key-binding . command) Where KEY-BINDING is a kbd format key specification, and COMMAND is an Emacs command.") So you could have that be '((fundamental-mode-map . (("C-a" . mark-whole-buffer) ("C-b" . backward-word))) (elisp-mode-map . (("C-a" . mark-defun)))) Robert --=20
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 17 May 2022 17:27:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 17 13:27:28 2022 Received: from localhost ([127.0.0.1]:57792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nr0yl-00033j-VW for submit <at> debbugs.gnu.org; Tue, 17 May 2022 13:27:28 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nr0yk-00033U-G7 for 55301 <at> debbugs.gnu.org; Tue, 17 May 2022 13:27:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=u6t7xL/MeKt+Pt1X42ZkrHDAYTdaJGw2I7Hc16zyNuY=; b=XUC/f6X3JJOP+Hobv2IgcC6ZaJ 7qMP6SBNhtotSyTT5rjWhPSIBBGKtSEX3Q4SqbE6IjYGMkb1qbkLfcsHHU0MEHaBsrtAv8Ep9fK4Y sUcFhbXXsfY8wo1zRr6qaIDE6CKnMDYiP/adD4NhIjAecWuWO2YICEd/S8RDHEEJSLG0=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nr0yb-0004Bw-EB; Tue, 17 May 2022 19:27:19 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Robert Pluim <rpluim@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> <87pmkncank.fsf@HIDDEN> <CAJ1MqVEWD5ZB_ocvYOPfz-0kMUb3-YRjX_jSLT_S2-=zZ=_S-Q@HIDDEN> <87ilqfav4z.fsf@HIDDEN> <CAJ1MqVHLz754m90+5k8yQ5ON0KVC5XkEYEM_hyHgOcUkt8Lopg@HIDDEN> <87ee123jwq.fsf@HIDDEN> <CAJ1MqVE9qU8wxDiNRPL6nYwR6F64kc8ceki-YRNX_OKBR6ENAw@HIDDEN> <CAJ1MqVHggcTu63Q8-PRs5rdWZVnLw6ZSkFZcUeC9t98uUBR9Rw@HIDDEN> <87pmkc16j3.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEUXFBRMSTmGg3z/ //9RdGjbAAAAAWJLR0QDEQxM8gAAAAlwSFlzAAAASAAAAEgARslrPgAAAAd0SU1FB+YFEREZLe+3 0Z8AAADZSURBVCjPpVFBDsMgDEukcAcJ/mOkdmcqlcO+sJ9trxwpBLbTDotUimUnJA7RH+HR/8x6 DiB6EVPM49IRuZUdVw5Ug3MQOAhcOyVHJQrPTuylEXh0kPHZCijLR+m80aS9LCUCnb1brZ2YkUdp 9qLsFZVT69Vk202PkRKLJx4DiVMDDAhADBs7zwalqBveHGvPmDvcIMcx9U41MKp5WI8NbKMlFGtt JwfvYwepfe6MlqOmTK9bhDIuhY7iy9pBMkf0hdcah5vrQyZ33Y/lQN2M5mGkBdLXFn7HGyDlGwKd v7G9AAAAWmVYSWZNTQAqAAAACAAFARIAAwAAAAEAAQAAARoABQAAAAEAAABKARsABQAAAAEAAABS ASgAAwAAAAEAAQAAAhMAAwAAAAEAAQAAAAAAAAAAAEgAAAABAAAASAAAAAGUgcktAAAAJXRFWHRk YXRlOmNyZWF0ZQAyMDIyLTA1LTE3VDE3OjI1OjQ0KzAwOjAwSCWuvAAAACV0RVh0ZGF0ZTptb2Rp ZnkAMjAyMi0wNS0xN1QxNzoyNTo0NCswMDowMDl4FgAAAAAXdEVYdGV4aWY6WUNiQ3JQb3NpdGlv bmluZwAxrA+AYwAAAABJRU5ErkJggg== X-Now-Playing: Feathered Sun's _Saubohnen EP_: "Saubohnen" Date: Tue, 17 May 2022 19:27:14 +0200 In-Reply-To: <87pmkc16j3.fsf@HIDDEN> (Robert Pluim's message of "Tue, 17 May 2022 18:13:36 +0200") Message-ID: <87o7zwkr2l.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Robert Pluim <rpluim@HIDDEN> writes: > You mean using customize for keymaps? Iʼd say 'no', but Iʼm not an > Emacs maintainer. Yes, adding a defcustom now for keymaps would be pointless. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55301 Cc: 55301 <at> debbugs.gnu.org, Phil Hudson <phil.hudson@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Robert Pluim <rpluim@HIDDEN> writes: > You mean using customize for keymaps? I=CA=BCd say 'no', but I=CA=BCm not= an > Emacs maintainer. Yes, adding a defcustom now for keymaps would be pointless. But it'd be nice if a defcustom interface for keymaps existed. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 17 May 2022 16:13:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 17 12:13:46 2022 Received: from localhost ([127.0.0.1]:57735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nqzpR-00016e-RW for submit <at> debbugs.gnu.org; Tue, 17 May 2022 12:13:46 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:41711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1nqzpP-00016P-8M for 55301 <at> debbugs.gnu.org; Tue, 17 May 2022 12:13:44 -0400 Received: by mail-wr1-f52.google.com with SMTP id m1so25428212wrb.8 for <55301 <at> debbugs.gnu.org>; Tue, 17 May 2022 09:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=2hK7+6G+Qto7DYUYW+CdnOwPUD3wv9iaLBe+NT22cnI=; b=PpcngIZdnILGtxdHq9dk+3XqnjIxpLxu4flz+HK/brbeZad9ZTry/3vK5tNQ21GpcV o4EzOGlCl9oQ6tWh99fvA40YEkvXfzXdufR0qNDx0+8xa6FKMeCFhowxZHayvBLS1flD uPD74m/0P5oKTrNJa707Bo7ZQjMDMr6dpVUrJzN4pRo4nL5eVh1VbUfcnVTDv2gHlAya V8rclj0fSEyTHyC4CmGub2BjFFHEL+iKzgDXDNyR3MsxEZgDbhAM79DlSFsOIm5YRsSQ NFWWF0b4sZtE6+E2OMEK7nCHvIsTTjYQcsUP5mXjL9yI6pqG2eYzHIJzvkswWU4M5HwB 9tpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=2hK7+6G+Qto7DYUYW+CdnOwPUD3wv9iaLBe+NT22cnI=; b=Cz2j3cWU4w/0VGXrNVQ3Tt26H+HJYZ2irBu9i4fXnNBgFIS35/3HIvPspeWwqCgxpF MAmV70Wa8OZBUZMkyh3k9SUjrMnrcXJ5Q68YHx2ZuoeVEPOq8LUnFjoRX2LD6nfAnv/o 8BN8fPy9jeU7s6CDf0r2krTe+pOfWlqRKC4p9z8Ff3Az+G9MFdyKambqK9PcCdtjtGgP 3SITK1cALI0r/abpHojawXPdszQJx7t4N/eu+FUQ0vCHeqxfYvwo6sldbhjJtHGCCTFX JbePL/yULHMopgjRUappSh05SDi4jd5f2rhhtHLGTgFz76yhsh065QDX9SJim66k2U2i H3gA== X-Gm-Message-State: AOAM532S1l3N5zWLwMDTxB95/MZ2fzSAmSYH7nBgHdHwZPM6t66xVWlJ fyCmneli6yZ1cVJhIFBzjHP6mvVeSow= X-Google-Smtp-Source: ABdhPJxSU5LQDWnBCFAnKR/Kb1hDpQ8SxFTOL3OBGBdlXmPssJW2WTvA/V4OGcxHdVKVn7x1OSHyFg== X-Received: by 2002:a05:6000:1a44:b0:20a:ccde:c139 with SMTP id t4-20020a0560001a4400b0020accdec139mr18876086wry.320.1652804017270; Tue, 17 May 2022 09:13:37 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:54db:fde8:78b5:c916]) by smtp.gmail.com with ESMTPSA id n4-20020a5d5984000000b0020c77f36b13sm13048695wri.100.2022.05.17.09.13.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 09:13:36 -0700 (PDT) From: Robert Pluim <rpluim@HIDDEN> To: Phil Hudson <phil.hudson@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> <87pmkncank.fsf@HIDDEN> <CAJ1MqVEWD5ZB_ocvYOPfz-0kMUb3-YRjX_jSLT_S2-=zZ=_S-Q@HIDDEN> <87ilqfav4z.fsf@HIDDEN> <CAJ1MqVHLz754m90+5k8yQ5ON0KVC5XkEYEM_hyHgOcUkt8Lopg@HIDDEN> <87ee123jwq.fsf@HIDDEN> <CAJ1MqVE9qU8wxDiNRPL6nYwR6F64kc8ceki-YRNX_OKBR6ENAw@HIDDEN> <CAJ1MqVHggcTu63Q8-PRs5rdWZVnLw6ZSkFZcUeC9t98uUBR9Rw@HIDDEN> Date: Tue, 17 May 2022 18:13:36 +0200 In-Reply-To: <CAJ1MqVHggcTu63Q8-PRs5rdWZVnLw6ZSkFZcUeC9t98uUBR9Rw@HIDDEN> (Phil Hudson's message of "Tue, 17 May 2022 17:03:07 +0100") Message-ID: <87pmkc16j3.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55301 Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) >>>>> On Tue, 17 May 2022 17:03:07 +0100, Phil Hudson <phil.hudson@HIDDEN= m> said: Phil> So after a week, can I get a clear yes or no on this? Either is f= ine. You mean using customize for keymaps? I=CA=BCd say 'no', but I=CA=BCm not an Emacs maintainer. Robert --=20
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 17 May 2022 16:03:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 17 12:03:34 2022 Received: from localhost ([127.0.0.1]:57708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nqzfR-0000pX-PI for submit <at> debbugs.gnu.org; Tue, 17 May 2022 12:03:34 -0400 Received: from mail-vs1-f43.google.com ([209.85.217.43]:46869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philhudsonster@HIDDEN>) id 1nqzfQ-0000pJ-4t for 55301 <at> debbugs.gnu.org; Tue, 17 May 2022 12:03:24 -0400 Received: by mail-vs1-f43.google.com with SMTP id z144so19097159vsz.13 for <55301 <at> debbugs.gnu.org>; Tue, 17 May 2022 09:03:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=QWHhEXQ/4k9Cf6sK0P5RjQQmfDgAAxs9qObzBhjan5w=; b=NQXVRkTYI743ZbEEPl6zrqDoj0ChZEpKXydq9Qe6RsjdqTgDzC1gdgTTn/dCDdSlfy H0dT5acVLqW279N9PoccrjwmrlG7g2IZG8fo581XVa/JqbnPv5qO8s0+ZDKgQ/gwWLDv 0JFSgTXDg6PEzXLRYXCJR7Sq3RzHqyuJY4ARAYhlTNTBwc0Z67V6PJqO6PibrMFQRP3R 5OJm8OP8YNtxRy07ynHW9V9WfQRriZSqDSNX8I8jyqbzJLwvvMdfLxB2V94ZsPZbMcGK XuMPddakWYQqwXD/3Riqr+UojVYNwytgLfquVkG+cluj2qgTDO8sYN2FUCvQjIr9RLs8 I9AA== X-Gm-Message-State: AOAM532UEWN9RxoJAW3t8oEfUSzD8sPymyXO9XcgdxDmBACMj3gyXoWS GEjGIDBFKKcSxIccfqAGbhsvHetPy+iJaLPkXdI= X-Google-Smtp-Source: ABdhPJzBpgBj/0/hgOIhe9/fVNlp9rlJc73pMBglm+LonPMK5hRNoOMzVMCqvuUEr+xmQviMaxiO9/lrQL+kJs9C+oA= X-Received: by 2002:a05:6102:113:b0:32d:8a58:fde7 with SMTP id z19-20020a056102011300b0032d8a58fde7mr8842546vsq.54.1652803398569; Tue, 17 May 2022 09:03:18 -0700 (PDT) MIME-Version: 1.0 References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> <87pmkncank.fsf@HIDDEN> <CAJ1MqVEWD5ZB_ocvYOPfz-0kMUb3-YRjX_jSLT_S2-=zZ=_S-Q@HIDDEN> <87ilqfav4z.fsf@HIDDEN> <CAJ1MqVHLz754m90+5k8yQ5ON0KVC5XkEYEM_hyHgOcUkt8Lopg@HIDDEN> <87ee123jwq.fsf@HIDDEN> <CAJ1MqVE9qU8wxDiNRPL6nYwR6F64kc8ceki-YRNX_OKBR6ENAw@HIDDEN> In-Reply-To: <CAJ1MqVE9qU8wxDiNRPL6nYwR6F64kc8ceki-YRNX_OKBR6ENAw@HIDDEN> From: Phil Hudson <phil.hudson@HIDDEN> Date: Tue, 17 May 2022 17:03:07 +0100 Message-ID: <CAJ1MqVHggcTu63Q8-PRs5rdWZVnLw6ZSkFZcUeC9t98uUBR9Rw@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap To: Robert Pluim <rpluim@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 55301 Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) So after a week, can I get a clear yes or no on this? Either is fine. On Mon, 9 May 2022 at 16:04, Phil Hudson <phil.hudson@HIDDEN> wrote: > > On Mon, 9 May 2022 at 14:39, Robert Pluim <rpluim@HIDDEN> wrote: > > > > >>>>> On Mon, 9 May 2022 11:02:20 +0100, Phil Hudson <phil.hudson@iname= .com> said: > > > > Phil> Isn't that exactly the right place for declarative personal p= references? > > > > Yes, but if a keymap were a defcustom, then the whole keymap would be > > in your .emacs, and you would not receive any updates if the keymap > > definition changed, since that affects the *default* defcustom value. > > True that, and I had not thought of it, but now that I have, I still > don't see it as necessarily confounding. Doesn't the same objection > (if it is one) apply to *every* defcustom? Is that not the risk that > the user takes when they change any custom option, and the risk that > every dev takes when they introduce a defcustom? > > > Now if you wanted to define a defcustom type for changing bindings in a= n > > existing keymap, that=CA=BCs a different proposition (and we already ha= ve > > define-key, so I=CA=BCm not so sure of the utility). > > That is exactly what I (think I) want. The utility is admittedly > marginal but perhaps not trivial. It's the difference between a > declarative approach, which I take to be intrinsically more accessible > and intuitive, especially to non-programmers, versus an imperative > one. It's essentially the case for custom options in general. > > I suppose my maximalist claim would be that mode-defined keymaps are > self-evidently customize options that have somehow historically been > accidentally overlooked. I'm not entirely convinced myself, though. > Maybe we should just let it sit for a while. There's obviously > something about it that doesn't *feel* right to people with deeper > insight than I have.
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 9 May 2022 15:04:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 09 11:04:43 2022 Received: from localhost ([127.0.0.1]:59191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1no4wF-0005Xm-Hw for submit <at> debbugs.gnu.org; Mon, 09 May 2022 11:04:43 -0400 Received: from mail-vs1-f52.google.com ([209.85.217.52]:34741) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philhudsonster@HIDDEN>) id 1no4wE-0005Xb-Pp for 55301 <at> debbugs.gnu.org; Mon, 09 May 2022 11:04:43 -0400 Received: by mail-vs1-f52.google.com with SMTP id e10so14177102vsr.1 for <55301 <at> debbugs.gnu.org>; Mon, 09 May 2022 08:04:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=PBCM+8YQ3Jf+/PeUkbYj/qxppu8oEAzSqGikT4m2+Dk=; b=nhoUVw96XSCp3zJe18g1EMAW6NacUAeDaon39w5h6QpqBYjvRyigp78yR8ZXM86p2i 3Xy+gdBNaBxm8Sar7buaNfXM1jEtrTAa7XQhW08TjGnAG7M50zhG9f6lhxextprPRxmo v07zqxf5fqKTTDGA/E0zuvJhdT24aI+bftAiAbnkheHaueSb7MGDziX9aF6BmZvULU6V SFb4ZWFZzOboISr+MaoD1YpK/QPQ5uTcvVpQkUIGJcfVooTxLF3rltz4pK4Xu6sOFmQJ iviweDEHSWxNcXEOFljbWsTM2qoPeXCoK3sfEwtqF6C8YgC4tOrVd8sybf4sOJdbK3xA bIsA== X-Gm-Message-State: AOAM5305+1YLDhSbf7sczQA3ROQdpFUUm/ZXAPn294x683m/bwQu8p8S F3ig+S8EoZobr/9qA4z05oieDm2AKBIIhw783kY= X-Google-Smtp-Source: ABdhPJzvsiqmHeYfytSG4IFxfbYtQs4Su+bemr588hVXhwL3htinrulltayluAEZhyVtQod/zjxDhZkvN3Kixuv/O64= X-Received: by 2002:a05:6102:390d:b0:32d:93ae:47d6 with SMTP id e13-20020a056102390d00b0032d93ae47d6mr8158381vsu.27.1652108677327; Mon, 09 May 2022 08:04:37 -0700 (PDT) MIME-Version: 1.0 References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> <87pmkncank.fsf@HIDDEN> <CAJ1MqVEWD5ZB_ocvYOPfz-0kMUb3-YRjX_jSLT_S2-=zZ=_S-Q@HIDDEN> <87ilqfav4z.fsf@HIDDEN> <CAJ1MqVHLz754m90+5k8yQ5ON0KVC5XkEYEM_hyHgOcUkt8Lopg@HIDDEN> <87ee123jwq.fsf@HIDDEN> In-Reply-To: <87ee123jwq.fsf@HIDDEN> From: Phil Hudson <phil.hudson@HIDDEN> Date: Mon, 9 May 2022 16:04:26 +0100 Message-ID: <CAJ1MqVE9qU8wxDiNRPL6nYwR6F64kc8ceki-YRNX_OKBR6ENAw@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap To: Robert Pluim <rpluim@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 55301 Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) On Mon, 9 May 2022 at 14:39, Robert Pluim <rpluim@HIDDEN> wrote: > > >>>>> On Mon, 9 May 2022 11:02:20 +0100, Phil Hudson <phil.hudson@HIDDEN= om> said: > > Phil> Isn't that exactly the right place for declarative personal pre= ferences? > > Yes, but if a keymap were a defcustom, then the whole keymap would be > in your .emacs, and you would not receive any updates if the keymap > definition changed, since that affects the *default* defcustom value. True that, and I had not thought of it, but now that I have, I still don't see it as necessarily confounding. Doesn't the same objection (if it is one) apply to *every* defcustom? Is that not the risk that the user takes when they change any custom option, and the risk that every dev takes when they introduce a defcustom? > Now if you wanted to define a defcustom type for changing bindings in an > existing keymap, that=CA=BCs a different proposition (and we already have > define-key, so I=CA=BCm not so sure of the utility). That is exactly what I (think I) want. The utility is admittedly marginal but perhaps not trivial. It's the difference between a declarative approach, which I take to be intrinsically more accessible and intuitive, especially to non-programmers, versus an imperative one. It's essentially the case for custom options in general. I suppose my maximalist claim would be that mode-defined keymaps are self-evidently customize options that have somehow historically been accidentally overlooked. I'm not entirely convinced myself, though. Maybe we should just let it sit for a while. There's obviously something about it that doesn't *feel* right to people with deeper insight than I have.
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 9 May 2022 13:39:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 09 09:39:10 2022 Received: from localhost ([127.0.0.1]:56624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1no3bS-00021Y-Ll for submit <at> debbugs.gnu.org; Mon, 09 May 2022 09:39:10 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:33671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1no3bR-00021M-48 for 55301 <at> debbugs.gnu.org; Mon, 09 May 2022 09:39:09 -0400 Received: by mail-wr1-f43.google.com with SMTP id x18so19534900wrc.0 for <55301 <at> debbugs.gnu.org>; Mon, 09 May 2022 06:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=FOkBZCBzeDdi/p/LMo61OMRn/mfkHH0E9KShTC6HBxw=; b=I2emFem8t0Cbso/1S7j7S28E9uoFqAbRfdBKkq64CWrwlf/vlCWT/dSRDFj1RifneF v+7yKhc4OKpQkxdKlRjTx967iSWp6Qqid/Tmx43+k5MHdEr1ruqG1Y7fen1v7HODxdK5 Z2Deitajme7xj5KwjKYZ4iOlN+ykNlMDRLMaYMy2WZMAuMTozR0Fk5Sym4xnprpYDjbp R7HC2N4Ju/DzgRX5lcS21CQJ47+omTuoJGHxqnRe2tAdRmYku0QpEdHdJw131/6+r65n g/EwT6nJCEXApFR+WeBi4pwKlU1YMmTfUPruq2nrt8+VHbwDTgWHJf3DXEN9H3cyhuMe 2EmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=FOkBZCBzeDdi/p/LMo61OMRn/mfkHH0E9KShTC6HBxw=; b=2YkMbyQCY0WC2POSGzqDYxXxeWydo9sltXRN/0m1UHeKgFF0wAD9308dcKs2lNKSN0 +qPNgaQnc6916yzPJUceWNjPogZjW9bQhcz7tQd/CcS7AhlIrUQWbO1XqKwwvc9ASdxh 8kla50cSXNq/jd4SLK1DvYb4564KSnUpVpg2iucxzZzeEcvbs2V7cM1Upc5BxmG0YSCo skpvQ34uouDSkNiVZ7J5UkT9WoDqqSyVXzejj03dZlMJ0bvvKhUOnxRYgceqFb1PvFBw 3tTcF6CzwkoBgyy10ITt4zQXTEJBCKT47QQwZR+7Ow+uTIafO1eTb70Xw3lnaL8BHzsG jUEA== X-Gm-Message-State: AOAM532NXu4XF+sNDw04RPBJDQUAh3jxXVHzrdT9debr1os5Q46paJlS fqn6u7yjAn2TAkPEYmFP9eZaSh9AmsA= X-Google-Smtp-Source: ABdhPJz3c4WXZzp3LcqmVuqFkNXFxOJrbFN6sGy5VwFqISi3nsflqf1kQVrw+NVzkgNgbQysxhG7nw== X-Received: by 2002:adf:e289:0:b0:1e3:14ad:75fe with SMTP id v9-20020adfe289000000b001e314ad75femr14093475wri.685.1652103542822; Mon, 09 May 2022 06:39:02 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:2333:8547:217b:fdff]) by smtp.gmail.com with ESMTPSA id k7-20020a05600c1c8700b003946433a829sm12869342wms.11.2022.05.09.06.39.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 06:39:02 -0700 (PDT) From: Robert Pluim <rpluim@HIDDEN> To: Phil Hudson <phil.hudson@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> <87pmkncank.fsf@HIDDEN> <CAJ1MqVEWD5ZB_ocvYOPfz-0kMUb3-YRjX_jSLT_S2-=zZ=_S-Q@HIDDEN> <87ilqfav4z.fsf@HIDDEN> <CAJ1MqVHLz754m90+5k8yQ5ON0KVC5XkEYEM_hyHgOcUkt8Lopg@HIDDEN> Date: Mon, 09 May 2022 15:39:01 +0200 In-Reply-To: <CAJ1MqVHLz754m90+5k8yQ5ON0KVC5XkEYEM_hyHgOcUkt8Lopg@HIDDEN> (Phil Hudson's message of "Mon, 9 May 2022 11:02:20 +0100") Message-ID: <87ee123jwq.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55301 Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) >>>>> On Mon, 9 May 2022 11:02:20 +0100, Phil Hudson <phil.hudson@HIDDEN= > said: Phil> On Mon, 9 May 2022 at 10:54, Lars Ingebrigtsen <larsi@HIDDEN> w= rote: >>=20 >> Phil Hudson <phil.hudson@HIDDEN> writes: >>=20 >> > How about ":type '(alist :key-type key-sequence :value-type functi= on)"? >>=20 >> Like I said, that wouldn't be very useful, because people don't want= the >> entire keymap in their .emacs files anyway. Phil> Isn't that exactly the right place for declarative personal prefe= rences? Yes, but if a keymap were a defcustom, then the whole keymap would be in your .emacs, and you would not receive any updates if the keymap definition changed, since that affects the *default* defcustom value. Now if you wanted to define a defcustom type for changing bindings in an existing keymap, that=CA=BCs a different proposition (and we already have define-key, so I=CA=BCm not so sure of the utility). Robert --=20
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 9 May 2022 10:02:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 09 06:02:39 2022 Received: from localhost ([127.0.0.1]:56203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1no0Du-0007lB-VB for submit <at> debbugs.gnu.org; Mon, 09 May 2022 06:02:39 -0400 Received: from mail-ua1-f53.google.com ([209.85.222.53]:43817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philhudsonster@HIDDEN>) id 1no0Ds-0007gN-I1 for 55301 <at> debbugs.gnu.org; Mon, 09 May 2022 06:02:37 -0400 Received: by mail-ua1-f53.google.com with SMTP id 63so5242441uaw.10 for <55301 <at> debbugs.gnu.org>; Mon, 09 May 2022 03:02:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zPqCTu6Fy7bxqwu4jCyjyp66Cw2C9hyjptoFzgx+I7E=; b=OiY8RfHyYUdKdEP6vUtr0OsACeUvJZc7t0zUkg25Kq34snO05ZqC/ak5pJQCol9xzw ws7ni5itlz7ZjhhpVFyt8KENxVHcur0/TuhuZIs4BpzrA9HXQN0B1gFVrr3Z7j703SsA KUu9uzlYdckDs6qagf4n2TOfQzGgS41/jNYmh5ZFMvsJHk74sSPQhCn8PLh3gCcuicYY lDV3g7pTtx1i10V9VkNxpWkmX3clYmMxHU/1Pr4wQkRQUwp6lfjKqAPK6adqy1zQBkfh 6LvPWfnwHADZjspK+LKNHpmTqVhM/d6OcWdYIX0aF32lpE+0NgHElWQHANnGHeJHd1EA 3BEQ== X-Gm-Message-State: AOAM531WhRjqZe4dJSw8IrCKmB5YbnfdmZboyI5UJ2aKu8rFbw9//iOz Gi7ibUaVcpKDJ/ZpvXTbI9gZKDJhiNxtke4Pt7Y= X-Google-Smtp-Source: ABdhPJw0uHA0BmXRDbvnwAfmhMXK8J2vy4IXaOGY5p13+M8ev18vWhGal19Z4z+Itrllwxq4PMS0aJbreFW5enyD1RA= X-Received: by 2002:ab0:71c4:0:b0:365:e42:e5d3 with SMTP id n4-20020ab071c4000000b003650e42e5d3mr7345407uao.38.1652090550984; Mon, 09 May 2022 03:02:30 -0700 (PDT) MIME-Version: 1.0 References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> <87pmkncank.fsf@HIDDEN> <CAJ1MqVEWD5ZB_ocvYOPfz-0kMUb3-YRjX_jSLT_S2-=zZ=_S-Q@HIDDEN> <87ilqfav4z.fsf@HIDDEN> In-Reply-To: <87ilqfav4z.fsf@HIDDEN> From: Phil Hudson <phil.hudson@HIDDEN> Date: Mon, 9 May 2022 11:02:20 +0100 Message-ID: <CAJ1MqVHLz754m90+5k8yQ5ON0KVC5XkEYEM_hyHgOcUkt8Lopg@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap To: Lars Ingebrigtsen <larsi@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 55301 Cc: 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) On Mon, 9 May 2022 at 10:54, Lars Ingebrigtsen <larsi@HIDDEN> wrote: > > Phil Hudson <phil.hudson@HIDDEN> writes: > > > How about ":type '(alist :key-type key-sequence :value-type function)"? > > Like I said, that wouldn't be very useful, because people don't want the > entire keymap in their .emacs files anyway. Isn't that exactly the right place for declarative personal preferences?
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 9 May 2022 09:55:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 09 05:55:23 2022 Received: from localhost ([127.0.0.1]:56180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1no06t-0005Q8-H4 for submit <at> debbugs.gnu.org; Mon, 09 May 2022 05:55:23 -0400 Received: from mail-ua1-f41.google.com ([209.85.222.41]:44578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philhudsonster@HIDDEN>) id 1no06s-0005Pw-OC for 55301 <at> debbugs.gnu.org; Mon, 09 May 2022 05:55:23 -0400 Received: by mail-ua1-f41.google.com with SMTP id f13so5235507uax.11 for <55301 <at> debbugs.gnu.org>; Mon, 09 May 2022 02:55:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lDjydMvG2iGiZ3xu0cLmjEAcZTOUx/bWJvVfx6LZr/4=; b=0KvTgMXvD/qBx4gHlKrgJWeIDOstmkTuL0iyXxAu8dldWfJiBHZVIrPn9RexSPEnOK vZ3Vd0l0EukYulhA7CnZnWYmzOrWVYuRPfKP6Yce0xuimQhEHnWVFdcUmWt+ZRlf6fnt 8c4AaknnFPhDllihVv+oHC7VOby2YZK/WLOgSWOG9Y/EU5RagmU4WCEBOLcvob3NSgYQ JsgbFmlTxPmi1a/C25r20EctvpwjrQso1msyRdYIxYKwMDbl54mxZBCj3JmK1enwzB4L NnlwwRepUwQnsULd5jwO9C/A9aYc8dc0T6HzipYSt6KhMKCgr+gAHi8Bdu5M3sFgJJOs zPFA== X-Gm-Message-State: AOAM533Fz0UtXbO/9/GnOUEHVN1tMB5LTrWYf2oR1axLC1LzKGN3PZPk Y10fNGJq10N26pNjqi9rbAscTEkieF5+8EieuwYdEtcd X-Google-Smtp-Source: ABdhPJzrwB8fFL0EOBEj43/AkkguKoJ6Kmt2mZUkI0W0L05kdHItfkfSVcQwE38aYsWM1EfpmWlJ6emdaiKCTBkt61I= X-Received: by 2002:ab0:3c47:0:b0:365:8d83:7a3 with SMTP id u7-20020ab03c47000000b003658d8307a3mr8185471uaw.101.1652090117268; Mon, 09 May 2022 02:55:17 -0700 (PDT) MIME-Version: 1.0 References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> <87pmkncank.fsf@HIDDEN> In-Reply-To: <87pmkncank.fsf@HIDDEN> From: Phil Hudson <phil.hudson@HIDDEN> Date: Mon, 9 May 2022 10:55:06 +0100 Message-ID: <CAJ1MqVHAL2xPHV6J+1HHetqb_FdYiuvAjCg5gL_2XKdT_P=dfw@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap To: Lars Ingebrigtsen <larsi@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 55301 Cc: 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) On Mon, 9 May 2022 at 10:34, Lars Ingebrigtsen <larsi@HIDDEN> wrote: > > (And, besides, they want to get new keystrokes that are > added to the maps.) Customize does support insertion of new elements in its composite types, of course.
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 9 May 2022 09:55:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 09 05:55:00 2022 Received: from localhost ([127.0.0.1]:56176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1no06W-0005Ox-80 for submit <at> debbugs.gnu.org; Mon, 09 May 2022 05:55:00 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1no06G-0005OV-Vr for 55301 <at> debbugs.gnu.org; Mon, 09 May 2022 05:54:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MhiYgaglf6DejeN6pyvfEdVcrxg5dlMBRO4pwqqO/MI=; b=spx46R+hM9dVX2cnPxRyPp+GFT aN84ikh2fqP9jt5sfgRqVhRfNVstaaGu7RDEZJreFlxmPdpGQr3tr8ipGhq+Z7PQCzYb8aZ76l6// eCAzlRhvhyi883ctXMsJse+CRhiAStXKnvLT95QbBK6bmVMt9cQ7MjgNmasbJyvEcKgk=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1no069-0004HE-55; Mon, 09 May 2022 11:54:39 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Phil Hudson <phil.hudson@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> <87pmkncank.fsf@HIDDEN> <CAJ1MqVEWD5ZB_ocvYOPfz-0kMUb3-YRjX_jSLT_S2-=zZ=_S-Q@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEX9/f0hDA67wq9T qNr2723e3diWXk27olJdTkhSp7b///+JyUX3AAAAAWJLR0QKaND0VgAAAAd0SU1FB+YFCQkjMC6A 7ocAAAGVSURBVDjLtdG/T4NAFAfwy5Grrmdsy4inJR2bEBO7GYLWkTQe0c0QSxlNh9qx0BRulsX7 b70fTXtAm+jgGxj48H3v3gHAoS4sz/NAoIoa70FvD0sBiO6RaVgmCZujIwkBaQ2QmhHKVqvABGiC ORx2JXQuFdy3Ei8SnoKH1owjoE8V9QQ8Br4JtgQ616uboBak722wT4AeTssW6D12YJ6q8yuobd6F nneXMblIEJrQF4kMZ7jfAFAg8ooF2I1Was4BIocs4imcExK7cX6GRfUUDNcJWxPIooLlcY4k9NVx h9uU5QQWLkvLPEcMY7tU4G6ZTrC02OYI6k4CosQlcURcogpNRWJS3xwl8pHZYg9KqbFHlHyIJTFm 2JZfHMD9jAlZiU4423DOzcQMDDN5XLypxgagQYjKKw21hKpzBRWvmgDle3vMq3ED0Le4w4o34DkI fNG94k2QV8F1/St83fhkQK+92ybsLtwanQA4+ksCib9kOcBCoeOEFISIEt8PEllvwApbicmC6kQD Jhrqw8Ul6lYzgEY/cgiymJjq9IAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDUtMDlUMDk6MzU6 NDgrMDA6MDCOxssmAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA1LTA5VDA5OjM1OjQ4KzAwOjAw /5tzmgAAAABJRU5ErkJggg== X-Now-Playing: Blaine L. Reininger's _Broken Fingers_: "Gogolo Grasiento" Date: Mon, 09 May 2022 11:54:36 +0200 In-Reply-To: <CAJ1MqVEWD5ZB_ocvYOPfz-0kMUb3-YRjX_jSLT_S2-=zZ=_S-Q@HIDDEN> (Phil Hudson's message of "Mon, 9 May 2022 10:52:58 +0100") Message-ID: <87ilqfav4z.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Phil Hudson <phil.hudson@HIDDEN> writes: > How about ":type '(alist :key-type key-sequence :value-type function)"? Like I said, that wouldn't be very useful, because people don't want the entire keymap in their .emacs files anyway. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55301 Cc: 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Phil Hudson <phil.hudson@HIDDEN> writes: > How about ":type '(alist :key-type key-sequence :value-type function)"? Like I said, that wouldn't be very useful, because people don't want the entire keymap in their .emacs files anyway. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 9 May 2022 09:53:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 09 05:53:16 2022 Received: from localhost ([127.0.0.1]:56168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1no04q-0005MF-F0 for submit <at> debbugs.gnu.org; Mon, 09 May 2022 05:53:16 -0400 Received: from mail-vs1-f47.google.com ([209.85.217.47]:36582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philhudsonster@HIDDEN>) id 1no04p-0005M2-4m for 55301 <at> debbugs.gnu.org; Mon, 09 May 2022 05:53:15 -0400 Received: by mail-vs1-f47.google.com with SMTP id a127so13310199vsa.3 for <55301 <at> debbugs.gnu.org>; Mon, 09 May 2022 02:53:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=veqezXzx0kfXFH/DGeS4LSP1dtXS+4u3oBKjtAvxkKs=; b=C0xPGHeI3GqKzMZ0FnUD/MggjKGxE7c4ezyJ7MviAaDTPtZd13bbkczY7gZ/oUIzSX h2Ieg19+WIgWQOhPFfZJlyVQsPKlUQ3Og/W9etwSfjUbtRLI5wH+XSa+7ruo+4gRX2pw zB1DpXt5y+MEpswmVBNQY33qfUugg5d4Yl8zAsp4fiwVig8/2iqw1saNrOdP0Zoom/5B AsjO7oA/WW0qpd6KRJqjUwT3EXfDFUOcvuSIiO28t5pZi4FjDqBZpd69oF62s96bmkAq NGS2GOPmONzJQTLQ3qhNIUiia46zb/upu+zIS1bzAr+aZ+3Qk3k8YSzFREPUG601vYzj 1c4A== X-Gm-Message-State: AOAM530QfQ+QWgJIMKd9icMT13toHgyXX7AU7dWWHxIjdRijP6JgnzXk 3aUXUQxs9KDFMXcLCiaAl9SI+dO64FnhmIDw9bO75Jji X-Google-Smtp-Source: ABdhPJywnXCD9oOUu9T0wHuEQJxUBW9wpglkndcRmj3zrE3VKaDvs9P/X+SFD2J70WOO/oyO4CbekfKOv/N2TMQSEso= X-Received: by 2002:a67:be0b:0:b0:32c:d82f:6723 with SMTP id x11-20020a67be0b000000b0032cd82f6723mr7606697vsq.67.1652089989321; Mon, 09 May 2022 02:53:09 -0700 (PDT) MIME-Version: 1.0 References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> <87pmkncank.fsf@HIDDEN> In-Reply-To: <87pmkncank.fsf@HIDDEN> From: Phil Hudson <phil.hudson@HIDDEN> Date: Mon, 9 May 2022 10:52:58 +0100 Message-ID: <CAJ1MqVEWD5ZB_ocvYOPfz-0kMUb3-YRjX_jSLT_S2-=zZ=_S-Q@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap To: Lars Ingebrigtsen <larsi@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 55301 Cc: 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) How about ":type '(alist :key-type key-sequence :value-type function)"? On Mon, 9 May 2022 at 10:34, Lars Ingebrigtsen <larsi@HIDDEN> wrote: > > Phil Hudson <phil.hudson@HIDDEN> writes: > > > What I am proposing is something along the lines of this: when a mode > > (major or minor, it's strictly irrelevant) declares a keymap, part of > > the processing of the expansion of the mode definition should include > > a defcustom enabling the user to customize that keymap using the > > Customize UI, rather than (only) by writing elisp code. In other > > words, where foo-mode-map is currently implemented (I assume) using a > > defvar, that should change to a defcustom. That's really all I'm > > suggesting: change the defvar (or whatever) to a defcustom. > > Emacs doesn't have a Customize UI to alter keymaps, so changing defvars > to defcustom isn't currently useful (because there's no :type that > could be used other than `sexp'). > > It would be possible to create such an UI, of course, but it would work > quite differently than all other Customize widgets. I don't think > anybody wants to have the entire definitions of keymaps in their .emacs > files -- they want to add a keystroke or remove a keystroke or two, and > that's it. (And, besides, they want to get new keystrokes that are > added to the maps.) > > But it'd be nice to have; sure. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 9 May 2022 09:34:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 09 05:34:20 2022 Received: from localhost ([127.0.0.1]:56094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nnzmW-0002Vc-5H for submit <at> debbugs.gnu.org; Mon, 09 May 2022 05:34:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nnzmU-0002V4-1b for 55301 <at> debbugs.gnu.org; Mon, 09 May 2022 05:34:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1Ad5bUa+yd3tEB4oxot9LCXHQW1eYYDZwBevcz+n4a0=; b=Bq9JKvjd1bCK5B9c3E6BtcNIJ/ tZe62Cowuwj9Vu8s451xChuF2lHuG7jqQp95rlPg0rDxDSTl2gjF0g7buCTV0ruJNpS+KiiPbQXNV X7hrEh3OR9LzeS3NU0gidaSsnCQ0069Ri2miSaUfMR/ZDvY3qRLeXR8VNikuU08dHPE4=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nnzmL-0003zt-2q; Mon, 09 May 2022 11:34:11 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Phil Hudson <phil.hudson@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXZcnO+sKni39L2 9etsd4H////mjpy1AAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YFCQkSKPuxcWMAAAG0SURBVDjLlVTr mdwgDCQdBOEGJNEA0jaAc/3XlBFgw92XP5HX2IsYafRySv8tv/OQ9XjlV1JVdzd3HSse8W6exIZm Ksc+dtUlCTYEu/Fv7ONFzSSp+BbolmmDD/MfEgY06Tr5TcJ5E1EWiOEOZvOQpQrSXzn3D+7rtkXO PcVpB+cAySRt4SYxEyuzs+TMpI9DTWaHc30SoD5ZBY1xhaEZWPIXccAsTL08vokl8X3aTsU/I/fI 7hQb63ajI0AIk+Ci08eJkJ8Ijh+ywg8HtTSOcu1sdiBQqDZM1BtE6FVEoaZz7sIWWV5kgeCFsABs hG+EHqbMtymlQVd95XnFUTuWhQg/oo/itgz39Jp6fAwEMLskCPDrlV3yKNShOCIfpkj804t5zju7 GINK3Ap8cMm0GzyS2Mjpc9ufpsHqGZYkrNr40/Nt5ZJVdgmFFapeu3qz8rbMyK42LQiwtGKku4IN GvKG7HZq9KQw0l6ICl+3V21FxjjNUUN/AHPdVY0LH3RhioQ5anfNJGKWo9tZHRbMLAwdPQpWTCgE X9yNeIzBkGREu+EKjvL8mKQop8YHAeOqUD+Kv6HCuLBZHCH4AAAAJXRFWHRkYXRlOmNyZWF0ZQAy MDIyLTA1LTA5VDA5OjE4OjQwKzAwOjAwELu3MAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0w OVQwOToxODo0MCswMDowMGHmD4wAAAAASUVORK5CYII= X-Now-Playing: Blaine L. Reininger & Alain Goutier's _Paris en Autumne_: "Burn Like Rome" Date: Mon, 09 May 2022 11:34:07 +0200 In-Reply-To: <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> (Phil Hudson's message of "Sun, 8 May 2022 14:47:57 +0100") Message-ID: <87pmkncank.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Phil Hudson <phil.hudson@HIDDEN> writes: > What I am proposing is something along the lines of this: when a mode > (major or minor, it's strictly irrelevant) declares a keymap, part of > the processing of the expansion of the mode definition [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55301 Cc: 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Phil Hudson <phil.hudson@HIDDEN> writes: > What I am proposing is something along the lines of this: when a mode > (major or minor, it's strictly irrelevant) declares a keymap, part of > the processing of the expansion of the mode definition should include > a defcustom enabling the user to customize that keymap using the > Customize UI, rather than (only) by writing elisp code. In other > words, where foo-mode-map is currently implemented (I assume) using a > defvar, that should change to a defcustom. That's really all I'm > suggesting: change the defvar (or whatever) to a defcustom. Emacs doesn't have a Customize UI to alter keymaps, so changing defvars to defcustom isn't currently useful (because there's no :type that could be used other than `sexp'). It would be possible to create such an UI, of course, but it would work quite differently than all other Customize widgets. I don't think anybody wants to have the entire definitions of keymaps in their .emacs files -- they want to add a keystroke or remove a keystroke or two, and that's it. (And, besides, they want to get new keystrokes that are added to the maps.) But it'd be nice to have; sure. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 8 May 2022 13:48:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 08 09:48:16 2022 Received: from localhost ([127.0.0.1]:53755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nnhGi-0002Kq-4V for submit <at> debbugs.gnu.org; Sun, 08 May 2022 09:48:16 -0400 Received: from mail-vs1-f45.google.com ([209.85.217.45]:37446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philhudsonster@HIDDEN>) id 1nnhGg-0002KJ-61 for 55301 <at> debbugs.gnu.org; Sun, 08 May 2022 09:48:15 -0400 Received: by mail-vs1-f45.google.com with SMTP id t85so11532730vst.4 for <55301 <at> debbugs.gnu.org>; Sun, 08 May 2022 06:48:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wtIFDIB7LDofj1zUnPBqhwUtVtWpZBm3gzdolcTbvEk=; b=S0+In6UkNkkYkEwZnDzdqF9FIBAf3K2oIqNj7UESLDshhObsGaH1GN+euap9uxGK4u 8VL3vV6o0DyjHmBMGjTC6LsEj6SUONl676YTlyJpNqxbRIftc3CKkJ2sO/RH/cUVBEDM g8BHx1FUAiCBjczpRrsX5zvtD1J4rAfZD1EVp2uI2wti0m7l+KIJPcu97ch6T5AOkwZs +G6IVlcTaSKnlAv+ptopz8wAzg4OPu+wf1G6gn9jlB77kOeCyZvGl3YBttVgTbnVtJ5R VZm3y6jKPRd1SfLUI6BgHd+RfHikY2WFECzijvsRT2N47SRGLzXeeTq4G/gstBdK+YbG gwRg== X-Gm-Message-State: AOAM5302Uzx2pIyZ6rk6789cwbtov+zbw8/2S4+gghcTXHgI6mR3Ek5d 9sNhQN+NKN/aw+JeaoS04rCxUYrC2b0btAEzSBls/Ixo X-Google-Smtp-Source: ABdhPJwAtM7XKX0wDE1Sit68+L6Sg4IfpNp2iIFwebcLkTMfsyGWwGX228cRg/tUhD9/xXkU7uwcb0GvsKJ4DsboejE= X-Received: by 2002:a67:be0b:0:b0:32c:d82f:6723 with SMTP id x11-20020a67be0b000000b0032cd82f6723mr6254697vsq.67.1652017688311; Sun, 08 May 2022 06:48:08 -0700 (PDT) MIME-Version: 1.0 References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> <87pmkojlg7.fsf@HIDDEN> In-Reply-To: <87pmkojlg7.fsf@HIDDEN> From: Phil Hudson <phil.hudson@HIDDEN> Date: Sun, 8 May 2022 14:47:57 +0100 Message-ID: <CAJ1MqVGNXQ154Gu36_cPjSWFownmurESQ4bDHHhEchENXYCg2A@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap To: Lars Ingebrigtsen <larsi@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 55301 Cc: 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) Not a built-in one, no, but it is not difficult to construct a composite defcustom. There are plenty of sequence types and a keybinding type to compose with. Perhaps Emacs *should* have a standard built-in keymap defcustom type, but that would be the subject for a separate RFE. What I am proposing is something along the lines of this: when a mode (major or minor, it's strictly irrelevant) declares a keymap, part of the processing of the expansion of the mode definition should include a defcustom enabling the user to customize that keymap using the Customize UI, rather than (only) by writing elisp code. In other words, where foo-mode-map is currently implemented (I assume) using a defvar, that should change to a defcustom. That's really all I'm suggesting: change the defvar (or whatever) to a defcustom. On Sun, 8 May 2022 at 12:46, Lars Ingebrigtsen <larsi@HIDDEN> wrote: > > Phil Hudson <phil.hudson@HIDDEN> writes: > > > If nobody sees any benefit from the idea, I imagine the best thing is > > to just close this. > > I just don't understand the request -- we don't have a Customize > interface for altering keymaps anyway. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 8 May 2022 11:46:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 08 07:46:59 2022 Received: from localhost ([127.0.0.1]:53520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nnfNL-0004zN-5y for submit <at> debbugs.gnu.org; Sun, 08 May 2022 07:46:59 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nnfNJ-0004z6-Fe for 55301 <at> debbugs.gnu.org; Sun, 08 May 2022 07:46:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IPoxoD/wRGgeiKmqGjouz/3ftBqER2D2RtgTJIM7wYY=; b=QeRHcy4MZGiy2wzF+WdnyHUcnj LRdKgAsi12JHxk1zys7QYHJIjbru5W0l3VCASzVKNEqphR0iNz1TBJ4PVCzfctyQd1m9UT+4pocO5 4Vlmi/1iyA/JuXKaNYPQLW+jSZx5A+bo7+9typT8zKduAXqYqkeMrZSnZ6IDUllSYXGA=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nnfNB-0007wy-5v; Sun, 08 May 2022 13:46:51 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Phil Hudson <phil.hudson@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> X-Now-Playing: Nina Simone's _The Montreux Years (1)_: "Stars (Live At Casino Montreux, 3rd July 1976)" Date: Sun, 08 May 2022 13:46:48 +0200 In-Reply-To: <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> (Phil Hudson's message of "Sat, 7 May 2022 17:49:35 +0100") Message-ID: <87pmkojlg7.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Phil Hudson <phil.hudson@HIDDEN> writes: > If nobody sees any benefit from the idea, I imagine the best thing is > to just close this. I just don't understand the request -- we don't have a Customize interface for altering keymaps anyway. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55301 Cc: 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Phil Hudson <phil.hudson@HIDDEN> writes: > If nobody sees any benefit from the idea, I imagine the best thing is > to just close this. I just don't understand the request -- we don't have a Customize interface for altering keymaps anyway. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 7 May 2022 16:49:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 07 12:49:54 2022 Received: from localhost ([127.0.0.1]:52882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nnNcw-0001BF-0c for submit <at> debbugs.gnu.org; Sat, 07 May 2022 12:49:54 -0400 Received: from mail-vs1-f41.google.com ([209.85.217.41]:33288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philhudsonster@HIDDEN>) id 1nnNcu-0001B1-BD for 55301 <at> debbugs.gnu.org; Sat, 07 May 2022 12:49:52 -0400 Received: by mail-vs1-f41.google.com with SMTP id v139so10092188vsv.0 for <55301 <at> debbugs.gnu.org>; Sat, 07 May 2022 09:49:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=INQAgbvR/3+nVz34+Om3Wc5Pd75ZP6StpEbMu9NgyS0=; b=nV4miKfukDadH8+1k3DAu3rf6LaRFZ33N3pwmiJ3A1RYCOk94/N/nqGRFJM3rgtMjq 2HW5gfWs+Yd5Z77NqnnGio3LAhVIxCNJOTFFNJwYycIZ2TCfWC1F5kDWcu026eZzXZVZ djJAbME6XnwCyLuYfumvjAqNIzojuzl8BpnUI6oZSXMOSda4ZKJl7sfIfKvBUMbxM99y dyh/a7seLtz6TfmYLTqmvdKTEl+aVUo39MBUAP6zftg1/635ROUW/nyDEeQ4Ro6JNLo7 are9xyQ+VbFkBRd+wSRPZKGa08iJqM9MgyDcVkgME0MvptgVv8ZkXldOxdwozGijwFnO L6kA== X-Gm-Message-State: AOAM531L61wiiw4JXHTdSLa7c17yQujkmZbZQqlSfIuC79smaJMplS9h vYM8pANkFRH04HyIesoLPO34v4Yy3oPT1kK3di8= X-Google-Smtp-Source: ABdhPJwUbwFJoIpRTdqcihZ4p8ed36qc+s9XR8j8srOwdoia+c45lJ0sf54w1Qt1o5pVz4tUUAYEyVvo9LNSAmPa6yE= X-Received: by 2002:a05:6102:390d:b0:32d:93ae:47d6 with SMTP id e13-20020a056102390d00b0032d93ae47d6mr4813490vsu.27.1651942186743; Sat, 07 May 2022 09:49:46 -0700 (PDT) MIME-Version: 1.0 References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> <8735hlnypl.fsf@HIDDEN> In-Reply-To: <8735hlnypl.fsf@HIDDEN> From: Phil Hudson <phil.hudson@HIDDEN> Date: Sat, 7 May 2022 17:49:35 +0100 Message-ID: <CAJ1MqVHXNAdwPJCk3MwsMZbE0hqZzh+TOjvFAH4Vcz+DCde2Ug@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap To: Lars Ingebrigtsen <larsi@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 55301 Cc: 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) If nobody sees any benefit from the idea, I imagine the best thing is to just close this. On Sat, 7 May 2022 at 16:34, Lars Ingebrigtsen <larsi@HIDDEN> wrote: > > Phil Hudson <phil.hudson@HIDDEN> writes: > > > How about if the KEYMAP argument (or the :keymap slot) of > > `define-minor-mode', if given, planted a `defcustom' form for the > > keymap, thus automagically making each minor mode keymap a > > customization option? > > We don't use defcustoms for other mode maps, so I'm not sure why we > should for the ones tied to `define-minor-mode'? Am I missing > something? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 55301) by debbugs.gnu.org; 7 May 2022 15:34:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 07 11:34:43 2022 Received: from localhost ([127.0.0.1]:52701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nnMSA-0000yC-Pa for submit <at> debbugs.gnu.org; Sat, 07 May 2022 11:34:42 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1nnMS8-0000xv-W7 for 55301 <at> debbugs.gnu.org; Sat, 07 May 2022 11:34:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FTTl0pH4pFYBLU4VlMUfh0GbpJWplRcDctT1li0FQ6Q=; b=jFXu4MmVB7bP6gkhhUWwiEU5Hy b75aY2ZcCyxoBJPT+LwcpN4H1DkjZsUs3aLzrzGuzlanO7WPj8uzz6fjH/CA/xS109si7wa9z+wUv RQC0t9Xd5eT5088ZY+7ezBADUMGXvM+f7sLsTukhQcDIH6Rzp9y3adVO+K6qfRBymzJc=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1nnMRz-0004b8-7p; Sat, 07 May 2022 17:34:34 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Phil Hudson <phil.hudson@HIDDEN> Subject: Re: bug#55301: 27.2; RFE: Auto-create defcustom for declared minor mode keymap References: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> X-Now-Playing: Fine Young Cannibals's _Fine Young Cannibals_: "Move To Work" Date: Sat, 07 May 2022 17:34:30 +0200 In-Reply-To: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> (Phil Hudson's message of "Sat, 7 May 2022 15:07:23 +0100") Message-ID: <8735hlnypl.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Phil Hudson <phil.hudson@HIDDEN> writes: > How about if the KEYMAP argument (or the :keymap slot) of > `define-minor-mode', if given, planted a `defcustom' form for the > keymap, thus automagically making each minor mode keymap a > customiza [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55301 Cc: 55301 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Phil Hudson <phil.hudson@HIDDEN> writes: > How about if the KEYMAP argument (or the :keymap slot) of > `define-minor-mode', if given, planted a `defcustom' form for the > keymap, thus automagically making each minor mode keymap a > customization option? We don't use defcustoms for other mode maps, so I'm not sure why we should for the ones tied to `define-minor-mode'? Am I missing something? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 7 May 2022 14:07:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 07 10:07:38 2022 Received: from localhost ([127.0.0.1]:52636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nnL5u-00078N-Ec for submit <at> debbugs.gnu.org; Sat, 07 May 2022 10:07:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:38250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philhudsonster@HIDDEN>) id 1nnL5t-00078D-Hu for submit <at> debbugs.gnu.org; Sat, 07 May 2022 10:07:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <philhudsonster@HIDDEN>) id 1nnL5t-0000pH-Ey for bug-gnu-emacs@HIDDEN; Sat, 07 May 2022 10:07:37 -0400 Received: from mail-vs1-f45.google.com ([209.85.217.45]:34666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philhudsonster@HIDDEN>) id 1nnL5s-0002uP-4d for bug-gnu-emacs@HIDDEN; Sat, 07 May 2022 10:07:37 -0400 Received: by mail-vs1-f45.google.com with SMTP id e10so9821425vsr.1 for <bug-gnu-emacs@HIDDEN>; Sat, 07 May 2022 07:07:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=URuKnkvIqNYLEHu5CKVbBaVCqAWucG5ZEJLeuOZW5gY=; b=J7IMhHL3VYbl7JvK/JTbkw6/jN5RlPLJ/6CWttbusO+KDQShmFh1H98eyf87zXSq2V q/XAuV29oPNzTTtAGMEi3ONb90irEcBa9M9T2q7YA+NmR6vlNGRd0Weivsc/fkexfRXv 5QTvbKih2kUQlTYJz9xUz3brc7ZOeEzt0XpyvJOdbo/1d6Vq8Ugppg/SIylqGJv8Ismy 3+iGQFl9kBDITDIqO3sCQ2IMqc0PAoi9NXBhwJWcHYzgSshXH2SzuP8h8nIkCm5kz0Cz NZ48uPSeM3Z6IKKpAefXmaQRTfrbZD4nh585cgZDqqV0Nu3P/KZ5T7cpHFTrVKH9br7B 83ug== X-Gm-Message-State: AOAM530NhL5RaoW3TMzo0eU5rUCN2YgdonKMvZiLjkVBGhbk58oqJbr1 qdu3HUBkVI9iCXJzJWOnZd/0dQPTzsXYC9GfDfWUbNlRUKI= X-Google-Smtp-Source: ABdhPJx9wHOsBH1I15Xc80j/Uy/Ug10ZO9IY4DADuY0bDugNauqLyio859xX64JFaxvxtfn91/kkC5uawjh+7kO7g7Y= X-Received: by 2002:a05:6102:113:b0:32d:8a58:fde7 with SMTP id z19-20020a056102011300b0032d8a58fde7mr4164757vsq.54.1651932454531; Sat, 07 May 2022 07:07:34 -0700 (PDT) MIME-Version: 1.0 From: Phil Hudson <phil.hudson@HIDDEN> Date: Sat, 7 May 2022 15:07:23 +0100 Message-ID: <CAJ1MqVGC-CeJoP+URKKf4ceqLx6rMYFzJrL-hJbCfouQ-=csyw@HIDDEN> Subject: 27.2; RFE: Auto-create defcustom for declared minor mode keymap To: bug-gnu-emacs@HIDDEN Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=209.85.217.45; envelope-from=philhudsonster@HIDDEN; helo=mail-vs1-f45.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.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.8 (-) --------- How about if the KEYMAP argument (or the :keymap slot) of `define-minor-mode', if given, planted a `defcustom' form for the keymap, thus automagically making each minor mode keymap a customization option?
Phil Hudson <phil.hudson@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#55301
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.