GNU bug report logs - #39564
28.0.50; read-key function do not display the prompt if called from read-from-minibuffer

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Ergus <spacibba@HIDDEN>; dated Tue, 11 Feb 2020 14:51:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 39564 <at> debbugs.gnu.org:


Received: (at 39564) by debbugs.gnu.org; 11 Feb 2020 17:36:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 11 12:36:36 2020
Received: from localhost ([127.0.0.1]:57451 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1ZSd-00062Q-Re
	for submit <at> debbugs.gnu.org; Tue, 11 Feb 2020 12:36:36 -0500
Received: from eggs.gnu.org ([209.51.188.92]:59356)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1j1ZSc-00062D-Cn
 for 39564 <at> debbugs.gnu.org; Tue, 11 Feb 2020 12:36:34 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:47993)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1j1ZSX-0002Fh-8S; Tue, 11 Feb 2020 12:36:29 -0500
Received: from [176.228.60.248] (port=1505 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1j1ZSW-0004Hp-Kk; Tue, 11 Feb 2020 12:36:29 -0500
Date: Tue, 11 Feb 2020 19:36:26 +0200
Message-Id: <83y2t9qb51.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Oleh Krehel <ohwoeowho@HIDDEN>
In-reply-to: <CAA01p3rTetaBTGmO8=QJritfJHns9QOEwoJcWMwY-9-fc24E4A@HIDDEN>
 (message from Oleh Krehel on Tue, 11 Feb 2020 17:17:02 +0100)
Subject: Re: bug#39564: 28.0.50;
 read-key function do not display the prompt if called from
 read-from-minibuffer
References: <20200211144941.godmcifegapmqg6i@Ergus>
 <CAA01p3rTetaBTGmO8=QJritfJHns9QOEwoJcWMwY-9-fc24E4A@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39564
Cc: 39564 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: Oleh Krehel <ohwoeowho@HIDDEN>
> Date: Tue, 11 Feb 2020 17:17:02 +0100
> 
> Here's an updated code that works as intended on 26.3 and unexpected on 28.
> 
> (defun make-lines (n)
>   (mapconcat #'number-to-string
>              (number-sequence 0 n) "\n"))
> 
> (let ((map (make-sparse-keymap)))
>   (define-key map (kbd "C-f") (lambda ()
>                                 (interactive)
>                                 (let ((inhibit-field-text-motion t))
>                                   (goto-char (point-min)))
>                                 (message "%S"
>                                          (read-key
>                                           (concat
>                                            (make-lines 10)
>                                            "\nTest2")))
>                                 (minibuffer-keyboard-quit)))
>   (read-from-minibuffer (concat (make-lines 10) "\nTest1: ") nil map))
> 
> The idea here is that the read-key hint will occupy as much space as
> the initial read-from-minibuffer.

Thanks, but I still don't understand what should one do with this
snippet (after evaluating it) to see the problem.  Please tell more.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39564; Package emacs. Full text available.

Message received at 39564 <at> debbugs.gnu.org:


Received: (at 39564) by debbugs.gnu.org; 11 Feb 2020 16:17:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 11 11:17:21 2020
Received: from localhost ([127.0.0.1]:57403 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1YDx-00049U-5s
	for submit <at> debbugs.gnu.org; Tue, 11 Feb 2020 11:17:21 -0500
Received: from mail-pf1-f180.google.com ([209.85.210.180]:42619)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ohwoeowho@HIDDEN>) id 1j1YDv-000498-V3
 for 39564 <at> debbugs.gnu.org; Tue, 11 Feb 2020 11:17:20 -0500
Received: by mail-pf1-f180.google.com with SMTP id 4so5702580pfz.9
 for <39564 <at> debbugs.gnu.org>; Tue, 11 Feb 2020 08:17:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=fUPTASirql6wF0BxJmx1MOZrzKaIzuDlXj1Qqu3fS0M=;
 b=H6zgTS6tD3aANFdSS7sH6gUjqTVWEgPJGaDcjDc/F//OSAZ2AxwJCPBEqiTtFFQreq
 MrlJI0FW0J6OgcZ1Ar4xbb4bByZf3G8qqfYlFvDG7lUgUTVGTxlSYRUtN4AMQYkdp8rv
 RNF+X3UMOw7F38cw8M+4PBhkM8yUb9UbY0opDpxz1rnY/6fJyKgMDULmBLnK/ic/5waF
 +FSWhX516OAEO1qmDiiyyvBkQnJVy0sbC3PuoSq66Xxg9yIBCP7QDJWZnuJrXFGEL9C5
 z0sBn4PSXENK+T/d3LSHE0DOgC3vT337kYen6VCNFbBZf+o8XkEpQy6wm+f9C86ZbxU2
 agOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=fUPTASirql6wF0BxJmx1MOZrzKaIzuDlXj1Qqu3fS0M=;
 b=MKN+thhAFo7w4hxv14xkzAuqDT96Zw4/7q+k9Eeu3FUpp1pHm/XMXG9NTtwH9yVRAT
 4H+KLpd80tHkDadzIwpKJpkHTyHHqIu48B8iQ3JNhvIyi8NhJYhuQbZVqmQ4KwUiMjIA
 13yMlBmk6OBxGfHaSpQ8WB+V+FXizseN73Ya4VMV+d2sWSZwHAjqlJ2evJQqSelkBLcH
 Zodfb1KLujZGA2j09NsfTfqznzyc4gaStyAHG6EJ25yxaAc2XRefpUbFEBpyk6dfZ76c
 lZ+Ikci/tt/u+G/0fwl9wC6Ga5+TDLc8I83j/RwFR/3N3m76wEijnAP6C4oYlkoi7rS2
 ZQxw==
X-Gm-Message-State: APjAAAV7zseh6+npanN21nlAgrT5Ma0T+kHrgklk5i2RPUYBt8NZrGrG
 xur6T4AW5RCM85rA8Z3F/oPXtFSlQa8cnevQOIap6HSX
X-Google-Smtp-Source: APXvYqz3XkAYmsBNuGRlhbyyCcXMTfr5vwKiH4Zn1QVGwfJk9fdTNFZ/BI6/eUeWLXI1+c39NcUhECgc6mXxp0cDrE4=
X-Received: by 2002:aa7:864b:: with SMTP id a11mr3915265pfo.175.1581437833944; 
 Tue, 11 Feb 2020 08:17:13 -0800 (PST)
MIME-Version: 1.0
From: Oleh Krehel <ohwoeowho@HIDDEN>
Date: Tue, 11 Feb 2020 17:17:02 +0100
Message-ID: <CAA01p3rTetaBTGmO8=QJritfJHns9QOEwoJcWMwY-9-fc24E4A@HIDDEN>
Subject: Re: bug#39564: 28.0.50; read-key function do not display the prompt
 if called from read-from-minibuffer
To: 39564 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39564
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

Here's an updated code that works as intended on 26.3 and unexpected on 28.

(defun make-lines (n)
  (mapconcat #'number-to-string
             (number-sequence 0 n) "\n"))

(let ((map (make-sparse-keymap)))
  (define-key map (kbd "C-f") (lambda ()
                                (interactive)
                                (let ((inhibit-field-text-motion t))
                                  (goto-char (point-min)))
                                (message "%S"
                                         (read-key
                                          (concat
                                           (make-lines 10)
                                           "\nTest2")))
                                (minibuffer-keyboard-quit)))
  (read-from-minibuffer (concat (make-lines 10) "\nTest1: ") nil map))

The idea here is that the read-key hint will occupy as much space as
the initial read-from-minibuffer.

regards,
Oleh




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39564; Package emacs. Full text available.

Message received at 39564 <at> debbugs.gnu.org:


Received: (at 39564) by debbugs.gnu.org; 11 Feb 2020 15:50:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 11 10:50:55 2020
Received: from localhost ([127.0.0.1]:57389 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1XoN-0003XZ-I4
	for submit <at> debbugs.gnu.org; Tue, 11 Feb 2020 10:50:55 -0500
Received: from eggs.gnu.org ([209.51.188.92]:60525)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1j1XoM-0003XN-1l
 for 39564 <at> debbugs.gnu.org; Tue, 11 Feb 2020 10:50:54 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:46157)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1j1XoG-0007rN-Rk; Tue, 11 Feb 2020 10:50:48 -0500
Received: from [176.228.60.248] (port=3000 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1j1XoG-0006CS-Aa; Tue, 11 Feb 2020 10:50:48 -0500
Date: Tue, 11 Feb 2020 17:50:45 +0200
Message-Id: <837e0trulm.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ergus <spacibba@HIDDEN>
In-reply-to: <20200211144941.godmcifegapmqg6i@Ergus> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#39564: 28.0.50;
 read-key function do not display the prompt if called from
 read-from-minibuffer
References: <20200211144941.godmcifegapmqg6i.ref@Ergus>
 <20200211144941.godmcifegapmqg6i@Ergus>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39564
Cc: 39564 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> 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@HIDDEN>
> 
> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#39564; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Feb 2020 14:50:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 11 09:50:07 2020
Received: from localhost ([127.0.0.1]:56112 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1WrX-0001nf-51
	for submit <at> debbugs.gnu.org; Tue, 11 Feb 2020 09:50:07 -0500
Received: from lists.gnu.org ([209.51.188.17]:39512)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spacibba@HIDDEN>) id 1j1WrV-0001nX-9j
 for submit <at> debbugs.gnu.org; Tue, 11 Feb 2020 09:50:06 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:58566)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <spacibba@HIDDEN>) id 1j1WrP-0006Wz-SU
 for bug-gnu-emacs@HIDDEN; Tue, 11 Feb 2020 09:50:05 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <spacibba@HIDDEN>) id 1j1WrG-0006xh-F3
 for bug-gnu-emacs@HIDDEN; Tue, 11 Feb 2020 09:49:58 -0500
