[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Moving kbd to subr.el
From: |
Lars Ingebrigtsen |
Subject: |
Re: Moving kbd to subr.el |
Date: |
Tue, 19 Oct 2021 17:09:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> kbd-define
>> kbd-define-map
>
> Since we're in the bikeshedding part of this, let me throw some ideas:
>
> - The name `define-key` might be tolerable because it "defines" the behavior
> of
> a given key, but I find it shouldn't say "define" but rather something
> like "set" or "put" since it behaves much more like `setq`, `aset`,
> `put`, `puthash`, ...
That's a really good point. So `kbd-set'?
> - I really don't like `define-keymap` because "define" usually gives
> a definition to a name, but here there's no name. I'd prefer
> something that says "make" or "create", or even just `keymap` (in the
> tradition of reusing a type/class name as the name of the function
> that constructs objects of this type).
I went with "define" since `make-keymap' was taken. But if we're
switching stuff around, then perhaps... `kbd-make'?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Moving kbd to subr.el, (continued)
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/19
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/19
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/19
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/19
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/19
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/19
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/19
- Re: Moving kbd to subr.el, Robert Pluim, 2021/10/19
- Re: Moving kbd to subr.el, Andreas Schwab, 2021/10/19
- Re: Moving kbd to subr.el, Stefan Monnier, 2021/10/19
- Re: Moving kbd to subr.el,
Lars Ingebrigtsen <=
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/19
- Re: Moving kbd to subr.el, Howard Melman, 2021/10/19
- Re: Moving kbd to subr.el, T.V Raman, 2021/10/19
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/19
- Re: Moving kbd to subr.el, Dmitry Gutov, 2021/10/19
- 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, T.V Raman, 2021/10/19
- Re: Moving kbd to subr.el, Dmitry Gutov, 2021/10/19
- Re: Moving kbd to subr.el, Gregory Heytings, 2021/10/19