emacs-devel
[Top][All Lists]
Advanced

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

Re: master 128ed5c9f17: Add one more mouse-set-point call to functions x


From: Juri Linkov
Subject: Re: master 128ed5c9f17: Add one more mouse-set-point call to functions xref-find-*-at-mouse
Date: Fri, 01 Sep 2023 09:50:23 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

>> The problem is that this is necessary only for some of them, not all:
>> only for the commands that rely on the position of the mouse click,
>> not for the commands that operate on the whole buffer.  For example,
>> in emacs-lisp-mode only for the menu item "Evaluate Last S-expression",
>> but not for "Evaluate Buffer".
>
> Mind however that many of these commands are also meant to operate from
> the mode line lighters, in which case this is precisely the desired
> behavior.

I see that such events show they originate from 'mode-line',
and events from the menu bar contain 'menu-bar'.  So maybe
it would be sufficient to filter out 'mode-line' and 'menu-bar'.



reply via email to

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