GNU bug report logs - #19064
25.0.50; `message' overwrites `y-or-n-p' prompt, so user misses it

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: Drew Adams <drew.adams@HIDDEN>; Keywords: confirmed; dated Sat, 15 Nov 2014 18:39:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Removed tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 19064) by debbugs.gnu.org; 26 Dec 2015 18:09:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 26 13:09:41 2015
Received: from localhost ([127.0.0.1]:41995 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aCtHh-0005vU-2O
	for submit <at> debbugs.gnu.org; Sat, 26 Dec 2015 13:09:41 -0500
Received: from eggs.gnu.org ([208.118.235.92]:43567)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <eliz@HIDDEN>) id 1aCtHf-0005vI-NV
 for 19064 <at> debbugs.gnu.org; Sat, 26 Dec 2015 13:09:40 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1aCtHX-0008DI-IR
 for 19064 <at> debbugs.gnu.org; Sat, 26 Dec 2015 13:09:34 -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.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54624)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1aCtHX-0008DC-FQ; Sat, 26 Dec 2015 13:09:31 -0500
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1598
 helo=HOME-C4E4A596F7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1aCtHW-0004Sy-Mz; Sat, 26 Dec 2015 13:09:31 -0500
Date: Sat, 26 Dec 2015 20:10:16 +0200
Message-Id: <837fk1hyif.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
In-reply-to: <ff1dc6cb-eca1-4f83-83aa-98233ece6a38@default> (message from Drew
 Adams on Sat, 26 Dec 2015 09:19:21 -0800 (PST))
Subject: Re: bug#19064: 25.0.50;
 `message' overwrites `y-or-n-p' prompt, so user misses it
References: <8ea0a3fa-5169-4493-bd54-3ebe47836a35@default>
 <87r3i9nped.fsf@HIDDEN> <ff1dc6cb-eca1-4f83-83aa-98233ece6a38@default>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 19064
Cc: larsi@HIDDEN, 19064 <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>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> Date: Sat, 26 Dec 2015 09:19:21 -0800 (PST)
> From: Drew Adams <drew.adams@HIDDEN>
> Cc: 19064 <at> debbugs.gnu.org
> 
> recent Emacs 25 snapshots I have just crash all the time.

If you want to solve this, please run Emacs under GDB and show the
backtrace when it crashes.

Thanks.




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

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


Received: (at 19064) by debbugs.gnu.org; 26 Dec 2015 17:57:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 26 12:57:34 2015
Received: from localhost ([127.0.0.1]:41986 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aCt5y-0003yo-Nz
	for submit <at> debbugs.gnu.org; Sat, 26 Dec 2015 12:57:34 -0500
Received: from hermes.netfonds.no ([80.91.224.195]:55094)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <larsi@HIDDEN>) id 1aCt5x-0003yg-Gm
 for 19064 <at> debbugs.gnu.org; Sat, 26 Dec 2015 12:57:33 -0500
Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse)
 by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.72) (envelope-from <larsi@HIDDEN>)
 id 1aCt5b-00032X-EK; Sat, 26 Dec 2015 18:57:11 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#19064: 25.0.50;
 `message' overwrites `y-or-n-p' prompt, so user misses it
References: <8ea0a3fa-5169-4493-bd54-3ebe47836a35@default>
 <87r3i9nped.fsf@HIDDEN>
 <ff1dc6cb-eca1-4f83-83aa-98233ece6a38@default> <87wps1m7co.fsf@HIDDEN>
