From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#8911: bs-cycle-next deletes window in some cases. Date: Wed, 29 Jun 2011 05:57:23 +0200 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; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1309319962 1682 80.91.229.12 (29 Jun 2011 03:59:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2011 03:59:22 +0000 (UTC) Cc: 8911@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 29 05:59:18 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 1Qblvq-00012C-J0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Jun 2011 05:59:18 +0200 Original-Received: from localhost ([::1]:42294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qblvp-0002Fa-L4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jun 2011 23:59:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qblvc-0002FS-GV for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2011 23:59:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qblva-0004Gp-VA for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2011 23:59:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qblva-0004Gh-Tc for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2011 23:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QblvZ-0005XV-Tv; Tue, 28 Jun 2011 23:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Jun 2011 03:59: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.130931989121236 (code B ref 8911); Wed, 29 Jun 2011 03:59:01 +0000 Original-Received: (at 8911) by debbugs.gnu.org; 29 Jun 2011 03:58:11 +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 1Qbluk-0005WS-Kc for submit@debbugs.gnu.org; Tue, 28 Jun 2011 23:58:10 -0400 Original-Received: from mail-pw0-f44.google.com ([209.85.160.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qbluj-0005WG-18 for 8911@debbugs.gnu.org; Tue, 28 Jun 2011 23:58:09 -0400 Original-Received: by pwj5 with SMTP id 5so589164pwj.3 for <8911@debbugs.gnu.org>; Tue, 28 Jun 2011 20:58:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=nuSJVcY6PONGpz3c4uLbSrnWKBjF5kdZYFOaU9esfrI=; b=QUEPgJpuGjvuOskLsDbXYS2OG51EEGuBBGLrDM5BC5xugOI/rVhtZYaXCX695Fy+cP K28LneHeTUVnnEj3zQzhHWNE3Mz2l7fh1lyVacI7H2PyZSI/+mfFLOmAxlFXl3tMVfRo FzmwL2hGW2HB9h5xet1wSgVvepbvGVZCXzg4Y= Original-Received: by 10.142.118.24 with SMTP id q24mr171915wfc.392.1309319883174; Tue, 28 Jun 2011 20:58:03 -0700 (PDT) Original-Received: by 10.142.50.7 with HTTP; Tue, 28 Jun 2011 20:57:23 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 28 Jun 2011 23:59: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:47564 Archived-At: On Wed, Jun 29, 2011 at 05:27, Stefan Monnier wr= ote: > 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 wanted, I immediately do (which I have bound to bs-cycle-next). But, leaving aside my own use case, yeah, for the single frame use case, iconifying it is hardly going to be useful for anyone, I think. > 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). I don't even agree with your example, because I certainly wouldn't want my frames iconified (and, in any case, I'd use M-x iconify-frame 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. 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. bs-cycle-next is just the most prominent example of that bad behavior, because I use it a lot. So, I don't mind which is the default, as long as there's a way to customize it (with Martin's new window machinery, not redefining functions) to my tastes. =C2=A0 =C2=A0 Juanma