[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The new keymap functions
From: |
Juri Linkov |
Subject: |
Re: The new keymap functions |
Date: |
Tue, 16 Nov 2021 22:14:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> keymap-set
> keymap-local-set
> keymap-global-set
> keymap-local-unset
> keymap-global-unset
> keymap-lookup
>
> define-keymap and defvar-keymap keep their names, but use the
> `kbd-valid-p' syntax.
Whereas the name `defvar-keymap' is nice since it's a top-level macro,
`define-keymap' looks out of place in the same group of functions.
And indeed, such mismatch looks odd:
(define-keymap "C-c C-c" #'quit-buffer)
(keymap-set map "C-c C-c" #'quit-buffer)
What about renaming it to `keymap-define'? Then:
(keymap-define "C-c C-c" #'quit-buffer)
(keymap-set map "C-c C-c" #'quit-buffer)
- Re: The new keymap functions, (continued)
- Re: The new keymap functions, Richard Stallman, 2021/11/14
- Re: The new keymap functions, Lars Ingebrigtsen, 2021/11/15
- Re: The new keymap functions, Richard Stallman, 2021/11/15
- Re: The new keymap functions, Lars Ingebrigtsen, 2021/11/16
- RE: [External] : Re: The new keymap functions, Drew Adams, 2021/11/16
- Re: The new keymap functions, Richard Stallman, 2021/11/16
- Re: The new keymap functions, Lars Ingebrigtsen, 2021/11/17
- RE: [External] : Re: The new keymap functions, Drew Adams, 2021/11/17
- RE: [External] : Re: The new keymap functions, Drew Adams, 2021/11/16
Re: The new keymap functions,
Juri Linkov <=
- Re: The new keymap functions, Richard Stallman, 2021/11/16
- Re: The new keymap functions, Lars Ingebrigtsen, 2021/11/17
- Re: The new keymap functions, Juri Linkov, 2021/11/17
- Re: The new keymap functions, Robert Pluim, 2021/11/17
- Re: The new keymap functions, Juri Linkov, 2021/11/17
- Re: The new keymap functions, Lars Ingebrigtsen, 2021/11/18
- Re: The new keymap functions, Robert Pluim, 2021/11/18
- Re: The new keymap functions, Lars Ingebrigtsen, 2021/11/18
- Re: The new keymap functions, Lars Ingebrigtsen, 2021/11/18
- Re: The new keymap functions, Robert Pluim, 2021/11/18