GNU bug report logs - #41343
tab-bar-mode: Close tab on mouse-2 click

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Sun, 17 May 2020 04:06:02 UTC

Severity: wishlist

Tags: fixed, patch

Merged with 41342

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 41343 <at> debbugs.gnu.org
Subject: bug#41343: tab-bar-mode: Close tab on mouse-2 click
Date: Mon, 6 Sep 2021 21:40:11 +0200
Juri Linkov <juri <at> linkov.net> writes:

> Now the branch 'feature/tab-bar-events' is ready for testing.
> Please help to find any possible problems.

I have tested it on GNU/Linux and macOS, and it seems to work fine.

One concern is that tabs close on mouse down, rather than release.

In Firefox, tabs close instead on mouse release.  This is good,
because it gives me a second to react and move the mouse cursor away
in case I misclick.

This is currently less important in Emacs, as the buffer survives even
such a misclick.  But maybe in the future users will want tabs to be
more strongly connected to their associated buffers, and work would
then easily be lost to a misclick.

Could we change this to close on mouse release instead?




This bug report was last modified 3 years and 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.