[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: kill selection buffer window on quit [PATCH included]



On 2017-07-10 18:41, Katsumi Yamaoka wrote:
> In [emacs-w3m : No.12736]
> On Mon, 10 Jul 2017 05:20:28 -0400, Boruch Baum wrote:
> > On 2017-07-10 18:16, Katsumi Yamaoka wrote:
> >> In [emacs-w3m : No.12733]
> >> On Mon, 10 Jul 2017 02:41:51 -0400, Boruch Baum wrote:
>
> >>> When quitting `emacs-w3m' from within the pop-up buffer selection
> >>> window, ie. `M-t' followed by 'd' for all buffers, the popped-up
> >>> buffer selection window wasn't killing itself. The attached one-line
> >>> patch fixes that.
>
> >> Could you let me know the full names of the commands to reproduce it?
>
> >> M-t runs the command transpose-words
>
> > w3m-select-buffer
>
> Hmm, I knew it of course, but emacs-w3m doesn't bind the M-t key

Just checked, and yes, it is my own keybinding.

> AFAIK.  Moreover, even if it is `w3m-select-buffer-delete-buffer',
> it deletes the emacs-w3m frame together with the selection window.

I'm not running an X11-enabled version of emacs, just ye-olde
`emacs-nox', and my w3m doesn't create a new frame. What happens is that
the w3m buffer pops to the top of one of the already existing windows,
not creating even a new window, and `w3m-select-buffer' splits that
window.


--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0