ace-popup-menu
ace-popup-menu copied to clipboard
Problems when using mouse in M-x customize
When I mouse-click on e.g. the "State" button in a customize buffer, I get the error:
cond: No such candidate, (mouse-1 ...)
If I disable ace-popup-menu-mode
, a GTK menu is displayed at the mouse location.
I'll take a look at this soon, thanks for opening the issue!
No problem. I'm used for opening a PR for the issues I report, but lately I'm drowning in my backlog.
Anyway, thanks for the package - it's super-useful with flyspell
.
Hmm, I'm getting "zero candidates" instead.
It's possible to get "zero candidates" depending on which button you click.
Try customize-group
org
and click on "State" button for "Org Export Backends".
Yeah, I can reproduce it now.
In the *messages*
buffer I get this:
avy-handler-default: No such candidate, (mouse-1 (#<window 288 on *Customize Group: Org*> 1337 (42 . 569) 35317506 nil 1337 (5 . 32) nil (0 . 5) (8 . 21)))
It looks like mouse click event does something inside avy--process
. ace-popup-menu
is a tiny wrapper around avy-menu
these days, and here is the relevant code:
https://github.com/mrkkrp/avy-menu/blob/master/avy-menu.el#L92-L102
Do you (as the author of avy
) know what is going on?