[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32738: 26.1.50; 'read-answer' allows only single characters as short
bug#32738: 26.1.50; 'read-answer' allows only single characters as short answers
Sun, 16 Sep 2018 19:51:54 +0300
> From: Juri Linkov <address@hidden>
> Cc: address@hidden
> Date: Sun, 16 Sep 2018 01:42:37 +0300
> Do you think it should support only characters with modifiers like C-M-h,
> or also key sequences? I guess the latter since this will lift all
> restrictions on the KEY arg of define-key.
Yes, I agree.
> - (format "%c" (nth 1 a))
> + (if (characterp (nth 1 a))
> + (format "%c" (nth 1 a))
> + (key-description (nth 1 a)))
This will still display C-a s ^A. I suggest to use