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: Sun, 10 Nov 2019 01:01:57 +0200 Message-ID: <871rugbqmy.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> <875zjx6hs6.fsf@mail.linkov.net> <87sgmy3x22.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="225890"; 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 Sun Nov 10 00:08:13 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 1iTZq0-000wdt-NY for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Nov 2019 00:08:12 +0100 Original-Received: from localhost ([::1]:40268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTZpz-0000QG-Et for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Nov 2019 18:08:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37299) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTZps-0000Ps-3s for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 18:08:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTZpr-0001fc-7l for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 18:08:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41629) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iTZpr-0001fX-51 for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 18:08:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iTZpq-00012I-PG for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 18:08: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:08: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.15733408253887 (code B ref 19064); Sat, 09 Nov 2019 23:08:02 +0000 Original-Received: (at 19064) by debbugs.gnu.org; 9 Nov 2019 23:07:05 +0000 Original-Received: from localhost ([127.0.0.1]:50446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTZou-00010X-DB for submit@debbugs.gnu.org; Sat, 09 Nov 2019 18:07:04 -0500 Original-Received: from bird.elm.relay.mailchannels.net ([23.83.212.17]:56411) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTZos-0000zo-1i; Sat, 09 Nov 2019 18:07:02 -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 A017C140DB7; Sat, 9 Nov 2019 23:07:00 +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 25834140591; Sat, 9 Nov 2019 23:07:00 +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:07:00 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Tank-Exultant: 14f2201c26cda305_1573340820413_423954516 X-MC-Loop-Signature: 1573340820412:748470665 X-MC-Ingress-Time: 1573340820412 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 2DF8FA3059; Sat, 9 Nov 2019 15:06:55 -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=cdG1PiVKNkuQFXEwwuLhxK4e6IQ=; b= wMBbMIu88sB9mtzBzTYHzGpcdgY/MrESEpOGLSE0CwkGC3uJHXq2BotuBXHYWbea n1aJN5GNXL+FCwnXSDxFdBG0RG7xUODs9TGJZhW3PvVMj6ZwwjXXyyfjcj4yMix1 OBrbvGd1kmEHXGr9XMQzbgoA7W8y+s831fNMNEcoq8c= 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 7DB07A3053; Sat, 9 Nov 2019 15:06:51 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a16 In-Reply-To: <87sgmy3x22.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 08 Nov 2019 21:58:13 +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:171364 Archived-At: >> - (message "%s" msg)) >> + (if (minibufferp) >> + (minibuffer-message "%s" msg) >> + (message "%s" msg))) > > Wouldn't it make more sense to just have `message' behave like > `minibuffer-message' if '(minibufferp)'? Otherwise all async code will > have to have this code snippet. I agree, this would make code more manageable. But a question: after reversing the dependency should it be customizable to get back an old behavior for Drew?