Date: Sat, 26 Dec 2015 18:57:10 +0100
In-Reply-To: <87wps1m7co.fsf@HIDDEN> (Michael Heerdegen's message of "Sat, 26
 Dec 2015 18:45:43 +0100")
Message-ID: <87y4chjdop.fsf@HIDDEN>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-MailScanner-ID: 1aCt5b-00032X-EK
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1451757432.14983@swSAsfq3OAHwHQpgbuyhIA
X-Spam-Status: No
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 19064
Cc: Drew Adams <drew.adams@HIDDEN>, 19064 <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: -0.7 (/)

Michael Heerdegen <michael_heerdegen@HIDDEN> writes:

> I tried this here with emacs 25:
>
> (progn
>   (man "X")
>   (y-or-n-p "-->"))
>
> This stills behave as described: the prompt disappears and doesn't come
> back from alone.

Yup; I get the same behaviour.  That is indeed annoying, and should be
fixed.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#19064; Package emacs. Full text available.
Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 19064) by debbugs.gnu.org; 26 Dec 2015 17:54:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 26 12:54:23 2015
Received: from localhost ([127.0.0.1]:41971 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aCt2s-0003t9-T4
	for submit <at> debbugs.gnu.org; Sat, 26 Dec 2015 12:54:23 -0500
Received: from hermes.netfonds.no ([80.91.224.195]:41903)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <larsi@HIDDEN>) id 1aCt2r-0003t1-8t
 for 19064 <at> debbugs.gnu.org; Sat, 26 Dec 2015 12:54:21 -0500
Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse)
 by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.72) (envelope-from <larsi@HIDDEN>)
 id 1aCt2W-0002zT-9Z; Sat, 26 Dec 2015 18:54:00 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#19064: 25.0.50;
 `message' overwrites `y-or-n-p' prompt, so user misses it
References: <8ea0a3fa-5169-4493-bd54-3ebe47836a35@default>
 <87r3i9nped.fsf@HIDDEN>
 <ff1dc6cb-eca1-4f83-83aa-98233ece6a38@default>
Date: Sat, 26 Dec 2015 18:53:59 +0100
In-Reply-To: <ff1dc6cb-eca1-4f83-83aa-98233ece6a38@default> (Drew Adams's
 message of "Sat, 26 Dec 2015 09:19:21 -0800 (PST)")
Message-ID: <878u4hkseg.fsf@HIDDEN>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-MailScanner-ID: 1aCt2W-0002zT-9Z
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1451757240.50825@zHZpoZyddA2x50XEBXCGnQ
X-Spam-Status: No
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 19064
Cc: 19064 <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: -0.7 (/)

Drew Adams <drew.adams@HIDDEN> writes:

>> It would be helpful to have a recipe.
>
> Sorry, but recent Emacs 25 snapshots I have just crash all
> the time.  I cannot use Emacs 25 for much of anything, I'm
> afraid.
>
> But I think the bug description here should be sufficient.
> In particular, does this not seem appropriate to consider?
>
>   Seems like whenever `y-or-n-p' (or just `read-key') is waiting
>   for a key, `message' should do nothing.  Either it should echo
>   its message after the key is read or (maybe better) it should
>   do nothing at all.  As it stands now, this seems like a basic
>   UI problem, not just a minor annoyance.

Fixing a bug without a test case is much harder than if you have a test
case.

Perhaps you could make a recipe in Emacs 24?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at 19064) by debbugs.gnu.org; 26 Dec 2015 17:46:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 26 12:46:00 2015
Received: from localhost ([127.0.0.1]:41947 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aCsum-0003ep-2b
	for submit <at> debbugs.gnu.org; Sat, 26 Dec 2015 12:46:00 -0500
Received: from mout.web.de ([212.227.17.11]:50975)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1aCsuj-0003ea-LX
 for 19064 <at> debbugs.gnu.org; Sat, 26 Dec 2015 12:45:58 -0500
Received: from drachen.dragon ([90.186.2.151]) by smtp.web.de (mrweb103) with
 ESMTPSA (Nemesis) id 0MY712-1Zi2EV0Pnk-00UtW1;
 Sat, 26 Dec 2015 18:45:47 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#19064: 25.0.50;
 `message' overwrites `y-or-n-p' prompt, so user misses it
