From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: 32738@debbugs.gnu.org
Subject: bug#32738: 26.1.50; 'read-answer' allows only single characters as short answers
Date: Sun, 16 Sep 2018 19:51:54 +0300 [thread overview]
Message-ID: <834lepidw5.fsf@gnu.org> (raw)
In-Reply-To: <87in361ixu.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 16 Sep 2018 01:42:37 +0300)
> From: Juri Linkov <juri@linkov.net>
> Cc: 32738@debbugs.gnu.org
> 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
single-key-description instead.
Thanks.
next prev parent reply other threads:[~2018-09-16 16:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-15 9:04 bug#32738: 26.1.50; 'read-answer' allows only single characters as short answers Eli Zaretskii
2018-09-15 22:42 ` Juri Linkov
2018-09-16 16:51 ` Eli Zaretskii [this message]
2018-09-16 23:00 ` Juri Linkov
2019-12-08 23:28 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=834lepidw5.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=32738@debbugs.gnu.org \
--cc=juri@linkov.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).