From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Francesco =?UTF-8?Q?Potort=C3=AC?= Newsgroups: gmane.emacs.bugs Subject: bug#25209: 25.1; can't delete *Shell Command Output* Date: Mon, 19 Dec 2016 15:41:44 +0100 Message-ID: References: <87inqg80ot.fsf@linux-m68k.org> <87eg14806a.fsf@linux-m68k.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: blaine.gmane.org 1482158541 28823 195.159.176.226 (19 Dec 2016 14:42:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2016 14:42:21 +0000 (UTC) Cc: 25209@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 19 15:42:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cIz8m-0006Dq-9Z for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Dec 2016 15:42:13 +0100 Original-Received: from localhost ([::1]:45976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIz8q-0007Hl-JE for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Dec 2016 09:42:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIz8h-0007EK-E0 for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 09:42:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIz8c-0001hd-I5 for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 09:42:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59827) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cIz8c-0001hP-Ej for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 09:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cIz8c-0002FX-6g for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 09:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Dec 2016 14:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25209 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 25209-submit@debbugs.gnu.org id=B25209.14821585088626 (code B ref 25209); Mon, 19 Dec 2016 14:42:02 +0000 Original-Received: (at 25209) by debbugs.gnu.org; 19 Dec 2016 14:41:48 +0000 Original-Received: from localhost ([127.0.0.1]:46993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cIz8O-0002F4-Az for submit@debbugs.gnu.org; Mon, 19 Dec 2016 09:41:48 -0500 Original-Received: from blade3.isti.cnr.it ([194.119.192.19]:42941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cIz8N-0002Ev-4Q for 25209@debbugs.gnu.org; Mon, 19 Dec 2016 09:41:47 -0500 Original-Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx.isti.cnr.it (PMDF V6.5-x6 #1251) with ESMTPSA id <01Q8O5OYME0YBG1XGM@mx.isti.cnr.it> for 25209@debbugs.gnu.org; Mon, 19 Dec 2016 15:41:45 +0100 (MET) Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.88) (envelope-from ) id 1cIz8K-0007EK-SR; Mon, 19 Dec 2016 15:41:44 +0100 In-reply-to: <87eg14806a.fsf@linux-m68k.org> X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 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: 208.118.235.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:127177 Archived-At: >On Dez 19 2016, Andreas Schwab wrote: > >> On Dez 15 2016, Francesco Potortì wrote: >> >>> On a long-running multi-tty Emacs, at one point the *Shell Command >>> Output* buffer refuses to go away. >>> >>> If I try to kill it, nothing happens, whether the current buffer is that >>> one or any other one. The contents of the *Shell Command Output* buffer >>> are always visible in the minibuffer. So, to make it unobtrusive, I >>> need to issue an >>> M-! echo -n RET >>> every time the *Shell Command Output* buffer is dirtied. >> >> Did you perhaps quit while the output of a shell-command was being >> displayed, because it took too long? In that situation Emacs can end up >> in a state where (minibuffer-window) points to the *Shell Command >> Output* buffer, and kill-buffer will refuse to kill the buffer. > >I think the problem is that vertical-motion (as called by >display-message-or-buffer via count-screen-lines) is not properly >protecting against quit when it temporarily modifies the window's >buffer. I happen to use view-line-mode, if that can be of relevance.