all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 32738@debbugs.gnu.org
Subject: bug#32738: 26.1.50; 'read-answer' allows only single characters as short answers
Date: Mon, 17 Sep 2018 02:00:25 +0300	[thread overview]
Message-ID: <87a7ohjbee.fsf@mail.linkov.net> (raw)
In-Reply-To: <834lepidw5.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 16 Sep 2018 19:51:54 +0300")

>> -                                   (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.

I tried single-key-description but it displays ^A,
whereas key-description displays C-a.





  reply	other threads:[~2018-09-16 23:00 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
2018-09-16 23:00     ` Juri Linkov [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a7ohjbee.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=32738@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.