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


Message #60 received at 41343 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 41343 <at> debbugs.gnu.org, stefankangas <at> gmail.com
Subject: Re: bug#41343: tab-bar-mode: Close tab on mouse-2 click
Date: Tue, 10 Aug 2021 15:38:11 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Cc: stefankangas <at> gmail.com,  41343 <at> debbugs.gnu.org
> Date: Mon, 09 Aug 2021 10:03:28 +0300
> 
> So now I've completely redesigned the event processing on the tab bar.
> With the following patch
> 
> 'down-mouse-1' is bound to 'tab-bar-mouse-select-tab'
> 'down-mouse-2' is bound to 'tab-bar-mouse-close-tab'
> 'down-mouse-3' is bound to 'tab-bar-mouse-context-menu'
> 
> The context menu that pops up on down-mouse-3 was requested in bug#41342.
> Now also it should be possible even to implement drag-drop to move tabs
> with the mouse since they produce normal mouse events that now are accepted
> by the tab bar.

Thanks, this looks much, much better to me.




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.