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: Tue, 21 Jun 2011 12:22:12 -0400 Message-ID: References: <4E009EB0.1050903@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1308674652 27167 80.91.229.12 (21 Jun 2011 16:44:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2011 16:44:12 +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 Tue Jun 21 18:44:08 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 1QZ43Z-0006ed-5P for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2011 18:44:05 +0200 Original-Received: from localhost ([::1]:41313 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ43Y-0008Th-7n for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2011 12:44:04 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ3jF-0002eb-PC for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2011 12:23:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ3jD-0000fh-PI for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2011 12:23:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ3jD-0000fd-GM for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2011 12:23:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QZ3jC-0006kZ-Uk; Tue, 21 Jun 2011 12:23:02 -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: Tue, 21 Jun 2011 16:23:02 +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.130867334925905 (code B ref 8911); Tue, 21 Jun 2011 16:23:02 +0000 Original-Received: (at 8911) by debbugs.gnu.org; 21 Jun 2011 16:22:29 +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 1QZ3if-0006jl-IP for submit@debbugs.gnu.org; Tue, 21 Jun 2011 12:22:29 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QZ3ie-0006jP-GO for 8911@debbugs.gnu.org; Tue, 21 Jun 2011 12:22:29 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EANPEAE5FxL0s/2dsb2JhbABUpnB4iHPACIYqBJ1khCQ X-IronPort-AV: E=Sophos;i="4.65,402,1304308800"; d="scan'208";a="116785727" Original-Received: from 69-196-189-44.dsl.teksavvy.com (HELO ceviche.home) ([69.196.189.44]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 21 Jun 2011 12:22:19 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id D7D48660F1; Tue, 21 Jun 2011 13:22:12 -0300 (ART) In-Reply-To: (Juanma Barranquero's message of "Tue, 21 Jun 2011 16:00:00 +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: Tue, 21 Jun 2011 12:23:02 -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:47381 Archived-At: > The trouble was that, when called on a dedicated window, it iconified > the frame. I don't follow: why do you think it's a trouble? To me it's exactly what I want. Is it that you prefer it deletes the frame rather than iconify it? >> - give `bury-buffer' an extra argument which allows (or forbids) to >> =A0delete the selected window (or corresponding frame), > Perhaps this is the best long term answer. Not sure if it's needed. Calling bury-buffer with a non-nil arg should be sufficient. >> - make sure that `bury-buffer' deletes only automatically created >> =A0windows (much like the recent option `frame-auto-delete'). > What's an "automatically created window"? Good question. To me it sounds like "softly dedicated" windows, but I know Martin hates those, so he is clearly thinking of something else. > (progn > (set-window-dedicated-p (selected-window) t) > (bury-buffer)) > still iconifies the frame. What else would you want it to do? Stefan