GNU bug report logs -
#56198
Request to delete window with mouse event
Previous Next
Reported by: carlmarcos <at> tutanota.com
Date: Fri, 24 Jun 2022 16:50:02 UTC
Severity: normal
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #64 received at 56198 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Jun 29, 2022, 00:07 by homeros.misasa <at> gmail.com:
>> I frequently split my windows, I usually kill the buffer using the
>> menu bar. But this leaves me with the window open with some other
>> buffer. Would like to request some facility to delete a window
>> (delete-window) using the mouse, as I frequently do for `kill-buffer'.
>> Perhaps the capability could be inserted in the window mode-line.
>> Where one can usually turn off a minor-mode with the mouse.
>>
>
> How about having `Close' in context menu?
>
I cannot understand this terminology. How does one access the context menu?
What is it?
> ["Close"
> (lambda () (interactive)
> (if (one-window-p)
> (if (> (length (visible-frame-list)) 1)
> (call-interactively 'delete-frame)
> (kill-buffer (window-buffer))) ; (quit-window)
> (delete-window)))
> :help "Remove this window or this frame, or kill this buffer"
> :visible (not (region-active-p))
> :active t]
>
[Message part 2 (text/html, inline)]
This bug report was last modified 2 years and 328 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.