GNU bug report logs -
#51475
read-char-choice should hide the cursor
Previous Next
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
View this message in rfc822 format
Gregory Heytings <gregory <at> 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
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.