GNU bug report logs - #32738
26.1.50; 'read-answer' allows only single characters as short answers

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 15 Sep 2018 09:05:02 UTC

Severity: wishlist

Tags: fixed

Found in version 26.1.50

Fixed in version 27.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 32738 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 32738 <at> debbugs.gnu.org
Subject: Re: bug#32738: 26.1.50;
 'read-answer' allows only single characters as short answers
Date: Mon, 17 Sep 2018 02:00:25 +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.




This bug report was last modified 5 years and 167 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.