References: <8ea0a3fa-5169-4493-bd54-3ebe47836a35@default>
 <87r3i9nped.fsf@HIDDEN>
 <ff1dc6cb-eca1-4f83-83aa-98233ece6a38@default>
Date: Sat, 26 Dec 2015 18:45:43 +0100
In-Reply-To: <ff1dc6cb-eca1-4f83-83aa-98233ece6a38@default> (Drew Adams's
 message of "Sat, 26 Dec 2015 09:19:21 -0800 (PST)")
Message-ID: <87wps1m7co.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:y0k/cGomj59GGqD6tz+W1uHfs0eEQxdl/yEUCnb1MYfFt9iR2hG
 7ACG6b+cAd4KzzVBxu67EmOKqKXkBUEH0xF2ai/IO8oaJ0aFvXs0veaWlVqMZ2L5eEfCG/6
 r6viraYUhyenGKoCqkBQBAedfUmHcTjxSaLphdEuBkt99u6PmupGAqDLM0DxOxKiN6P1T6V
 K43Fk6Isq27j8gO+q5GUg==
X-UI-Out-Filterresults: notjunk:1;V01:K0:DRY+9UPeLQU=:GhkltvH0m+5U3XUVHmW/Bj
 2EPJ7NaSMiwUjBfsSA5BoNz2QhGhsPW7AkgQ5+a8Q+u1+X+LaQFKvxuOgcHFkkpZEYZIuXDI3
 49C2kaP1cF4B5rK5+Iem1ghbXqcJLsowOKmWfLUDT6dW5q2r3JOiqtjP+addRnks4mO3CEeJT
 WgcLOl0E+lL7iaFsuwJa4NnJk4X1TPW9Lgv6TKszv78djWkP4QlIr2rP/+s+4zLuGWZDal3bc
 Np8X/n1lycxsJGdFOY2wUFIw7riKvI3iaqfIbtJIqEGbdr4lPVEvQSa78J5JWhmYh0ZJXJz4k
 UnRNbsLSsBCDtmlrjCZfbNFTlIetEGOyjtTtMR/ZUi6qc6U2s6Fm61LhymdofiPZkDiK4B/7k
 XrMwKNB5KpzqLGvwWB0lnqXzJCrV75n7DS63elG2GnGEz4R1DP4ggbyqHev3w4Pof8TbHN3jT
 PMH/VHOcvF9KL56ZC/7w/LOOGd6QPd4Sn2u3gZUwbMzgfTBxhvN2+qPHj5VvKp4g0mS7FLS5F
 wSL3pASYDiZiG1HXZc8Q7aa99k1/HCWW087Yk+P3SYGa5b7zjs1qRiuCNz7IJ2QGtyYDmCNJw
 jRoLpY+EUrEagsbrcNBzWp1r0WGceN6y+QnG/Lx7XleXcG/zn74uNhKF/uDoOiRQ4zQqNfFiS
 bUruDVV4i8FZSWZSgE4uQOuMRhy7nDlbE6uAAQ+xXHz7nlrYmsK95eDzn+2HJ/sxSsKrSRd4J
 cAKDEuHvwjlQMfSABHUwGQ5ipqW52iMHXg63z3x8jNmT2098wek8pEzU5Fu6QNn7to5i2yoyW
 5GgH2YV
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 19064
Cc: Lars Ingebrigtsen <larsi@HIDDEN>, 19064 <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: -0.7 (/)

Drew Adams <drew.adams@HIDDEN> writes:

