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: Sat, 30 Oct 2021 13:38:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Gregory Heytings <gregory@heytings.org> writes:

> Indeed, that's yet another solution:
>
> (minibuffer-with-setup-hook
>     (lambda () (setq-local cursor-type nil))
>   (read-char-choice " a - good\n b - bad\n c - ugly" '(?a ?b ?c)))
>
> But that doesn't work if read-char-choice-use-read-key is non-nil.
> And given that cursor-in-echo-area is explicitly bound in
> read-char-choice-use-read-key, there's I think no similar trick that
> could be used to make that case work.

That's true -- people who want to hide the cursor has to set/bind
read-char-choice-use-read-key to nil.  But I think that's OK.

I think that, upon reflection, that there's nothing here that needs to
be fixed.  So I'm closing this bug report.

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