Received: from sonic312-20.consmr.mail.bf2.yahoo.com ([74.6.128.82]:40214)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <spacibba@HIDDEN>) id 1j1WrG-0006uv-0a
 for bug-gnu-emacs@HIDDEN; Tue, 11 Feb 2020 09:49:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048;
 t=1581432589; bh=/a2/G7hgU1TN0YObUVJqrl/vMJltnWTwzhczcSVVLmI=;
 h=Date:From:To:Subject:References:From:Subject;
 b=IeKRuiyCNdjbSuVkPOTNI0q+d+yEREtT3MGCLSqPgRFKTGh4RS1/WP/nOOHKxCqLwZIKOETmVZ6+TRj0RvbpkTupHGo7N3tJ+07KuEjx7lAYSrta3ZUOLwG/SOSJfqu+vqvMMLrnXONZFhOyWsOp9xVV58DG2xVCxLGtLWgI3Fo4ekKSDF4CZVO8Qfva760+GFZh+wYvW3w1O0PnaU5DFRRhvRY7TdBH78OAuUL+ndCWdvQaSwNGeL4PnCgsc/aJvVkn/m05f/Q+MS6eYq5PLqc/Pn4iVJPp/zMmIvXKptSC+/Ni3jRMz4qnaBIrTZxMuYNBxlO88NgZi90zgfGRNA==
