From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#19064: 25.0.50; `message' overwrites `y-or-n-p' prompt, so user misses it Date: Sun, 10 Nov 2019 00:57:23 +0200 Message-ID: <87r22gbquk.fsf@mail.linkov.net> References: <8ea0a3fa-5169-4493-bd54-3ebe47836a35@default> <87r3i9nped.fsf@gnus.org> <87wps1m7co.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="222831"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Lars Ingebrigtsen , 19064@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 10 00:07:19 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iTZp7-000vi5-1W for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Nov 2019 00:07:17 +0100 Original-Received: from localhost ([::1]:40262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTZp5-0008G7-Sw for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Nov 2019 18:07:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37206) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTZov-0008Fr-8p for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 18:07:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTZot-0001SM-4z for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 18:07:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41620) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iTZos-0001SH-Tr for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 18:07:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iTZos-00010A-Ns for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 18:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2019 23:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19064 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 19064-submit@debbugs.gnu.org id=B19064.15733408173826 (code B ref 19064); Sat, 09 Nov 2019 23:07:02 +0000 Original-Received: (at 19064) by debbugs.gnu.org; 9 Nov 2019 23:06:57 +0000 Original-Received: from localhost ([127.0.0.1]:50439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTZok-0000za-Kk for submit@debbugs.gnu.org; Sat, 09 Nov 2019 18:06:57 -0500 Original-Received: from chocolate.birch.relay.mailchannels.net ([23.83.209.35]:18091) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTZoi-0000zS-Td for 19064@debbugs.gnu.org; Sat, 09 Nov 2019 18:06:53 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id AF62714102A; Sat, 9 Nov 2019 23:06:51 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a16.g.dreamhost.com (100-96-18-10.trex.outbound.svc.cluster.local [100.96.18.10]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 2196B1410D5; Sat, 9 Nov 2019 23:06:51 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a16.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Sat, 09 Nov 2019 23:06:51 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Duck-Society: 4398e76d1ac7364a_1573340811366_1968910788 X-MC-Loop-Signature: 1573340811366:331058778 X-MC-Ingress-Time: 1573340811366 Original-Received: from pdx1-sub0-mail-a16.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a16.g.dreamhost.com (Postfix) with ESMTP id 6BF05A304F; Sat, 9 Nov 2019 15:06:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=jpG/GBhlf1XMrYKXTOON5Z/BzIQ=; b= vh23nQ7I8gY7YjWgmsfjoGL7RzhpWDIwIl1l5etPakv1rSXNirqXm2srcrUahGTX 4xTYXSzj5GJgM+7D9fbc0tnG++qTYxdCEohXlbQYeCIDdjADD0X5Gy0gHBHSRlnu 7f5nx3YtFrc+IAGqZ8hX/isCkiw1xgC7z02hk/bWo4Y= Original-Received: from mail.jurta.org (m91-129-102-1.cust.tele2.ee [91.129.102.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a16.g.dreamhost.com (Postfix) with ESMTPSA id 3EBECA0E8F; Sat, 9 Nov 2019 15:06:43 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a16 In-Reply-To: <87wps1m7co.fsf@web.de> (Michael Heerdegen's message of "Sat, 26 Dec 2015 18:45:43 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171363 Archived-At: > (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. Now this is fixed. There is another unrelated problem when a man page doesn't exist, it moves point to wrong window, and never returns back to the minibuffer: (progn (man "XYZ") (y-or-n-p "-->")) But this problem is not new. The same can be reproduced in older versions with (progn (man "XYZ") (read-string "-->")) This is because quit-restore-window moves point to wrong window. Maybe a new bug report should be created for this?