[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Moving kbd to subr.el
From: |
T.V Raman |
Subject: |
Re: Moving kbd to subr.el |
Date: |
Tue, 19 Oct 2021 13:53:30 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
how about bind-key instead of define-key --- that "bind" says more
closely what it does.
>> 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`, ...
>
> - 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).
>
>
> Stefan
>
>
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
?7?4 Id: kg:/m/0285kf1 ?0?8
- Re: Moving kbd to subr.el, (continued)
- 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, 2021/10/19
- 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 <=
- 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
- Re: Moving kbd to subr.el, Gregory Heytings, 2021/10/19
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/19
- Re: Moving kbd to subr.el, Juri Linkov, 2021/10/19