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: Sun, 26 Jun 2011 21:30:01 -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 1309138288 6405 80.91.229.12 (27 Jun 2011 01:31:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2011 01:31:28 +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 Mon Jun 27 03:31:21 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 1Qb0fY-0002mE-Ou for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jun 2011 03:31:21 +0200 Original-Received: from localhost ([::1]:43555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb0fV-0006s0-Py for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Jun 2011 21:31:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb0fH-0006ri-Qc for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2011 21:31:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qb0fG-0004oH-QN for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2011 21:31:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb0fG-0004oA-Os for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2011 21:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qb0fF-00016K-Sv; Sun, 26 Jun 2011 21:31: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: Mon, 27 Jun 2011 01:31: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.13091382091670 (code B ref 8911); Mon, 27 Jun 2011 01:31:01 +0000 Original-Received: (at 8911) by debbugs.gnu.org; 27 Jun 2011 01:30:09 +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 1Qb0eO-0000Qs-NK for submit@debbugs.gnu.org; Sun, 26 Jun 2011 21:30:08 -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 1Qb0eN-0000Ic-Bb for 8911@debbugs.gnu.org; Sun, 26 Jun 2011 21:30:07 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAArcB05MCqDH/2dsb2JhbABSp0d4iHS+OYYwBJ4RhCk X-IronPort-AV: E=Sophos;i="4.65,429,1304308800"; d="scan'208";a="117165628" 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; 26 Jun 2011 21:30:01 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 8487A58E05; Sun, 26 Jun 2011 21:30:01 -0400 (EDT) In-Reply-To: (Juanma Barranquero's message of "Sun, 26 Jun 2011 13:25:02 +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: Sun, 26 Jun 2011 21:31: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:47522 Archived-At: >> I thought Stefan's proposal to call `bury-buffer' with the current >> buffer as explicit argument should handle this. > True, thanks. I've committed that fix. > What about the other two? I'm not sure about the third (isn't it also fixed by passing a non-nil arg to bury-buffer?), but for the second the right fix is to remove the "fallback on pop-to-buffer" from switch-to-buffer. Of course, that will (re)introduce new bugs which we could/should "fix" by marking switch-to-buffer (and find-file and maybe a few more) as "don't call from Elisp". Stefan