X-YMail-OSG: HOrsJZUVM1luqAEYgFwwjI3gB0jiJXifSMkwknuTFSUIeOoYocFr6X9cDVLKfNh
 ibDSio4wAiSyRt1hxkAT05T9uOlUnhsYk1O.hx_6cZC5o7Eg0Mjv3Ai2dAiGYRpuVHzaIort4dCN
 5FpIBMNaKHLGOP_C5HWvBLB0tW.0G1SDGY3aEnDKq66hjorS5IXO6W1mAHn_4omz1Vjb.Qrb5VeW
 oyu6Bhe_wR_P_keV9BPbL5T1hBneGYC3qpXFpWcXZ.qOHZnU70RvLfgSm9Gm.GZqjcSjpC_uy_Ha
 lDvd9ShaU.zOLfUEYEviLyiZ25.aOrik6A3A7WiuJSyn6nnVMQNxTGhDPhtswqiUvjFFbjYSnDAd
 fDp.HQqa9SdKVdBtOPb4RHrZQc57UbPxhYZ6ZRTn0Vp5rrkwcFLO3IU3SWl1ZdLNyZ3B3MyRHiU5
 WuE2CsSafTG3EcMVI9w0wZKVNDps3SH7whtZRhgOm70R5WbfkoW5Zv0jgNfHUyRnuYQiWAQpI8uz
 ros0Sw99fIUqNx40WC5Bj4JMG0xqShXox.IdMQlMCR5t6sDzzgZ0coXbTJ9IB6Z79NBzMCXnnjLf
 WC3ruGy5unxEq3VRHTQ9mOevd5ZJ9D69br4xLqwGk6cOblhx15UrJGzzTiRz.yTrEyMF31QMYH0l
 rTsHojuoH4yZZd2A1WCOs7pSFcSeObjEpokGzUoR_iUdvi3QHYCe4IrtvI5Wa7ZKrUvcEnRnupoT
 Bpeq0LmTcP58aocRmGsswPDBjHlHZjG0gA44zfyMOHBfUsx65cpQTbjKpe1X1d00pUQy2lTe9uXj
 GHnjDVv9Szc..ofwD_GxzI1VHi3Wc5GOYsw1knWifYroIhT3pAnWZx0WbPAONgwrNa2Ewn8DIkgR
 qXThqsiG4_GTfo7vabLg0Q2Th7h7eDt0DKNg5QP6UvHj3Tuog__1TZYcuG5v_fyXQOcsOw7wQpst
 L4o9JrJpFIwvXWczTV9f0s7gfvE7jW8aC.EHI6b3MbbTIN8UyX6VF_JRFnEkmRFAM8bJQSfPZTZ2
 ZNMGnHG4hsDLU1439BXQHeqxbZ1RdGu7SQpcNsHR1kXQpGtCsaQ7KJDCwrrgATeZ3lUAMUXMtxiG
 I2pj4Je5xV4c7n0ZrIR28fkxcH5D9FSt9szPkM305RoMrpF_KJZJARPoCptXzX7G_dUgWepJ.28B
 ZRZbmkuZg.AeWG7XTkwMRIyO7trF_DTLWCOiv9zucTD_26cZ83qK52EOMpy1NvpJ.D6NU2E_j9qf
 1y57qt.8FJZuRgAswhn5vToIN69zP6cLHpeNPUS4ELtokyJ9KSlRMIZxw_WD3vEBIj.QlvxWvdpK
 rhoJfNHVhYPK77v8An6MxrI5TXWSTAg--
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic312.consmr.mail.bf2.yahoo.com with HTTP; Tue, 11 Feb 2020 14:49:49 +0000
Received: by smtp415.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA
 ID f3e4b5488d5aa462cff512e845473671; 
 Tue, 11 Feb 2020 14:49:44 +0000 (UTC)
