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


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Daniel Martín <mardani29 <at> yahoo.es>
Cc: ndame <laszlomail <at> protonmail.com>, Gregory Heytings <gregory <at> heytings.org>, 51475 <at> debbugs.gnu.org
Subject: bug#51475: read-char-choice should hide the cursor
Date: Sat, 30 Oct 2021 13:36:13 +0200
Daniel Martín <mardani29 <at> yahoo.es> writes:

> Isearch for example doesn't show the cursor after the colon until after
> the cursor can do something useful (ie. you press M-e to edit the search
> string).  By the same reasoning, I think that read-char-choice should
> always hide the cursor.

read-char-choice is a generalisation (sort of) of `y-or-n-p', which does
show the cursor.  (And I checked with 25.1 -- it shows the cursor there,
too.)

So if we're going to make things consistent, then we'd have to start
showing a fake cursor in the echo area for commands like `C-s' and
`C-x', too.

But...  I don't feel very enthusiastic about the idea.

> I'd prefer if we decide if the cursor is always visible or invisible.
> Adding variables or parameters for this would add complexity to Emacs
> for a, IMO, small matter.  If there's no agreement, I think leaving
> things as is is preferably, but that's just my opinion.

Yeah, probably.

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