From: Visuwesh <visuweshm@gmail.com>
To: carlmarcos@tutanota.com
Cc: 56198@debbugs.gnu.org
Subject: bug#56198: Request to delete window with mouse event
Date: Sat, 25 Jun 2022 13:44:03 +0530 [thread overview]
Message-ID: <878rpl17or.fsf@gmail.com> (raw)
In-Reply-To: <N5OmKqe--7-2@tutanota.com> (carlmarcos@tutanota.com's message of "Sat, 25 Jun 2022 09:35:21 +0200 (CEST)")
[சனி ஜூன் 25, 2022] carlmarcos@tutanota.com wrote:
> Jun 24, 2022, 17:10 by visuweshm@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.
next prev parent reply other threads:[~2022-06-25 8:14 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-24 15:27 bug#56198: Request to delete window with mouse event carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-24 17:05 ` Juri Linkov
2022-06-24 17:10 ` Visuwesh
[not found] ` <878rpmasxd.fsf@gmail.com-N5LgcGT----2>
2022-06-25 7:35 ` carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-25 8:14 ` Visuwesh [this message]
2022-06-25 8:24 ` Eli Zaretskii
2022-06-25 12:34 ` carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-25 14:14 ` Visuwesh
2022-06-26 15:01 ` Lars Ingebrigtsen
2022-06-26 15:26 ` Visuwesh
2022-06-26 15:31 ` Lars Ingebrigtsen
2022-06-26 15:40 ` Visuwesh
2022-06-26 15:46 ` Lars Ingebrigtsen
[not found] ` <87letjeafl.fsf@gnus.org-N5VXCNa--7-2>
2022-06-26 15:15 ` carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-26 15:20 ` Eli Zaretskii
2022-06-29 0:07 ` Tak Kunihiro
[not found] ` <m1v8skib7p.fsf@misasa.okayama-u.ac.jp-N5gmMGf--N-2>
2022-06-29 0:15 ` carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-29 9:16 ` Tak Kunihiro
[not found] ` <m1k08zhlt0.fsf@misasa.okayama-u.ac.jp-N5io4Li----2>
2022-06-29 10:37 ` carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=878rpl17or.fsf@gmail.com \
--to=visuweshm@gmail.com \
--cc=56198@debbugs.gnu.org \
--cc=carlmarcos@tutanota.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.