From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#50184: emacsclient -n should clear the minibuffer Date: Thu, 26 Aug 2021 09:45:52 +0300 Message-ID: <83pmu0u2jj.fsf@gnu.org> References: <87sfyzm1a2.5.fsf@jidanni.org> <87fsuxkad9.fsf@gnus.org> <83h7fdvhll.fsf@gnu.org> <87y28pw8z8.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11767"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 50184@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 26 08:47:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJ9AR-0002s2-Mz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Aug 2021 08:47:15 +0200 Original-Received: from localhost ([::1]:49350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJ9AP-0006Nm-S5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Aug 2021 02:47:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJ9AF-0006NP-0B for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 02:47:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJ9AE-0002YN-OY for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 02:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mJ9AE-0000Zn-Dt for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 02:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Aug 2021 06:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50184 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 50184-submit@debbugs.gnu.org id=B50184.16299603882173 (code B ref 50184); Thu, 26 Aug 2021 06:47:02 +0000 Original-Received: (at 50184) by debbugs.gnu.org; 26 Aug 2021 06:46:28 +0000 Original-Received: from localhost ([127.0.0.1]:48218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJ99c-0000Yw-6Q for submit@debbugs.gnu.org; Thu, 26 Aug 2021 02:46:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJ99W-0000Yd-1V for 50184@debbugs.gnu.org; Thu, 26 Aug 2021 02:46:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52436) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJ99Q-0001oW-Cd; Thu, 26 Aug 2021 02:46:12 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1097 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJ99P-0005VP-Vj; Thu, 26 Aug 2021 02:46:12 -0400 In-Reply-To: <87y28pw8z8.5.fsf@jidanni.org> (message from =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson on Thu, 26 Aug 2021 04:43:55 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212689 Archived-At: > From: 積丹尼 Dan Jacobson > Cc: Lars Ingebrigtsen , 50184@debbugs.gnu.org > Date: Thu, 26 Aug 2021 04:43:55 +0800 > > Proof: > Do C-x =. > it says > Char: s (115, #o163, #x73) point=474 of 1163 (41%) column=6 > > OK, now do > $ emacsclient -n some.file > > So the character under the cursor is still > Char: s (115, #o163, #x73) point=474 of 1163 (41%) column=6 > ?? > > Little chance. It is a fallacy to assign some kind of "truth value" to the echo-area message, and expect it to disappear when it's no longer "true". Those messages are just that: echoes of some past command. More generally, Emacs keeps the echo-area messages because they might be important, and because Emacs has no idea about the true meaning of the messages. You made a straw man argument by picking up a message that is highly context dependent, but what if that message would show something like a text message from your loved one, or the date and time of your death? There's no way I can see that we could distinguish between messages that should stay and those which should go. I can tell you from my experience that I frequently have important messages go when I'd like them to stay.