From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34614: 26.1.92; When reading input in mini-buffer, message to each area overide the input prompt Date: Sat, 23 Feb 2019 09:26:26 +0200 Message-ID: <83d0njq82l.fsf@gnu.org> References: <5C701035.5020803@gmx.at> <5C706BBD.3050201@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="21873"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34614@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 23 08:32:01 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxRmy-0005X9-1o for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Feb 2019 08:32:00 +0100 Original-Received: from localhost ([127.0.0.1]:33886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxRmw-0000zk-UQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Feb 2019 02:31:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxRmr-0000zF-Tk for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2019 02:31:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxRiB-00085q-6L for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2019 02:27:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35218) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gxRiB-00085j-1v for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2019 02:27:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gxRi9-0006z7-P5 for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2019 02:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Feb 2019 07:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34614 X-GNU-PR-Package: emacs Original-Received: via spool by 34614-submit@debbugs.gnu.org id=B34614.155090679726814 (code B ref 34614); Sat, 23 Feb 2019 07:27:01 +0000 Original-Received: (at 34614) by debbugs.gnu.org; 23 Feb 2019 07:26:37 +0000 Original-Received: from localhost ([127.0.0.1]:48762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxRhk-0006yQ-Lv for submit@debbugs.gnu.org; Sat, 23 Feb 2019 02:26:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxRhi-0006yD-Kh for 34614@debbugs.gnu.org; Sat, 23 Feb 2019 02:26:35 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxRhY-0007m8-2F; Sat, 23 Feb 2019 02:26:26 -0500 Original-Received: from [176.228.60.248] (port=1812 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gxRhX-00035N-8C; Sat, 23 Feb 2019 02:26:24 -0500 In-reply-to: <5C706BBD.3050201@gmx.at> (message from martin rudalics on Fri, 22 Feb 2019 22:38:05 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:155666 Archived-At: > Date: Fri, 22 Feb 2019 22:38:05 +0100 > From: martin rudalics > > > Steps to reproduce the bug: > > 1. start emacs with emacs -Q > > 2. M-x global-auto-revert-mode > > 3. Open a test file with emacs > > 4. M-x find-file, it will prompt and read file name > > 5. modify the test file with other tool and save the file > > 6. emacs will revert the file and print a message like "Reverting buffer xxx”. > > 7. the find-file ui will not come back. > > It comes back here with the next character I type. I have no idea how > to fix this. At least sitting for 'minibuffer-message-timeout' in > 'auto-revert-handler' when the minibuffer depth is greater zero won't > cut it - the message gets cleared immediately and minibuffer contents > are restored. Some 'sit-for' snafu, I suppose. Could we use the technique used in with-temp-message? That macro cannot be used directly here, I think, because reverting a buffer might ask some questions. But maybe we could do something similar by hand inside revert-buffer--default?