all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Interest in keymap-set + use-package (+ bind-key)?
@ 2024-11-11  3:03 Jim Porter
  2024-11-14 14:13 ` Sebastián Monía
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Porter @ 2024-11-11  3:03 UTC (permalink / raw)
  To: emacs-devel

Currently, use-package uses the "legacy" 'define-key' by way of the 
bind-key package. This trips me up sometimes, since the spellings of 
keys are slightly different between 'define-key' and the newer 
'keymap-set' (I mostly run into this when remapping a command).

Would there be any interest in adding support (somehow) to use-package 
for 'keymap-set' and friends? I'm open to options for the specifics 
here. For example, bind-key is also useful for providing 
'describe-personal-keybindings'. Maybe we could enhance bind-key to 
optionally work more like 'keymap-set'? That could be with some new 
option, like 'bind-key-use-keymap-set', or some new function, like 
'keymap-bind-key'[1].

Any thoughts? If this is something others would like, I'd be happy to 
implement this.

[1] This could use a better name, but this name should hopefully suffice 
for discussion purposes.



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

end of thread, other threads:[~2024-11-14 21:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-11  3:03 Interest in keymap-set + use-package (+ bind-key)? Jim Porter
2024-11-14 14:13 ` Sebastián Monía
2024-11-14 21:47   ` Jim Porter

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.