[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27454: C-S-g [keyboard-quit] doesn't work to get out of disabled com
From: |
Lars Ingebrigtsen |
Subject: |
bug#27454: C-S-g [keyboard-quit] doesn't work to get out of disabled command choice |
Date: |
Sun, 21 Jul 2019 19:22:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Lars Ingebrigtsen <larsi@gnus.org>
>> Date: Sun, 21 Jul 2019 17:48:54 +0200
>> Cc: 27454@debbugs.gnu.org
>>
>> (while (progn (setq char (read-event))
>> (or (not (numberp char))
>> (not (memq (downcase char)
>> '(?! ?y ?n ?\s ?\C-g)))))
>> (ding)
>> (message "Please type y, n, ! or SPC (the space bar): "))))
>>
>>
>>
>> Because normally C-S-g works the same as C-g (see below). Should we
>> perhaps just add C-S-g to the events this function checks for?
>
> But C-S-g is not a character.
But it's an event...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no