all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Liu Hui <liuhui1610@gmail.com>, 25115@debbugs.gnu.org
Subject: bug#25115: 26.0.50; ibuffer fails to show confirmation buffer when there are side windows
Date: Mon, 05 Dec 2016 08:31:19 +0100	[thread overview]
Message-ID: <584517C7.8040604@gmx.at> (raw)
In-Reply-To: <921d3030-33fa-b1df-1fa9-d2a3e9b1c56b@gmail.com>

 > When there are side windows, ibuffer fails to show the comfirmation buffer for buffers to be killed.
 >
 > 1. emacs -Q & create a side window by
 > (pop-to-buffer "test"
 >                 '(display-buffer-in-side-window
 >                   (side . right)
 >                   (width . 0.2)))
 > 2. switch to another buffer and M-x ibuffer
 > 3. press 'D', mark two or more buffers for killing
 > 4. press 'x'
 >
 > then an error 'ibuffer-confirm-operation-on: Cannot split side window or parent of side window' is issued.
 >
 >
 > In GNU Emacs 26.0.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 >   of 2016-12-03 built on lgw01-50
 > Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
 > System Description:    Ubuntu 16.04.1 LTS

Thanks for the report.  Since I don't use ibuffer I just tried to follow
your recipe.  In (2) I switched to *Messages* in the side window by
selecting it with the mouse from the Buffers menu.  If, after M-x
ibuffer, I now type ‘D’ in the side window, ibuffer prompts me whether I
really want to kill *Messages* so I miserably failed to "mark two or
more buffers for killing".

If instead in (3) I repeatedly type ‘m’ to mark all buffers listed in
the side window and then type ‘D’, my main window gets split, in the
window at the bottom I get a list of the selected buffers and in the
minibuffer I'm asked whether I really want to kill 3 buffers.  When,
instead of ‘D’ I type ‘x’, I am asked in the minibuffer whether I really
want to kill the buffer at the current line of the side window.

I don't understand the ibuffer code (partly because I don't understand
what an interactive Lisp closure is and how it works).  So if you can't
give me a recipe I can follow it might be best if you debug the ibuffer
code yourself to find out why and how it tries to split the side window.

Finally note that side windows are preferably populated via
‘display-buffer’, so the "switch to another buffer" and "M-x ibuffer" in
step (2) already sound like a bad idea.

Thanks, martin






  reply	other threads:[~2016-12-05  7:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-05  3:28 bug#25115: 26.0.50; ibuffer fails to show confirmation buffer when there are side windows Liu Hui
2016-12-05  7:31 ` martin rudalics [this message]
     [not found]   ` <d0790209-000a-ea3a-d279-f04d5b0b65d8@gmail.com>
2016-12-05 10:16     ` martin rudalics
2016-12-05 15:08       ` Mark Oteiza
2016-12-05 16:24         ` martin rudalics
2016-12-06 10:20           ` Tino Calancha
2016-12-06 14:28             ` martin rudalics
2016-12-06 22:45               ` Tino Calancha
2016-12-07  8:15                 ` martin rudalics
2016-12-12  5:22               ` Liu Hui
2016-12-12  9:59                 ` martin rudalics
2016-12-12 10:09                   ` Tino Calancha
2022-02-12  8:51 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=584517C7.8040604@gmx.at \
    --to=rudalics@gmx.at \
    --cc=25115@debbugs.gnu.org \
    --cc=liuhui1610@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.