unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ergus <spacibba@aol.com>
Cc: 39564@debbugs.gnu.org
Subject: bug#39564: 28.0.50; read-key function do not display the prompt if called from read-from-minibuffer
Date: Tue, 11 Feb 2020 17:50:45 +0200	[thread overview]
Message-ID: <837e0trulm.fsf@gnu.org> (raw)
In-Reply-To: <20200211144941.godmcifegapmqg6i@Ergus> (bug-gnu-emacs@gnu.org)

> Date: Tue, 11 Feb 2020 15:49:41 +0100
> From: Ergus via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> read-key function not display the prompt if called from
> read-from-minibuffer
> 
> In the current emacs master this issue breaks a package like ivy.
> 
> This has been discused in: https://github.com/abo-abo/swiper/issues/2444
> 
> As a test code provided by the ivy developer Oleh Krehel:
> 
> ```
> (let ((map (make-sparse-keymap)))
>    (define-key map (kbd "C-f") (lambda ()
>                                  (interactive)
>                                  (message "%S" (read-key "line1\nline2\nline3\nTest2: "))
>                                  (minibuffer-keyboard-quit)))
>    (read-from-minibuffer "Test1: " nil map))
> ```

I tried this, but without instructions how to reproduce the problem, I
cannot be sure I did the required gestures.  Just evaluating the above
in *scratch* and then typing C-f does show the prompt, IIUC what is
meant by that.

So please provide more detailed instructions to reproduce the issue.

Thanks.





  reply	other threads:[~2020-02-11 15:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200211144941.godmcifegapmqg6i.ref@Ergus>
2020-02-11 14:49 ` bug#39564: 28.0.50; read-key function do not display the prompt if called from read-from-minibuffer Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-02-11 15:50   ` Eli Zaretskii [this message]
2020-02-11 16:17   ` Oleh Krehel
2020-02-11 17:36     ` Eli Zaretskii
2020-02-12 13:21       ` Oleh Krehel
2020-02-12 17:22         ` Eli Zaretskii
2020-02-12 22:37   ` bug#39564: 28.0.50; read-key function do not display the prompt Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-02-26 20:04   ` bug#39564: Matt Kramer
2020-02-28  7:26     ` bug#39564: Eli Zaretskii
2020-02-28 17:33   ` bug#39564: Matt Kramer
2020-02-29  8:16     ` bug#39564: Eli Zaretskii
2020-03-01 22:26       ` bug#39564: Matt Kramer
2020-03-02  7:20         ` bug#39564: Matt Kramer
2020-03-02  8:46           ` bug#39564: Eli Zaretskii
2022-02-20 15:13             ` bug#39564: 28.0.50; read-key function do not display the prompt if called from read-from-minibuffer 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=837e0trulm.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=39564@debbugs.gnu.org \
    --cc=spacibba@aol.com \
    /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).