GNU bug report logs - #51475
read-char-choice should hide the cursor

Previous Next

Package: emacs;

Reported by: ndame <laszlomail <at> protonmail.com>

Date: Fri, 29 Oct 2021 05:26:02 UTC

Severity: normal

Tags: moreinfo, wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Gregory Heytings <gregory <at> heytings.org>
Cc: ndame <laszlomail <at> protonmail.com>, 51475 <at> debbugs.gnu.org
Subject: Re: bug#51475: read-char-choice should hide the cursor
Date: Fri, 29 Oct 2021 20:47:42 +0200
Gregory Heytings <gregory <at> heytings.org> writes:

> Or we could make it depend on a dynamic variable.  See attached patch.

I'd rather have an optional variable if this is something that should be
controlled.

But I'm not sure we want to.  The original example was:

(read-char-choice " a - good\n b - bad\n c - ugly" '(?a ?b ?c))

But that's an ugly prompt in itself.  If it's amended to

(read-char-choice " a - good\n b - bad\n c - ugly: " '(?a ?b ?c))

then it's fine showing the cursor.  (And that's a prompt should look.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 260 days ago.

Previous Next


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