From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: bobnewell@bobnewell.net, 15012@debbugs.gnu.org
Subject: bug#15012: 23.3; read-char inappropriate echo area content
Date: Thu, 15 Aug 2019 09:01:26 -0700 [thread overview]
Message-ID: <878sruwh7t.fsf@mouse.gnus.org> (raw)
In-Reply-To: <83h86iqylj.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 15 Aug 2019 17:42:32 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
> I can reproduce it very easily, both in Emacs 26 and 27. I wonder how
> come you couldn't.
Me too. If I do M-: (read-char) in this Emacs, the echo area remains
empty. If I start a new Emacs and do the same, the echo area says
"M-:-", so... something I have eval-ed in this session has changed the
behaviour? `read-char' still points to the built-in function...
> I don't think it's a bug, though: that's how character echoing works
> in Emacs. It is even kinda-documented in the ELisp manual, under
> read-event.
>
> I've reopened the bug, but if people agree this is established and
> documented (albeit perhaps surprising) behavior, I think it should be
> closed as wontfix.
I think this behaviour should be noted in the doc string, at least. The
only thing it says about PROMPT is
--
If the optional argument PROMPT is non-nil, display that as a prompt.
--
and noting the nil/"" behaviour should be simple enough. (I guess the
changes should be to the doc strings of
read-event/read-char/read-char-exclusive.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2019-08-15 16:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-02 7:12 bug#15012: 23.3; read-char inappropriate echo area content Bob Newell
2019-08-15 3:57 ` Lars Ingebrigtsen
2019-08-15 14:42 ` Eli Zaretskii
2019-08-15 16:01 ` Lars Ingebrigtsen [this message]
2019-08-15 16:11 ` Andreas Schwab
2019-08-15 16:14 ` Lars Ingebrigtsen
2019-08-15 16:24 ` Eli Zaretskii
2019-08-15 22:12 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878sruwh7t.fsf@mouse.gnus.org \
--to=larsi@gnus.org \
--cc=15012@debbugs.gnu.org \
--cc=bobnewell@bobnewell.net \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.