bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51475: read-char-choice should hide the cursor


From: Lars Ingebrigtsen
Subject: bug#51475: read-char-choice should hide the cursor
Date: Fri, 29 Oct 2021 20:47:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Gregory Heytings <gregory@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]