From unknown Fri Jun 20 18:14:51 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#32738 <32738@debbugs.gnu.org> To: bug#32738 <32738@debbugs.gnu.org> Subject: Status: 26.1.50; 'read-answer' allows only single characters as short answers Reply-To: bug#32738 <32738@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:14:51 +0000 retitle 32738 26.1.50; 'read-answer' allows only single characters as short= answers reassign 32738 emacs submitter 32738 Eli Zaretskii severity 32738 wishlist tag 32738 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 15 05:04:51 2018 Received: (at submit) by debbugs.gnu.org; 15 Sep 2018 09:04:51 +0000 Received: from localhost ([127.0.0.1]:41093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g16VX-00006y-3a for submit@debbugs.gnu.org; Sat, 15 Sep 2018 05:04:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g16VU-00006j-OC for submit@debbugs.gnu.org; Sat, 15 Sep 2018 05:04:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g16VO-0003Am-C3 for submit@debbugs.gnu.org; Sat, 15 Sep 2018 05:04:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58530) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g16VO-0003Ac-7S for submit@debbugs.gnu.org; Sat, 15 Sep 2018 05:04:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g16VN-0004Np-4x for bug-gnu-emacs@gnu.org; Sat, 15 Sep 2018 05:04:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g16VJ-00038X-3K for bug-gnu-emacs@gnu.org; Sat, 15 Sep 2018 05:04:41 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g16VH-00037s-Tp for bug-gnu-emacs@gnu.org; Sat, 15 Sep 2018 05:04:37 -0400 Received: from [176.228.60.248] (port=3443 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g16VH-0005yp-Hr for bug-gnu-emacs@gnu.org; Sat, 15 Sep 2018 05:04:35 -0400 Date: Sat, 15 Sep 2018 12:04:27 +0300 Message-Id: <83y3c3i12c.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org Subject: 26.1.50; 'read-answer' allows only single characters as short answers X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) This is a feature request. The new function read-answer allows only single-character short answers, and formats them with %c in the prompt displayed to the user. This has several disadvantages: . Function keys cannot be used as short answers. For example, it would be good to be able to use F1 for "help", but it is currently impossible. . Character events that aren't valid characters, such as C-M-h, cannot be used, because %c barfs when it sees a character event with modifiers (it doesn't pass the 'characterp' test). . Control characters, like C-h, are shown as raw bytes, with their special face, thus standing out unnecessarily. It would be nice if these restrictions could be lifted. In GNU Emacs 26.1.50 (build 205, i686-pc-mingw32) of 2018-09-15 built on HOME-C4E4A596F7 Repository revision: 20ecc5266e1ffb1cff3e31475631b5c76b99e997 Windowing system distributor 'Microsoft Corp.', version 5.1.2600 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=/d/usr --with-wide-int --with-modules --enable-checking=yes,glyphs --enable-check-lisp-object-type 'CFLAGS=-O0 -gdwarf-4 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS LCMS2 Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 102100 11497) (symbols 56 21325 1) (miscs 48 42 98) (strings 16 31711 1931) (string-bytes 1 773712) (vectors 16 14876) (vector-slots 8 505915 15424) (floats 8 55 115) (intervals 40 279 103) (buffers 880 11)) From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 15 18:47:58 2018 Received: (at 32738) by debbugs.gnu.org; 15 Sep 2018 22:47:58 +0000 Received: from localhost ([127.0.0.1]:41804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g1JM5-0001aD-GP for submit@debbugs.gnu.org; Sat, 15 Sep 2018 18:47:58 -0400 Received: from pop.dreamhost.com ([64.90.62.162]:58682 helo=pdx1-sub0-mail-a20.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g1JM3-0001a5-H7 for 32738@debbugs.gnu.org; Sat, 15 Sep 2018 18:47:56 -0400 Received: from pdx1-sub0-mail-a20.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a20.g.dreamhost.com (Postfix) with ESMTP id 50BFB8103C; Sat, 15 Sep 2018 15:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=1uVmYGOa68Adq7iU24u9b61DmH4=; b= lVNH3FuerHR22BQGMxksUFdmlWi+mfajEFzNXNhRHxCWc9+YkhTeZtlnDvqD2geX CLnu4aNIDaIgZphQi5x2i4Rca0MkgF7mQT3SzbiddU0FG9lnM6kU7yq2zBrst2eT bjKsO4ZJXrcCdyvxwyfl16i1Dv9TfASIkXvnlrGjc3M= Received: from localhost.linkov.net (m91-129-107-237.cust.tele2.ee [91.129.107.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a20.g.dreamhost.com (Postfix) with ESMTPSA id 7734E8103A; Sat, 15 Sep 2018 15:47:52 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a20 X-DH-BACKEND: pdx1-sub0-mail-a20 From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#32738: 26.1.50; 'read-answer' allows only single characters as short answers Organization: LINKOV.NET References: <83y3c3i12c.fsf@gnu.org> Date: Sun, 16 Sep 2018 01:42:37 +0300 In-Reply-To: <83y3c3i12c.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 15 Sep 2018 12:04:27 +0300") Message-ID: <87in361ixu.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32738 Cc: 32738@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > This is a feature request. > > The new function read-answer allows only single-character short answers, > and formats them with %c in the prompt displayed to the user. This has > several disadvantages: > > . Function keys cannot be used as short answers. For example, it > would be good to be able to use F1 for "help", but it is currently > impossible. > > . Character events that aren't valid characters, such as C-M-h, > cannot be used, because %c barfs when it sees a character event > with modifiers (it doesn't pass the 'characterp' test). > > . Control characters, like C-h, are shown as raw bytes, with their > special face, thus standing out unnecessarily. > > It would be nice if these restrictions could be lifted. 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. Since read-answer should still support single-character for backward-compatibility, this means adding key sequences as a new feature, so all of these will work: (read-answer "Question: " `(("help0" ?h "show help") ("help1" ,(kbd "") "show help") ("help2" ,(kbd "C-M-h") "show help") ("help3" ,(kbd "C-h") "show help"))) diff --git a/lisp/emacs-lisp/map-ynp.el b/lisp/emacs-lisp/map-ynp.el index a61c0adc8f..262284aaf1 100644 --- a/lisp/emacs-lisp/map-ynp.el +++ b/lisp/emacs-lisp/map-ynp.el @@ -308,14 +308,18 @@ read-answer (format "%s(%s) " question (mapconcat (lambda (a) (if short - (format "%c" (nth 1 a)) + (if (characterp (nth 1 a)) + (format "%c" (nth 1 a)) + (key-description (nth 1 a))) (nth 0 a))) answers-with-help ", "))) (message (format "Please answer %s." (mapconcat (lambda (a) (format "`%s'" (if short - (string (nth 1 a)) + (if (characterp (nth 1 a)) + (string (nth 1 a)) + (key-description (nth 1 a))) (nth 0 a)))) answers-with-help " or "))) (short-answer-map @@ -325,13 +329,15 @@ read-answer (let ((map (make-sparse-keymap))) (set-keymap-parent map minibuffer-local-map) (dolist (a answers-with-help) - (define-key map (vector (nth 1 a)) + (define-key map (if (characterp (nth 1 a)) + (vector (nth 1 a)) + (nth 1 a)) (lambda () (interactive) (delete-minibuffer-contents) (insert (nth 0 a)) (exit-minibuffer)))) - (define-key map [remap self-insert-command] + (define-key map [t] (lambda () (interactive) (delete-minibuffer-contents) @@ -370,7 +376,10 @@ read-answer (mapconcat (lambda (a) (format "`%s'%s to %s" - (if short (string (nth 1 a)) (nth 0 a)) + (if short (if (characterp (nth 1 a)) + (string (nth 1 a)) + (key-description (nth 1 a))) + (nth 0 a)) (if short (format " (%s)" (nth 0 a)) "") (nth 2 a))) answers-with-help ",\n") From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 16 12:52:17 2018 Received: (at 32738) by debbugs.gnu.org; 16 Sep 2018 16:52:17 +0000 Received: from localhost ([127.0.0.1]:42283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g1aHQ-0005Sg-PZ for submit@debbugs.gnu.org; Sun, 16 Sep 2018 12:52:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g1aHO-0005SU-MC for 32738@debbugs.gnu.org; Sun, 16 Sep 2018 12:52:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1aHC-0003Qg-44 for 32738@debbugs.gnu.org; Sun, 16 Sep 2018 12:52:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1aHA-0003MK-4o; Sun, 16 Sep 2018 12:52:01 -0400 Received: from [176.228.60.248] (port=2968 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g1aH8-0005k0-LI; Sun, 16 Sep 2018 12:51:59 -0400 Date: Sun, 16 Sep 2018 19:51:54 +0300 Message-Id: <834lepidw5.fsf@gnu.org> From: Eli Zaretskii To: Juri Linkov In-reply-to: <87in361ixu.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 16 Sep 2018 01:42:37 +0300) Subject: Re: bug#32738: 26.1.50; 'read-answer' allows only single characters as short answers References: <83y3c3i12c.fsf@gnu.org> <87in361ixu.fsf@mail.linkov.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32738 Cc: 32738@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Juri Linkov > 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 16 19:38:46 2018 Received: (at 32738) by debbugs.gnu.org; 16 Sep 2018 23:38:46 +0000 Received: from localhost ([127.0.0.1]:42438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g1gco-0000Pc-Dl for submit@debbugs.gnu.org; Sun, 16 Sep 2018 19:38:46 -0400 Received: from pop.dreamhost.com ([64.90.62.162]:59580 helo=pdx1-sub0-mail-a8.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g1gcm-0000PT-Mp for 32738@debbugs.gnu.org; Sun, 16 Sep 2018 19:38:45 -0400 Received: from pdx1-sub0-mail-a8.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a8.g.dreamhost.com (Postfix) with ESMTP id CD623806A1; Sun, 16 Sep 2018 16:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=aJoZfjlEXI3AAxbzcepR716F0Wg=; b= V+Zu2vutXNMorpxKbKpdej6t8OUnHXcuIyLklCeXnda8gwRAnZp8V3icMH0hdK7y x0lhjyX4XEQZEsnJtrTlYccO2UQduQ+3Z5gnXBh4mx1nzBBEk+0jHSLy6N1wPo3M AxCWXIhmbnogA+874G9lkI/XebntUuTItE25EoqqgLk= Received: from localhost.linkov.net (m91-129-107-237.cust.tele2.ee [91.129.107.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a8.g.dreamhost.com (Postfix) with ESMTPSA id E44447E446; Sun, 16 Sep 2018 16:38:42 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a8 X-DH-BACKEND: pdx1-sub0-mail-a8 From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#32738: 26.1.50; 'read-answer' allows only single characters as short answers Organization: LINKOV.NET References: <83y3c3i12c.fsf@gnu.org> <87in361ixu.fsf@mail.linkov.net> <834lepidw5.fsf@gnu.org> Date: Mon, 17 Sep 2018 02:00:25 +0300 In-Reply-To: <834lepidw5.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 16 Sep 2018 19:51:54 +0300") Message-ID: <87a7ohjbee.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32738 Cc: 32738@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> - (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. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 08 18:28:55 2019 Received: (at 32738) by debbugs.gnu.org; 8 Dec 2019 23:28:55 +0000 Received: from localhost ([127.0.0.1]:52432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ie5yx-0003nz-0t for submit@debbugs.gnu.org; Sun, 08 Dec 2019 18:28:55 -0500 Received: from camel.birch.relay.mailchannels.net ([23.83.209.29]:5033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ie5yu-0003nl-Fo; Sun, 08 Dec 2019 18:28:53 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 202556A1385; Sun, 8 Dec 2019 23:28:51 +0000 (UTC) Received: from pdx1-sub0-mail-a84.g.dreamhost.com (100-96-89-245.trex.outbound.svc.cluster.local [100.96.89.245]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id A96CD6A162F; Sun, 8 Dec 2019 23:28:50 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a84.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Sun, 08 Dec 2019 23:28:51 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Stop-Invention: 4a4b9bdd5c398ce6_1575847730925_2999568140 X-MC-Loop-Signature: 1575847730924:1961022751 X-MC-Ingress-Time: 1575847730924 Received: from pdx1-sub0-mail-a84.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a84.g.dreamhost.com (Postfix) with ESMTP id AD911974BC; Sun, 8 Dec 2019 15:28:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=2IWrgq37gZYDH3NZs3dwwbNGslQ=; b= yK/hl5x4g8KQKbRAow6vBP4MzYIMI6YMDZNsAqhOLhKUPmwi+w+1d1UlLdEO+6/Y 5qEg5sDbrnOd7PpEmMUtHaPkBTckqCQc5YOJ9UkzisoJlhZ27LrBXzEtVeFrafUG KrVaunzmLYns/iXrTqXAN8qS04QKF79/XJejtlWJMIk= Received: from mail.jurta.org (m91-129-96-42.cust.tele2.ee [91.129.96.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a84.g.dreamhost.com (Postfix) with ESMTPSA id C2F4397A31; Sun, 8 Dec 2019 15:28:44 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a84 From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#32738: 26.1.50; 'read-answer' allows only single characters as short answers References: <83y3c3i12c.fsf@gnu.org> <87in361ixu.fsf@mail.linkov.net> <834lepidw5.fsf@gnu.org> Date: Mon, 09 Dec 2019 01:28:13 +0200 In-Reply-To: <834lepidw5.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 16 Sep 2018 19:51:54 +0300") Message-ID: <87a782wg6q.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 32738 Cc: 32738@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.1 (-) tags 32738 fixed close 32738 27.0.50 quit >> 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. So this is pushed to master and closed. From unknown Fri Jun 20 18:14:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 06 Jan 2020 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator