From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#25115: 26.0.50; ibuffer fails to show confirmation buffer when there are side windows Date: Mon, 05 Dec 2016 10:08:32 -0500 Message-ID: <87shq25s7j.fsf@udel.edu> References: <921d3030-33fa-b1df-1fa9-d2a3e9b1c56b@gmail.com> <584517C7.8040604@gmx.at> <58453E86.3060206@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1480950561 30801 195.159.176.226 (5 Dec 2016 15:09:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Dec 2016 15:09:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Liu Hui , 25115@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 05 16:09:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDutH-0007Oi-GT for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Dec 2016 16:09:15 +0100 Original-Received: from localhost ([::1]:40956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDutL-0003UP-AN for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Dec 2016 10:09:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDutB-0003SA-4J for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2016 10:09:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDut4-00084b-Ge for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2016 10:09:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41644) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDut4-00084Q-C2 for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2016 10:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cDut4-0001DC-7W for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2016 10:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Dec 2016 15:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25115 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25115-submit@debbugs.gnu.org id=B25115.14809505224632 (code B ref 25115); Mon, 05 Dec 2016 15:09:02 +0000 Original-Received: (at 25115) by debbugs.gnu.org; 5 Dec 2016 15:08:42 +0000 Original-Received: from localhost ([127.0.0.1]:57043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDusj-0001Ce-TW for submit@debbugs.gnu.org; Mon, 05 Dec 2016 10:08:42 -0500 Original-Received: from mail-qk0-f180.google.com ([209.85.220.180]:33498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDush-0001CR-S9 for 25115@debbugs.gnu.org; Mon, 05 Dec 2016 10:08:40 -0500 Original-Received: by mail-qk0-f180.google.com with SMTP id x190so348653860qkb.0 for <25115@debbugs.gnu.org>; Mon, 05 Dec 2016 07:08:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=FBG77fNjvK8HYUrMiI64O0e2YJWv8/q+Fokzk8rjn/8=; b=ILQZuG50D1sLky6sGUY66yfjva2uBZdOwa3Onrvl5vg7TI8pQuDtiTiTfvGk1AZR0t aw1M5kxbiEe3IEp7KzeCvgQPcr5lLSuLHgaOGrNs77cQVQubmVEycCLUa2+8fVqYmc6v OX2oTcwp0A78CzCkeLjDAqtyW2yWwzQf4mu/C5YGS8GCHLnIjm3EJ+qqsTrNtSiM3Q9X lPrlW11WDM33Jk6w2zle8Zh7zAO8ef9jRzzb2rgMJ32YrJW289VclQRXXtZZNoJPFo3J Q39bOy95DZLdWXHL8nNVQLy2XwzPZNW8iF2GFeG9su2CnnumQDZNH+Jy6WCm1sXe4lgC PJsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=FBG77fNjvK8HYUrMiI64O0e2YJWv8/q+Fokzk8rjn/8=; b=NBEuu9IGuaSg39JD/NqbPBs9WAMvQMmiNlSLNR/0zNAJE6+DDn/OnBmNMOt4fQq2ux y4cCbf//UutE94OPz3XGhwb0+MtCp9aJdGQBH8Je5N78yfvf0D+DujEqQYzVubfDxSBC ze5wD6oxeLFgYPWOe6/zxHFRtaW4j762hymPH5z+eAFSCeyoIHfvPHBwmESvZH5qpRHA FOp8LDz7GBjboMZA6LNQ4JDQh+FrP8PZpxdD9SYyySt4Ez/y7z/88gT+y2bAFwACEkiw GJf9DDEPF4ksRz1+8z4epXiE7ndKgZQrrukoIJP0+WE9rRpDW11fLJOtQXtodGK5WyEW iuiA== X-Gm-Message-State: AKaTC03A8k8/AAmKwb+Wy4LzRpODe+H7Wh25o1ue03QFxDrm1TwGpHaoO7QKoFrPV04wJfIY X-Received: by 10.55.99.200 with SMTP id x191mr58768565qkb.62.1480950514179; Mon, 05 Dec 2016 07:08:34 -0800 (PST) Original-Received: from holos.localdomain ([69.250.222.218]) by smtp.gmail.com with ESMTPSA id g97sm9572886qkh.11.2016.12.05.07.08.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Dec 2016 07:08:33 -0800 (PST) Original-Received: by holos.localdomain (Postfix, from userid 1000) id 99B4260D63; Mon, 5 Dec 2016 10:08:32 -0500 (EST) In-Reply-To: <58453E86.3060206@gmx.at> (martin rudalics's message of "Mon, 05 Dec 2016 11:16:38 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:126497 Archived-At: martin rudalics writes: >> Steps to reproduce: >> >> 1. emacs -Q >> 2. eval the following code in *scratch* to create a side window. >> (pop-to-buffer "test" >> '(display-buffer-in-side-window >> (side . right) >> (width . 0.2))) >> 3. Now the side window has been created and selected. Press 'C-x o' to s= witch to the other window in the left, which displays *scratch*. >> 4. M-x ibuffer. Then press 'd' to mark two or more buffers for killing. >> 5. Press 'x'. Then an error 'ibuffer-confirm-operation-on: Cannot split = side window or parent of side window' is issued. > > Confirmed. =E2=80=98ibuffer-confirm-operation-on=E2=80=99 selects the la= st window of > the selected frame's =E2=80=98window-list=E2=80=99 and tries to split tha= t window. In > your scenario the last window is the side window and cannot be split by > =E2=80=98split-window=E2=80=99. > > I pushed a fix for that on master, please have a look. > > But someone who's using ibuffer on a regular basis should really try to > make it use =E2=80=98display-buffer=E2=80=99 instead. There is absolutel= y no evidence > that the last window of a frame can be split more easily than the one > used by ibuffer itself and if no window can be split some other window > should be reused for displaying the buffer list. I don't use ibuffer often, but I have been changing instances of switch-to-buffer to pop-to-buffer-same-window since reading Bug#22244. Makes me wonder about switch-to-buffer's future