From unknown Mon Jun 23 07:51:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48197: describe-key could mention original values Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 May 2021 15:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48197 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 48197@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162005613331319 (code B ref -1); Mon, 03 May 2021 15:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 May 2021 15:35:33 +0000 Received: from localhost ([127.0.0.1]:47034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldabd-000895-Hi for submit@debbugs.gnu.org; Mon, 03 May 2021 11:35:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:51116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldabb-00088z-T7 for submit@debbugs.gnu.org; Mon, 03 May 2021 11:35:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldabb-0002AX-LB for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 11:35:31 -0400 Received: from cichlid.ash.relay.mailchannels.net ([23.83.222.36]:33510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldabI-0008IM-3L for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 11:35:29 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id B1582701FFF for ; Mon, 3 May 2021 15:35:06 +0000 (UTC) Received: from pdx1-sub0-mail-a61.g.dreamhost.com (100-101-162-42.trex.outbound.svc.cluster.local [100.101.162.42]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 49177701F30 for ; Mon, 3 May 2021 15:35:06 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a61.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.101.162.42 (trex/6.2.1); Mon, 03 May 2021 15:35:06 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Sponge-Skirt: 1047ccd15237257b_1620056106512_3670023784 X-MC-Loop-Signature: 1620056106512:1433111777 X-MC-Ingress-Time: 1620056106512 Received: from pdx1-sub0-mail-a61.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a61.g.dreamhost.com (Postfix) with ESMTP id 087A286C62 for ; Mon, 3 May 2021 08:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=OcRjAIi4u/Om79NeD/8hPYJDBAc=; b=piGK0GlvfrbmBO0C Eujau4rfPVzPKDCw4t8nCHWDdgiIDSgjp7CgZ04x813BNYb9uPXASOD5tITRt/Jw cdiNB0QcwA/2DvCe0vxgUyykCRULUvdNziLbgIPEjjMKf/zOZme8RcgqajbpCLTS K/KW0iBvi7xlk8o73YLphf02o5o= Received: from jidanni.org (114-41-23-222.dynamic-ip.hinet.net [114.41.23.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a61.g.dreamhost.com (Postfix) with ESMTPSA id B6AA586C2F for ; Mon, 3 May 2021 08:35:05 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a61 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Date: Mon, 03 May 2021 23:35:01 +0800 Message-ID: <871rang7a2.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=23.83.222.36; envelope-from=jidanni@jidanni.org; helo=cichlid.ash.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) describe-variable also tells people what the original value was. Perhaps describe-key could also do the same. xxx runs the command yyy It is bound to xxx It was originally bound to aaa and bbb. From unknown Mon Jun 23 07:51:49 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48197: describe-key could mention original values Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 May 2021 08:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48197 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: 48197@debbugs.gnu.org Received: via spool by 48197-submit@debbugs.gnu.org id=B48197.16201162507004 (code B ref 48197); Tue, 04 May 2021 08:18:01 +0000 Received: (at 48197) by debbugs.gnu.org; 4 May 2021 08:17:30 +0000 Received: from localhost ([127.0.0.1]:51619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldqF1-0001eq-2B for submit@debbugs.gnu.org; Tue, 04 May 2021 04:17:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldqEz-0001Zn-6H for 48197@debbugs.gnu.org; Tue, 04 May 2021 04:17:13 -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=tWnfUX/O/dyI0RkxXj+J0yyza1EsuPSQNB+CQgxLG9w=; b=hOvcGrEgKcRGc4cpSfgNOVUy6x +tv5UlK82aafe7N2SwlhCG0hZONUBa2tpr1LPkYGc9PC40ZaF5g66RCagNqFqL/HekLWGaHFOtKk9 OfZHStGboNRQ03SLU1AiHIlATrP6E4QuNMOZ2f3mxySlVeaY03XMiH0TDlOo1YCBiftc=; Received: from cm-84.212.220.105.getinternet.no ([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 ) id 1ldqEq-0008Qp-SX; Tue, 04 May 2021 10:17:07 +0200 From: Lars Ingebrigtsen References: <871rang7a2.5.fsf@jidanni.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEXU2N7m6u+upqeC andPXW8kHCUdFRVIQUv////4nodpAAAAAWJLR0QIht6VegAAAAd0SU1FB+UFBAc5IP16g0EAAAGY SURBVDjLtZPBTsMwDIbbwQOsvAEFaVfUFPUB5q5XBItzRTA7d5Isr0+S0q0ZnTjhQ6vmy//bieui rKpiimoWRZle67i4XgCjbB0f5V8gOq+r9J1bVVeiqGOIMVoBAE9h9UaIAvki3gO4BSjkPJiYX36D UbwASC4ClHJZoXyv5DLoRHdcslJOmw3jJeBQkzPCZQqSiExOd58P3QnQjyAA0/jVgLlCskYlmk3d Y65AfkVz3z00tcyTI+uNb27MV322ojEF+zdTedMcc0W8C92UKw/9JQjCr1IMx1MO/rlBRjLFs6NZ cqRkhaRXLuw5l+u9Ty0ibObAgm2H1AiN2oW6p54D7Ns+Lu80pxZOwPV72AUfAMLsL1E7I0J7eNsO MgMHFNtoZVpwGdAEQgQTBR4wljcBYoA2Jg9V9+Qdf0wnZ7uNOVg6b4+UARuATIeUWs7A3u7Chdl0 SqIZOEBPkizE2tjhGeghblYexns5A3I+2gfmYlteT4C1SidT4xxMilC+FTaMmGjqR9gKEUftrq6v D2d5DVT/D74BbQ4L9ncJn8sAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDUtMDRUMDc6NTc6MzIr MDA6MDAG52SmAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1LTA0VDA3OjU3OjMyKzAwOjAwd7rc GgAAAABJRU5ErkJggg== X-Now-Playing: Anne Clark's _Pressure Points_: "World Without Warning" Date: Tue, 04 May 2021 10:17:04 +0200 In-Reply-To: <871rang7a2.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Mon, 03 May 2021 23:35:01 +0800") Message-ID: <871ramc3r3.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson writes: > describe-variable also tells people what the original value was. > Perhaps describe-key could also do the same. > > xxx runs the command yyy > It is bound to xxx > It was originally bound to aaa and [...] 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > describe-variable also tells people what the original value was. > Perhaps describe-key could also do the same. > > xxx runs the command yyy > It is bound to xxx > It was originally bound to aaa and bbb. This would mean keeping track of all keymap states -- there is no "original value" for a keymap. Or at least keep a list of all overwritten values in `define-key' and friends. I don't think this is particularly useful, and it would require more infrastructure than it's worth. So I'm closing this bug report. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue May 04 04:17:30 2021 Received: (at control) by debbugs.gnu.org; 4 May 2021 08:17:30 +0000 Received: from localhost ([127.0.0.1]:51623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldqFG-0001ot-4Q for submit@debbugs.gnu.org; Tue, 04 May 2021 04:17:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldqF8-0001g9-2X for control@debbugs.gnu.org; Tue, 04 May 2021 04:17:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ai8yw1Y9qvVLwwMldRHkYNacoGMWgPE5IYg1mbiY/d4=; b=H3HeB0upJ19bhmO6RRabwDxHTo RmRoVFPSgwP7+3EFUAX8IOUznd5FrHNwcsFup3Abwy6etrjYoLHLEpMQNuQkK4fn2tVaF8gdKF8De qDpRE3XjZaTaTinP8Y0MtBMuojrQ8JL2qHn4Tbg5ZdtP33TiLEwhaQz/l3IWp3/Ff9iQ=; Received: from cm-84.212.220.105.getinternet.no ([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 ) id 1ldqF0-0008R3-K3 for control@debbugs.gnu.org; Tue, 04 May 2021 10:17:16 +0200 Date: Tue, 04 May 2021 10:17:14 +0200 Message-Id: <87zgxaap6d.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48197 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: tags 48197 wontfix close 48197 quit 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: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 48197 wontfix close 48197 quit