unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48197: describe-key could mention original values
@ 2021-05-03 15:35 積丹尼 Dan Jacobson
  2021-05-04  8:17 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-05-03 15:35 UTC (permalink / raw)
  To: 48197

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#48197: describe-key could mention original values
  2021-05-03 15:35 bug#48197: describe-key could mention original values 積丹尼 Dan Jacobson
@ 2021-05-04  8:17 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-04  8:17 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 48197

積丹尼 Dan Jacobson <jidanni@jidanni.org> 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-04  8:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-03 15:35 bug#48197: describe-key could mention original values 積丹尼 Dan Jacobson
2021-05-04  8:17 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).