[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Moving kbd to subr.el
From: |
Stefan Kangas |
Subject: |
Re: Moving kbd to subr.el |
Date: |
Wed, 20 Oct 2021 06:18:00 -0700 |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> The syntax that `kbd' understands is the one that we're using to display
> keystrokes in help texts and manuals, so inventing another syntax for
> defining keys doesn't seem productive.
One idea is to disallow string syntax on the 'kbd-*' level of the API,
and have another function intended for end-users in their init file that
does allow string syntax.
I can't remember if it has been mentioned before, but John Wiegley's
bind-key.el (part of use-package) is one alternative for this. Its
documentation is here:
https://github.com/jwiegley/use-package/blob/master/bind-key.el
One nice thing about `bind-keys' is that you differentiate between your
own keybindings and those from Emacs and packages; you show all personal
key bindings with `M-x describe-personal-keybindings'. This lists only
those keybindings added with `bind-key'.
(I believe that we already have the copyright assignment for
bind-keys.el specifically, even if we don't have it for the full
use-package.el. The only remaining contributor to sort assignments for
use-package.el has only 6 lines added to the file bind-keys.el.)
- Re: Moving kbd to subr.el, (continued)
- Re: Moving kbd to subr.el, Eli Zaretskii, 2021/10/17
- Re: Moving kbd to subr.el, Gregory Heytings, 2021/10/17
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/17
- Re: Moving kbd to subr.el, Eli Zaretskii, 2021/10/18
- Re: Moving kbd to subr.el, Gregory Heytings, 2021/10/18
- Re: Moving kbd to subr.el, Eli Zaretskii, 2021/10/18
- Re: Moving kbd to subr.el, Gregory Heytings, 2021/10/18
- Re: Moving kbd to subr.el, Stefan Monnier, 2021/10/18
- Re: Moving kbd to subr.el, Richard Stallman, 2021/10/20
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/20
- Re: Moving kbd to subr.el,
Stefan Kangas <=
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/20
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/20
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/20
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/21
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/21
- RE: [External] : Re: Moving kbd to subr.el, Drew Adams, 2021/10/21
- Re: Moving kbd to subr.el, T.V Raman, 2021/10/20
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/20
- Re: Moving kbd to subr.el, T.V Raman, 2021/10/21
- Re: Moving kbd to subr.el, Philip Kaludercic, 2021/10/20