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: Tue, 21 Jun 2011 17:02:25 +0200 Message-ID: References: <4E009EB0.1050903@gmx.at> <4E00ADC0.80006@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 1308668681 19364 80.91.229.12 (21 Jun 2011 15:04:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2011 15:04:41 +0000 (UTC) Cc: 8911@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 21 17:04:37 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 1QZ2VF-0004Yv-WE for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2011 17:04:34 +0200 Original-Received: from localhost ([::1]:42258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ2VE-00075M-M2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jun 2011 11:04:33 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ2Uq-000744-5s for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2011 11:04:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZ2Ul-0002E9-OX for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2011 11:04:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZ2Ul-0002Di-7b for bug-gnu-emacs@gnu.org; Tue, 21 Jun 2011 11:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QZ2Uk-00013Q-7D; Tue, 21 Jun 2011 11:04:02 -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: Tue, 21 Jun 2011 15:04: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.13086685943999 (code B ref 8911); Tue, 21 Jun 2011 15:04:02 +0000 Original-Received: (at 8911) by debbugs.gnu.org; 21 Jun 2011 15:03:14 +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 1QZ2Tx-00012S-H7 for submit@debbugs.gnu.org; Tue, 21 Jun 2011 11:03:13 -0400 Original-Received: from mail-pv0-f172.google.com ([74.125.83.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QZ2Tv-00012G-8X for 8911@debbugs.gnu.org; Tue, 21 Jun 2011 11:03:11 -0400 Original-Received: by pvh18 with SMTP id 18so4379068pvh.3 for <8911@debbugs.gnu.org>; Tue, 21 Jun 2011 08:03:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=Ekb+EA2BzNE9cN70eLxXumpu0EhSiZmshH90ayFXzV8=; b=evUa7PWrmVuVnws7VMsyBx6sNXpUHZhPj6fSHBdb3+6x/F2ciSM6Ow0TC0uNyJKfqg UznNf0gPb/qilUdrrEIII40pKL1zpCawADz8AWnnPdbLZ5MbxoeC87eMnxxGOVqsOfD6 XosaFc5mSvaZHBNnclGpuUhGFKfSkcgcLM1Os= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=eFCKBQGwGmNJbjbkqGBycP4pgf7UM4LlT8E3YNpWpSb5OMXgqZCL1C/ZG4pnOyeSii aP7hYpmmKAPSq0z0xgMD+Ds3V89NTkGjUYcyspoMiwNbnFLSAXi4F5x8H00xXBI70qWF rMvO9NReMgLOhRdKoF5NDXWCtg9LSCJZIpL4Y= Original-Received: by 10.142.174.20 with SMTP id w20mr139588wfe.379.1308668585162; Tue, 21 Jun 2011 08:03:05 -0700 (PDT) Original-Received: by 10.142.134.11 with HTTP; Tue, 21 Jun 2011 08:02:25 -0700 (PDT) In-Reply-To: <4E00ADC0.80006@gmx.at> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 21 Jun 2011 11:04: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:47377 Archived-At: On Tue, Jun 21, 2011 at 16:42, martin rudalics wrote: > I think it's the correct way to handle the present case. =C2=A0IIUC, all > `bs-cycle-next' wants is to get the buffer out of the way in the > buffer-list. =C2=A0Is that assumption correct? If you ask about the reason to call `bury-buffer' at that point, yes. The reason to call `bs-cycle-next' is to rotate among the buffers in the current window. > I stand corrected. =C2=A0But then the buffer shown in the dedicated windo= w > kept its position in the buffer list. =C2=A0Isn't that a bug? If the window is dedicated, and the user invokes bs-cycle-next (usually, by having it bound to a key, and not realizing that the window is dedicated), that's user error, but the user should not be penalized; staying is better. Perhaps a message could be shown. Also, no new window should be created. For example, I find the current behavior emacs -Q -l bs C-h N C-h C-c M-: (set-window-dedicated-p (selected-window) t) M-x bs-cycle-next of splitting the window extremely unuseful and unhelpful. Let's say that I'm an extreme case of not wanting non-temporary windows unless I create them myself explicitly. > Those infamous windows popped up by `display-buffer'. =C2=A0I'm afraid th= at a > user of `bs-cycle-next' will hardly remember why the window was created > in the first place. Definitely. > You're right. =C2=A0My memory was wandering. Well, not that I have refreshed it, it would be good if that wouldn't iconify the frame ;-) =C2=A0 =C2=A0 Juanma