[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: not good proposal: "C-z <letter>" reserved for users
From: |
Emanuel Berg |
Subject: |
Re: not good proposal: "C-z <letter>" reserved for users |
Date: |
Sat, 13 Feb 2021 15:17:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Jean Louis wrote:
> It would be good if packages would be advised how to bind
> keys and to provide alternatives if some of the keys are
> already bound by users. One can use the below function.
Good idea, but like I said, there is a whole section of such
conventions in the docs. I'll look for it...
> key-binding is a built-in function in ‘C source code’.
>
> (key-binding KEY &optional ACCEPT-DEFAULT NO-REMAP POSITION)
>
> Then the function (key-binding (kbd "s-p p")) yields at my
> side with `cf-tabulated-people'. It could be used to detect
> which key is already bound and then the configuration wizard
> could ask or suggest to user how otherwise to bind the keys.
Indeed, the byte compiler, checkdoc and/or the docstrings
should reflect these conventions, and the more interactively,
and the less RTFM/tl;dr, the better.
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
- Re: not good proposal: "C-z <letter>" reserved for users, (continued)
- Re: not good proposal: "C-z <letter>" reserved for users, Joost Kremers, 2021/02/11
- Re: not good proposal: "C-z <letter>" reserved for users, Gregory Heytings, 2021/02/11
- Re: not good proposal: "C-z <letter>" reserved for users, Joost Kremers, 2021/02/12
- Re: not good proposal: "C-z <letter>" reserved for users, Gregory Heytings, 2021/02/12
- Re: not good proposal: "C-z <letter>" reserved for users, Joost Kremers, 2021/02/12
- Re: not good proposal: "C-z <letter>" reserved for users, Emanuel Berg, 2021/02/12
- Re: not good proposal: "C-z <letter>" reserved for users, Robert Thorpe, 2021/02/12
- Re: not good proposal: "C-z <letter>" reserved for users, Dmitry Gutov, 2021/02/12
- Re: not good proposal: "C-z <letter>" reserved for users, Robert Thorpe, 2021/02/13
- Re: not good proposal: "C-z <letter>" reserved for users, Jean Louis, 2021/02/13
- Re: not good proposal: "C-z <letter>" reserved for users,
Emanuel Berg <=
- RE: [External] : Re: not good proposal: "C-z <letter>" reserved for users, Drew Adams, 2021/02/13
- Re: [External] : Re: not good proposal: "C-z <letter>" reserved for users, Jean Louis, 2021/02/13
- Re: [External] : Re: not good proposal: "C-z <letter>" reserved for users, Dmitry Gutov, 2021/02/13
- Re: [External] : Re: not good proposal: "C-z <letter>" reserved for users, Philip Kaludercic, 2021/02/13
- RE: [External] : Re: not good proposal: "C-z <letter>" reserved for users, Drew Adams, 2021/02/14
- Re: [External] : Re: not good proposal: "C-z <letter>" reserved for users, Robert Thorpe, 2021/02/14
- Re: not good proposal: "C-z <letter>" reserved for users, Dmitry Gutov, 2021/02/13
- Re: not good proposal: "C-z <letter>" reserved for users, Robert Thorpe, 2021/02/14
- Re: not good proposal: "C-z <letter>" reserved for users, Dmitry Gutov, 2021/02/15
- Re: not good proposal: "C-z <letter>" reserved for users, Jean Louis, 2021/02/16