GNU bug report logs - #56198
Request to delete window with mouse event

Previous Next

Package: emacs;

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 #20 received at 56198 <at> debbugs.gnu.org (full text, mbox):

From: Visuwesh <visuweshm <at> gmail.com>
To: carlmarcos <at> tutanota.com
Cc: 56198 <at> debbugs.gnu.org
Subject: Re: bug#56198: Request to delete window with mouse event
Date: Sat, 25 Jun 2022 13:44:03 +0530
[சனி ஜூன் 25, 2022] carlmarcos <at> tutanota.com wrote:

> Jun 24, 2022, 17:10 by visuweshm <at> gmail.com:
>
>  [வெள்ளி ஜூன் 24, 2022] carlmarcos--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors"
>  wrote:
>
>  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.
>
>  I think mouse-3 (i.e., Right Click) on the mode-line does what you want?
>  However, this does not kill the buffer that shown in the window though
>  but should be easy enough to change (search for "mouse-delete-window" in
>  mouse.el).
>
> Was not aware of mouse-3 on mode-line.  Just need to rewove the window, 
> without necessarily killing the buffer.
>
> Actually, I have noticed a problem with using mouse-3 on mode-line.  Suppose
> you push mouse-3 on mode-line, the window is removed without giving me the 
> possibility to net remove it should I change my mind.  
>
> It is different behaviour than for instance the mode-line options for minor-mode,
> where you can decide not to take any action.

For this, I have winner-mode enabled.  Should I regret my choice, I
simply say M-x winner-undo RET.  Granted, this requires the keyboard but
this is not a frequent problem for me to care enough.




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.