>   Seems like whenever `y-or-n-p' (or just `read-key') is waiting
>   for a key, `message' should do nothing.  Either it should echo
>   its message after the key is read or (maybe better) it should
>   do nothing at all.  As it stands now, this seems like a basic
>   UI problem, not just a minor annoyance.

I tried this here with emacs 25:

(progn
  (man "X")
  (y-or-n-p "-->"))

This stills behave as described: the prompt disappears and doesn't come
back from alone.

OTOH, a simple call to message done from within a timer doesn't behave
like this.  So this seems to be special to process sentinels, thus it's
probably a rare situation that this happens - a bit annoying
nonetheless.


Michael.




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

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


Received: (at 19064) by debbugs.gnu.org; 26 Dec 2015 17:19:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 26 12:19:30 2015
Received: from localhost ([127.0.0.1]:41925 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aCsV8-00031R-CW
	for submit <at> debbugs.gnu.org; Sat, 26 Dec 2015 12:19:30 -0500
Received: from aserp1040.oracle.com ([141.146.126.69]:29254)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <drew.adams@HIDDEN>) id 1aCsV6-00031E-IU
 for 19064 <at> debbugs.gnu.org; Sat, 26 Dec 2015 12:19:29 -0500
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74])
 by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
 tBQHJMIA024341
 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
 Sat, 26 Dec 2015 17:19:22 GMT
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72])
 by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id tBQHJLGB004302
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
 Sat, 26 Dec 2015 17:19:21 GMT
Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14])
 by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id tBQHJLk5011714;
 Sat, 26 Dec 2015 17:19:21 GMT
MIME-Version: 1.0
Message-ID: <ff1dc6cb-eca1-4f83-83aa-98233ece6a38@default>
Date: Sat, 26 Dec 2015 09:19:21 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: RE: bug#19064: 25.0.50; `message' overwrites `y-or-n-p' prompt, so
 user misses it
References: <8ea0a3fa-5169-4493-bd54-3ebe47836a35@default>
 <87r3i9nped.fsf@HIDDEN>
In-Reply-To: <87r3i9nped.fsf@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9  (901082) [OL
 12.0.6691.5000 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Source-IP: userv0022.oracle.com [156.151.31.74]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 19064
Cc: 19064 <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: -2.3 (--)

> It would be helpful to have a recipe.

Sorry, but recent Emacs 25 snapshots I have just crash all
the time.  I cannot use Emacs 25 for much of anything, I'm
afraid.

But I think the bug description here should be sufficient.
In particular, does this not seem appropriate to consider?

  Seems like whenever `y-or-n-p' (or just `read-key') is waiting
  for a key, `message' should do nothing.  Either it should echo
  its message after the key is read or (maybe better) it should
  do nothing at all.  As it stands now, this seems like a basic
  UI problem, not just a minor annoyance.




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

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


Received: (at 19064) by debbugs.gnu.org; 26 Dec 2015 16:30:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 26 11:30:59 2015
Received: from localhost ([127.0.0.1]:41765 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aCrkB-0006Ew-2L
	for submit <at> debbugs.gnu.org; Sat, 26 Dec 2015 11:30:59 -0500
Received: from hermes.netfonds.no ([80.91.224.195]:46324)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <larsi@HIDDEN>) id 1aCrkA-0006DZ-3d
 for 19064 <at> debbugs.gnu.org; Sat, 26 Dec 2015 11:30:58 -0500
Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse)
 by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.72) (envelope-from <larsi@HIDDEN>)
 id 1aCrjn-0001uP-B6; Sat, 26 Dec 2015 17:30:35 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
Subject: Re: bug#19064: 25.0.50;
 `message' overwrites `y-or-n-p' prompt, so user misses it
References: <8ea0a3fa-5169-4493-bd54-3ebe47836a35@default>
Date: Sat, 26 Dec 2015 17:30:34 +0100
In-Reply-To: <8ea0a3fa-5169-4493-bd54-3ebe47836a35@default> (Drew Adams's
 message of "Sat, 15 Nov 2014 10:38:25 -0800 (PST)")
Message-ID: <87r3i9nped.fsf@HIDDEN>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-MailScanner-ID: 1aCrjn-0001uP-B6
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1451752236.89026@w6BmhCGrAOEeyCpg+OGLdA
X-Spam-Status: No
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 19064
Cc: 19064 <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: -0.7 (/)

Drew Adams <drew.adams@HIDDEN> writes:

> I don't have a simple recipe, but I doubt that one is needed.  If it
> really is then perhaps I will come up with one.

It would be helpful to have a recipe.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

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


Received: (at submit) by debbugs.gnu.org; 15 Nov 2014 18:38:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 15 13:38:57 2014
Received: from localhost ([127.0.0.1]:34090 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XpiFM-0005oq-Ft
	for submit <at> debbugs.gnu.org; Sat, 15 Nov 2014 13:38:56 -0500
Received: from eggs.gnu.org ([208.118.235.92]:36564)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <drew.adams@HIDDEN>) id 1XpiFK-0005oh-Cn
 for submit <at> debbugs.gnu.org; Sat, 15 Nov 2014 13:38:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1XpiF9-0002KM-M3
 for submit <at> debbugs.gnu.org; Sat, 15 Nov 2014 13:38:53 -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 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:56336)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1XpiF9-0002KC-CT
 for submit <at> debbugs.gnu.org; Sat, 15 Nov 2014 13:38:43 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38140)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1XpiF0-0002VY-J6
 for bug-gnu-emacs@HIDDEN; Sat, 15 Nov 2014 13:38:43 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1XpiEr-0002Dw-Sj
 for bug-gnu-emacs@HIDDEN; Sat, 15 Nov 2014 13:38:34 -0500
