From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25209: 25.1; can't delete *Shell Command Output* Date: Fri, 16 Dec 2016 10:39:58 +0200 Message-ID: <83k2b08dy9.fsf@gnu.org> References: Reply-To: Eli Zaretskii 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 1481877739 16589 195.159.176.226 (16 Dec 2016 08:42:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2016 08:42:19 +0000 (UTC) Cc: 25209@debbugs.gnu.org To: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 16 09:42:11 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 1cHo5i-0002it-Tz for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Dec 2016 09:42:11 +0100 Original-Received: from localhost ([::1]:59111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHo5m-0008To-Rg for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Dec 2016 03:42:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHo5f-0008J8-4j for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2016 03:42:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHo5a-0006sF-74 for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2016 03:42:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56385) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHo5a-0006rx-27 for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2016 03:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cHo5Z-0006Wi-Qp for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2016 03:42:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Dec 2016 08:42:01 +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: Original-Received: via spool by 25209-submit@debbugs.gnu.org id=B25209.148187767125033 (code B ref 25209); Fri, 16 Dec 2016 08:42:01 +0000 Original-Received: (at 25209) by debbugs.gnu.org; 16 Dec 2016 08:41:11 +0000 Original-Received: from localhost ([127.0.0.1]:43551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHo4k-0006Vh-Tb for submit@debbugs.gnu.org; Fri, 16 Dec 2016 03:41:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHo4j-0006VU-5Q for 25209@debbugs.gnu.org; Fri, 16 Dec 2016 03:41:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHo4Y-0006A1-Tp for 25209@debbugs.gnu.org; Fri, 16 Dec 2016 03:41:03 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHo4G-0005qF-Nf; Fri, 16 Dec 2016 03:40:40 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2141 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cHo4F-0006ua-Uj; Fri, 16 Dec 2016 03:40:40 -0500 In-reply-to: (message from Francesco =?UTF-8?Q?Potort=C3=AC?= on Thu, 15 Dec 2016 17:34:23 +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: 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:127081 Archived-At: > Date: Thu, 15 Dec 2016 17:34:23 +0100 > From: Francesco Potortì > > 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. > > I am still running that Emacs, so I can try to debug something. If you > suggest me where to look, I can do that when I have time (probably not > it nthe next few days). Some questions come to mind, hopefully one of them will help you: Are you in recursive edit level, perhaps? When the cursor is shown in that buffer in the echo area, does typing C-g or "C-x o" get you out of that, and can you then kill that buffer? Or maybe try "C-x b" to switch to a minibuffer in that situation. Do you have some non-nil kill-buffer-hook, and if so, what does that do? What about kill-buffer-query-functions -- any non-nil value for that? What happens if you set debug-on-error non-nil, and then try to kill that buffer? What errors, if any, pop up, and what do they show? When you attempt to kill the buffer, do you see any messages added to *Messages*? The most promising lead, IMO, is the one about this buffer being shown in the echo area: kill-buffer won't kill the current minibuffer buffer, so I think you should try to break that link. Thus the first 2 questions above are the most probable cause of your trouble.