[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Moving kbd to subr.el
From: |
Stefan Kangas |
Subject: |
Moving kbd to subr.el |
Date: |
Tue, 12 Oct 2021 20:18:20 -0700 |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> No, skimming that, it's much simpler than I imagined. Rewriting that
> and plonking it into subr.el would be nice. I mean, I think we should
> do that anyway, so that we can use `kbd' everywhere.
I've attached a quick proof-of-concept of moving the kbd implementation
to subr.el. With this, all the tests I have assembled so far pass and
this bootstraps. It was mostly just a case of ripping out the calls to
cl-lib functions.
If this is something we want to do, I can finish this patch up. To
begin with, I'd want to look it all over for correctness and add more
tests (ideas welcome). I guess it would also make sense to just change
`read-kbd-macro' to call kbd, instead of the other way around.
0001-Move-read-kbd-macro-implementation-to-key-in-subr.el.patch
Description: Text Data
- Re: master 859190f 2/3: Convert some keymaps to defvar-keymap, Stefan Kangas, 2021/10/12
- Re: master 859190f 2/3: Convert some keymaps to defvar-keymap, Lars Ingebrigtsen, 2021/10/12
- Re: master 859190f 2/3: Convert some keymaps to defvar-keymap, Stefan Kangas, 2021/10/12
- Re: master 859190f 2/3: Convert some keymaps to defvar-keymap, Lars Ingebrigtsen, 2021/10/12
- Re: master 859190f 2/3: Convert some keymaps to defvar-keymap, Stefan Kangas, 2021/10/12
- Re: master 859190f 2/3: Convert some keymaps to defvar-keymap, Lars Ingebrigtsen, 2021/10/12
- Re: master 859190f 2/3: Convert some keymaps to defvar-keymap, Lars Ingebrigtsen, 2021/10/12
- Re: master 859190f 2/3: Convert some keymaps to defvar-keymap, Stefan Kangas, 2021/10/12
- Re: master 859190f 2/3: Convert some keymaps to defvar-keymap, Lars Ingebrigtsen, 2021/10/12
- Re: master 859190f 2/3: Convert some keymaps to defvar-keymap, Lars Ingebrigtsen, 2021/10/12
- Moving kbd to subr.el,
Stefan Kangas <=
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/13
- Re: Moving kbd to subr.el, Eli Zaretskii, 2021/10/13
- Re: Moving kbd to subr.el, Stefan Monnier, 2021/10/13
- Re: Moving kbd to subr.el, T.V Raman, 2021/10/13
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/13
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/13
- Re: Moving kbd to subr.el, T.V Raman, 2021/10/13
- Re: Moving kbd to subr.el, T.V Raman, 2021/10/13
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/13
- Re: Moving kbd to subr.el, Eli Zaretskii, 2021/10/13