From: Noam Postavsky <npostavs@users.sourceforge.net>
To: 23204@debbugs.gnu.org
Cc: Mark Karpov <markkarpov@openmailbox.org>
Subject: bug#23204: 25.1.50; Strange behaviour of ‘read-char’
Date: Sun, 12 Jun 2016 13:02:30 -0400 [thread overview]
Message-ID: <CAM-tV-8KUmQMv2JZWnaxFY2zzyTUXQnHbVoTstAusXycCH9W8A@mail.gmail.com> (raw)
In-Reply-To: <87wpofx9ry.fsf@openmailbox.org>
severity 23204 minor
quit
I also don't quite understand why this happens, but it seems that
using (message nil) to clear the minibuffer also works:
(defun my-command ()
(interactive)
(message nil)
(while (read-char "My prompt…" t)))
(global-set-key (kbd "<f12> t y") #'my-command)
(I can't bind <menu> t y in emacs -Q, I get an error message telling
me <menu> is not a prefix key)
next prev parent reply other threads:[~2016-06-12 17:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-03 10:32 bug#23204: 25.1.50; Strange behaviour of ‘read-char’ Mark Karpov
2016-04-03 14:56 ` Eli Zaretskii
2016-04-03 16:33 ` Mark Karpov
2016-06-12 17:02 ` Noam Postavsky [this message]
2016-06-12 17:11 ` Eli Zaretskii
2016-06-12 17:13 ` Noam Postavsky
2016-06-12 17:17 ` Eli Zaretskii
2016-06-12 17:23 ` Noam Postavsky
2016-06-12 17:26 ` Eli Zaretskii
2022-02-03 20:47 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAM-tV-8KUmQMv2JZWnaxFY2zzyTUXQnHbVoTstAusXycCH9W8A@mail.gmail.com \
--to=npostavs@users.sourceforge.net \
--cc=23204@debbugs.gnu.org \
--cc=markkarpov@openmailbox.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).