emacs-devel
[Top][All Lists]
Advanced

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

Re: Context menus and mouse-3


From: Tak Kunihiro
Subject: Re: Context menus and mouse-3
Date: Thu, 17 Sep 2020 08:49:17 +0900

>> - Horizontal scroll by wheel is supported.
>> - Moving text using mouse is supported.

> Please explain how horizontal scroll by wheel is supported.
> Also please explain how moving text using mouse is supported.

Try something like this.

(setq mouse-wheel-tilt-scroll t)
(setq mouse-drag-and-drop-region 'meta)

>> * Contextual menu is not supported yet.
>> 
>> I think that depending on a thing at mouse event (file, dir, or URL),
>> choice of operation should be popped up.  When there is no suggestion,
>> `Edit' menu should be popped up.  Also, by click on mode-line, buffer
>> list should be popped up.
>> 
>> I am using a global minor mode `poplife-mode' that puts commands on
>> mouse-3.  I attach a file with poplife-mode to show the idea.
> 
> Thanks, this is a good starting point for adding contextual menu.
> I tried poplife-mode, and it pops up the menu on mouse-3,
> but it seems only when there is the selection already,
> i.e. it doesn't pop up the menu when nothing is selected.
> Is this intended to work this way?

That’s not intended behavior!
I found that for unknown reason, poplife-mode does not overwrite 
[mouse-3] started with emacs -Q.  I’ll fix it and come back
soon while the topic is hot.




reply via email to

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