emacs-devel
[Top][All Lists]
Advanced

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

Re: Changing default mouse bindings


From: Eli Zaretskii
Subject: Re: Changing default mouse bindings
Date: Fri, 17 Nov 2017 09:23:41 +0200

> From: Tak Kunihiro <address@hidden>
> Cc: Tak Kunihiro <address@hidden>,  address@hidden (Charles A. Roelli),  Alex 
> <address@hidden>,  address@hidden,  address@hidden,  address@hidden,  
> address@hidden
> Date: Fri, 17 Nov 2017 08:21:02 +0900
> 
> (global-set-key [mouse-3] 'mouse-context-menu)
> (defun mouse-context-menu (event)
>   (interactive "e")
>   (or (poplife-mouse-dir-menu event)       ; DIR menu
>       (poplife-mouse-url-menu event)       ; URL menu
>       (mouse3-region-menu event)           ; region menu
>       (mouse-context-menu-default event))) ; default menu <<<<<

I don't think binding this to mouse-3 by default can fly, because it
contradicts the usual GUI meaning of that button related to
selections, something that is honored by all well-behaving GUI
applications in the X world.  It would be unwise for Emacs not to
comply.



reply via email to

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