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: bug#17272: bug#19064: 25.0.50; `message' overwrites `y-or-n-p' prompt, so user misses it Date: Wed, 06 Nov 2019 01:10:49 +0200 Message-ID: <875zjx6hs6.fsf@mail.linkov.net> References: <8ea0a3fa-5169-4493-bd54-3ebe47836a35@default> <87r3i9nped.fsf@gnus.org> <87wps1m7co.fsf@web.de> <87y4chjdop.fsf@gnus.org> <87o8ys3131.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="96681"; 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: Michael Heerdegen , 17272@debbugs.gnu.org, 19064@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 06 00:12:23 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 1iS7zo-000OyH-4a for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Nov 2019 00:12:20 +0100 Original-Received: from localhost ([::1]:51418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS7zm-0004EC-Nj for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Nov 2019 18:12:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42426) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS7zb-0004BH-Cj for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 18:12:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iS7za-0005YZ-B5 for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 18:12:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58622) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iS7zY-0005We-Aa for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 18:12:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iS7zY-0005OI-5J for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 18:12:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Nov 2019 23:12:04 +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.157299549320664 (code B ref 19064); Tue, 05 Nov 2019 23:12:04 +0000 Original-Received: (at 19064) by debbugs.gnu.org; 5 Nov 2019 23:11:33 +0000 Original-Received: from localhost ([127.0.0.1]:39209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iS7z2-0005N7-VC for submit@debbugs.gnu.org; Tue, 05 Nov 2019 18:11:33 -0500 Original-Received: from eastern.birch.relay.mailchannels.net ([23.83.209.55]:22912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iS7yz-0005Mo-Kd; Tue, 05 Nov 2019 18:11:31 -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 3E4771A0C6D; Tue, 5 Nov 2019 23:11:28 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a93.g.dreamhost.com (100-96-6-183.trex.outbound.svc.cluster.local [100.96.6.183]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id BFD5A1A08FB; Tue, 5 Nov 2019 23:11:27 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a93.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); Tue, 05 Nov 2019 23:11:28 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Tank-Tart: 5b50183e456fadae_1572995488043_526594295 X-MC-Loop-Signature: 1572995488043:2035839066 X-MC-Ingress-Time: 1572995488042 Original-Received: from pdx1-sub0-mail-a93.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a93.g.dreamhost.com (Postfix) with ESMTP id EC19B7F54F; Tue, 5 Nov 2019 15:11:21 -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=4ftfhdiG+XkGRzzcPEi0DbtK2K0=; b= CwK29/usd0JRa941Scg1Jt5whwmqW7gfFxx4gonr5JeHe7eGMOm5OTA2hd3FCf2b RFFP7seyRl2NtZ1ehf4nSWFVtSxxZubATMDeKdZQmHsWqf/XiqJzqUGz/ytT072w icR81ZN9MofcffJrnuwboPiBlcAWgh9Ds5uiJU1+BgI= Original-Received: from mail.jurta.org (m91-129-101-77.cust.tele2.ee [91.129.101.77]) (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-a93.g.dreamhost.com (Postfix) with ESMTPSA id F188E7F633; Tue, 5 Nov 2019 15:11:17 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a93 In-Reply-To: <87o8ys3131.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 07 Oct 2019 19:41:22 +0200") 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:170994 Archived-At: > It is a general problem that I've been hit by a large number of times. > If it's `y-or-n', then you can get out of it by hitting something other > than y or n, but in other prompts you're basically helpless and have to > `C-g' out of it. Message "Package cl is deprecated" that overwrites `y-or-n-p' prompt issued by desktop.el could be fixed by this patch (requires another patch from bug#38076): diff --git a/lisp/subr.el b/lisp/subr.el index 03cf3da278..0a8a505b70 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -4517,7 +4551,9 @@ do-after-load-evaluation (byte-compile-warn "%s" msg)) (run-with-timer 0 nil (lambda (msg) - (message "%s" msg)) + (if (minibufferp) + (minibuffer-message "%s" msg) + (message "%s" msg))) msg))))) ;; Finally, run any other hook.