emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keymap.el and its checks


From: Juri Linkov
Subject: Re: keymap.el and its checks
Date: Mon, 03 Oct 2022 22:57:19 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>> BTW, repeat-exit-key could support `kbd` format as well after changing
>> its customization type to:
>>
>>   :type '(choice (const :tag "No special key to exit repeating sequence" nil)
>>                  (string :tag "Kbd string that exits repeating sequence")
>>                  (key-sequence :tag "Key that exits repeating sequence"))
>>
>> This assumes that `key-sequence` can't be a string.
>
> `key-sequence` can definitely be a string.

This means they can be used together.  So I just replaced
`key-sequence` with `key`, and added backward-compatibility code.

>> After that you could use (key-parse repeat-exit-key) to append it
>> to unread-command-events.
>
> `key-parse` returns a ... key-sequence, so it's of no help to Raman's
> "problem".

I believe the new function repeat-exit will help Raman in another way.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]