From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#8911: bs-cycle-next deletes window in some cases. Date: Thu, 30 Jun 2011 13:02:29 -0400 Message-ID: References: <4E009EB0.1050903@gmx.at> <181538AC4C8B4765A99060E0425B9AB5@us.oracle.com> <9170F33E41584E0B8D96DD5EFC84599E@us.oracle.com> <8E864413162C4814BE8EFFD0C1FA1989@us.oracle.com> <4E06FBF8.9040205@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309458001 11532 80.91.229.12 (30 Jun 2011 18:20:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2011 18:20:01 +0000 (UTC) Cc: 8911@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 30 20:19:51 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QcLq7-0004kY-5T for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jun 2011 20:19:47 +0200 Original-Received: from localhost ([::1]:39743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcLq5-00067b-Tx for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jun 2011 14:19:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcKds-0001hm-Vr for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2011 13:03:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcKdr-0003XP-3V for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2011 13:03:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcKdq-0003Wx-Ik for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2011 13:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QcKdp-0004wQ-RO; Thu, 30 Jun 2011 13:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Jun 2011 17:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8911-submit@debbugs.gnu.org id=B8911.130945336218962 (code B ref 8911); Thu, 30 Jun 2011 17:03:01 +0000 Original-Received: (at 8911) by debbugs.gnu.org; 30 Jun 2011 17:02:42 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QcKdW-0004vm-4O for submit@debbugs.gnu.org; Thu, 30 Jun 2011 13:02:42 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QcKdT-0004va-91 for 8911@debbugs.gnu.org; Thu, 30 Jun 2011 13:02:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAMarDE5MCqDH/2dsb2JhbABSp1V4iHi/NoYxBJ5OhCs X-IronPort-AV: E=Sophos;i="4.65,451,1304308800"; d="scan'208";a="117801592" Original-Received: from 76-10-160-199.dsl.teksavvy.com (HELO pastel.home) ([76.10.160.199]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 30 Jun 2011 13:02:30 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 8D1A75912D; Thu, 30 Jun 2011 13:02:29 -0400 (EDT) In-Reply-To: (Juanma Barranquero's message of "Wed, 29 Jun 2011 05:57:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 30 Jun 2011 13:03:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47634 Archived-At: >> As mentioned earlier, maybe the single-frame case is special, but I'd >> really first like to know how you get into such a state. > As I explained, I have strongly-dedicated windows, and every now and > then I end doing C-x 1 inside one of them. As it isn't usually what I Where do these strongly dedicated windows come from? >> For any other case, M-x bury-buffer RET *should* iconify the current >> frame if it shows a single dedicated window (with the caveat that >> Drew wants it to delete the frame instead). > for that). But explicit interactive calls of bury-buffer are not > what I complain about; I don't mind these, because I just don't ever > use them. Good. > My problem happens when bury-buffer is called from some > elisp code that does a poor job of reading my mind: no, mr. program, I > don't really want my frames iconified, thank you very much. Please report these cases. I suspect that in most cases the problem is not bury-buffer's behavior but that the command should not call bury-buffer (or not with a nil arg). > bs-cycle-next is just the most prominent example of that bad behavior, > because I use it a lot. That's indeed a case where (bury-buffer nil) was the wrong thing to do. Stefan