Received: from userp1040.oracle.com ([156.151.31.81]:37907)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1XpiEr-0002Dn-Mj
 for bug-gnu-emacs@HIDDEN; Sat, 15 Nov 2014 13:38:25 -0500
Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238])
 by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
 sAFIcO9o026978
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Sat, 15 Nov 2014 18:38:24 GMT
Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231])
 by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sAFIcNwH011303
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL)
 for <bug-gnu-emacs@HIDDEN>; Sat, 15 Nov 2014 18:38:23 GMT
Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26])
 by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sAFIcNui011299
 for <bug-gnu-emacs@HIDDEN>; Sat, 15 Nov 2014 18:38:23 GMT
MIME-Version: 1.0
Message-ID: <8ea0a3fa-5169-4493-bd54-3ebe47836a35@default>
Date: Sat, 15 Nov 2014 10:38:25 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.0.50; `message' overwrites `y-or-n-p' prompt, so user misses it
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2  (807160) [OL
 12.0.6691.5000 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Source-IP: acsinet22.oracle.com [141.146.126.238]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -4.0 (----)

I don't have a simple recipe, but I doubt that one is needed.  If it
really is then perhaps I will come up with one.

I have some code that calls `y-or-n-p'.  Immediately after it prompts,
`Man-bgproc-sentinel' writes a message to the echo area:

(message "%s man page formatted" (Man-page-from-arguments Man-arguments))

The user thus sees only a message such as "ps man page formatted".
S?he never sees the `y-or-n' prompt.

(Yes, of course as soon as the user tries to hit a key for some reason,
s?he sees the `y-or-n-p' repeat prompt.)

Seems like this is an Emacs bug.  Seems like whenever `y-or-n-p' (or
just `read-key') is waiting for a key, `message' should do nothing.
Either it should echo its message after the key is read or (maybe
better) it should do nothing at all.  As it stands now, this seems like
a basic UI problem, not just a minor annoyance.

FWIW, the context is that I am jumping to a `man' bookmark with code
that can activate the region recorded in the bookmark (not a vanilla
`man' bookmark), and if the region has been relocated (because the
target text has changed) then the user is prompted for whether s?he
wants to save the relocated region limits back to the bookmark.  This
prompting is done by `y-or-n-p'.  But `Man-bgproc-sentinel' then comes
along and overwrites the prompt.

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-20 on LEG570
Bzr revision: 118168 rgm@HIDDEN
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=3Dyes,glyphs CPPFLAGS=3D-DGLYPH_DEBUG=3D1'




Acknowledgement sent to Drew Adams <drew.adams@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#19064; 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: Mon, 29 Feb 2016 06:00:02 UTC

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