Date: Tue, 11 Feb 2020 15:49:41 +0100
From: Ergus <spacibba@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; read-key function do not display the prompt if called from
 read-from-minibuffer
Message-ID: <20200211144941.godmcifegapmqg6i@Ergus>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
References: <20200211144941.godmcifegapmqg6i.ref@Ergus>
X-Mailer: WebService/1.1.15199 hermes Apache-HttpAsyncClient/4.1.4
 (Java/1.8.0_181)
Content-Length: 8214
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 74.6.128.82
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

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))
```


In GNU Emacs 28.0.50 (build 22, x86_64-pc-linux-gnu, GTK+ Version 3.24.13, cairo version 1.17.3)
  of 2020-02-07 built on Ergus
Repository revision: 30abcda54e1b0e15fc10b3db1c2b9f89ca521bfa
Repository branch: master
System Description: Arch Linux

Recent messages:
Loading /home/ergo/.emacs.d/custom.el (source)...done
Source file ‘/home/ergo/.emacs.d/elpa/xclip-1.9/xclip.el’ newer than byte-compiled file; using older file
Starting new Ispell process /usr/bin/aspell with default dictionary...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Load time 0.978641

Configured using:
  'configure --prefix=/mnt/casa/install_arch/emacs --with-mailutils'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD
JSON PDUMPER LCMS2 GMP

Important settings:
   value of $LANG: en_GB.utf8
   locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
   counsel-projectile-mode: t
   projectile-mode: t
   counsel-mode: t
   ivy-mode: t
   which-function-mode: t
   electric-pair-mode: t
   highlight-numbers-mode: t
   flyspell-mode: t
   flymake-mode: t
   global-company-mode: t
   company-mode: t
   composable-mark-mode: t
   composable-mode: t
   which-key-mode: t
   winner-mode: t
   xterm-mouse-mode: t
   xclip-mode: t
   show-paren-mode: t
   override-global-mode: t
   minibuffer-depth-indicate-mode: t
   save-place-mode: t
   delete-selection-mode: t
   savehist-mode: t
   global-display-fill-column-indicator-mode: t
   display-fill-column-indicator-mode: t
   global-display-line-numbers-mode: t
   display-line-numbers-mode: t
   global-auto-revert-mode: t
   tooltip-mode: t
   global-eldoc-mode: t
   eldoc-mode: t
   electric-indent-mode: t
   mouse-wheel-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   size-indication-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

Load-path shadows:
/usr/share/emacs/site-lisp/cmake-mode hides /home/ergo/.emacs.d/elpa/cmake-mode-20190710.1319/cmake-mode
~/gits/emacs-counsel-gtags/counsel-gtags hides /home/ergo/.emacs.d/elpa/counsel-gtags-20200101.1701/counsel-gtags
/usr/share/emacs/site-lisp/notmuch-crypto hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-crypto
/usr/share/emacs/site-lisp/notmuch-compat hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-compat
/usr/share/emacs/site-lisp/notmuch-hello hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-hello
/usr/share/emacs/site-lisp/notmuch hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch
/usr/share/emacs/site-lisp/notmuch-show hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-show
/usr/share/emacs/site-lisp/notmuch-maildir-fcc hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-maildir-fcc
/usr/share/emacs/site-lisp/coolj hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/coolj
/usr/share/emacs/site-lisp/notmuch-draft hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-draft
/usr/share/emacs/site-lisp/notmuch-tree hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-tree
/usr/share/emacs/site-lisp/notmuch-parser hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-parser
/usr/share/emacs/site-lisp/notmuch-lib hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-lib
/usr/share/emacs/site-lisp/notmuch-mua hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-mua
/usr/share/emacs/site-lisp/notmuch-message hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-message
/usr/share/emacs/site-lisp/notmuch-address hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-address
/usr/share/emacs/site-lisp/notmuch-wash hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-wash
/usr/share/emacs/site-lisp/notmuch-tag hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-tag
/usr/share/emacs/site-lisp/notmuch-print hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-print
/usr/share/emacs/site-lisp/notmuch-query hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-query
/usr/share/emacs/site-lisp/notmuch-jump hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-jump
/usr/share/emacs/site-lisp/notmuch-company hides /home/ergo/.emacs.d/elpa/notmuch-20200109.114/notmuch-company

Features:
(shadow sort notmuch-address notmuch-company notmuch-lib notmuch-version
notmuch-compat mm-view mml-smime smime dig mailcap notmuch-parser cl
company-elisp find-func mail-extr emacsbug message rmc puny format-spec
rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail
rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils ido-completing-read+
memoize minibuf-eldef ido amx s counsel-projectile ibuffer-projectile
projectile grep ibuf-ext ibuffer ibuffer-loaddefs counsel xdg xref
project dired-x dired dired-loaddefs swiper ivy colir color ivy-overlay
time-date term/screen term/xterm xterm which-func imenu elec-pair
highlight-numbers parent-mode flyspell ispell flymake-proc flymake
compile comint ansi-color warnings thingatpt company-keywords
company-gtags company-dabbrev-code company-dabbrev company-files
company-capf company-semantic company-template company-tng company pcase
init composable composable-mark hydra lv cmake-font-lock ein which-key
advice winner ring cc-styles cc-align cc-engine cc-vars cc-defs xt-mouse
xclip paren cus-edit cus-start cus-load wid-edit diminish
use-package-hydra use-package use-package-delight use-package-diminish
use-package-bind-key bind-key easy-mmode configmail cl-extra help-mode
use-package-ensure use-package-core mb-depth saveplace delsel savehist
display-fill-column-indicator display-line-numbers autorevert filenotify
info ede/auto eieio-base tex-site edmacro kmacro slime-autoloads rx
package easymenu browse-url url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
early-init tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 217173 70557)
  (symbols 48 20877 1)
  (strings 32 68737 2253)
  (string-bytes 1 2241052)
  (vectors 16 26004)
  (vector-slots 8 292356 7356)
  (floats 8 175 1042)
  (intervals 56 1240 0)
  (buffers 1000 12))




Acknowledgement sent to Ergus <spacibba@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#39564; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 11 Feb 2020 17:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.