bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38013: [PATCH] Rectangular region selection with mouse


From: Mattias Engdegård
Subject: bug#38013: [PATCH] Rectangular region selection with mouse
Date: Mon, 4 Nov 2019 21:18:20 +0100

4 nov. 2019 kl. 19.27 skrev martin rudalics <rudalics@gmx.at>:

> If you bind it to the control key you should at least be able to pop
> up the buffer menu yourself if the up event occurs at the same
> position as the down event.
> 
> But here I can simply do
> 
> (global-set-key [C-down-mouse-1] 'mouse-drag-region)
> (global-set-key [C-drag-mouse-1] 'mouse-set-region)
> (global-set-key [C-mouse-1] 'mouse-buffer-menu)
> 
> and get both, normal mouse dragging and the buffer menu.  What more
> would you need?

The rectangle-mark code can perhaps be rewritten to work that way, but doesn't 
it force the pop-up menu to be used with click-release-select-click-release 
instead of the quicker click-select-release?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]