From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#48197: describe-key could mention original values Date: Tue, 04 May 2021 10:17:04 +0200 Message-ID: <871ramc3r3.fsf@gnus.org> References: <871rang7a2.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10904"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48197@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 04 10:18:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldqFv-0002gX-Ia for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 May 2021 10:18:11 +0200 Original-Received: from localhost ([::1]:36364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldqFu-0000ZT-Ky for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 May 2021 04:18:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldqFm-0000Xj-4D for bug-gnu-emacs@gnu.org; Tue, 04 May 2021 04:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40079) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldqFl-0002CH-Sl for bug-gnu-emacs@gnu.org; Tue, 04 May 2021 04:18:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldqFl-00022a-Nc for bug-gnu-emacs@gnu.org; Tue, 04 May 2021 04:18:01 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 48197-submit@debbugs.gnu.org id=B48197.16201162507004 (code B ref 48197); Tue, 04 May 2021 08:18:01 +0000 Original-Received: (at 48197) by debbugs.gnu.org; 4 May 2021 08:17:30 +0000 Original-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 Original-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=; Original-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 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" 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") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205579 Archived-At: =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