emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Interest in keymap-set + use-package (+ bind-key)?


From: Jim Porter
Subject: Interest in keymap-set + use-package (+ bind-key)?
Date: Sun, 10 Nov 2024 19:03:28 -0800

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]