-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
Description
Hi @dgutov ,
I'm using Robe, company-mode and IDO.
I have company-auto-update-doc set to t.
Under that setup, the Module: prompts are too high-friction. While using Company, maybe I intended to <down> my way to method foo, but method bar is before in the Company popup, and Robe asks me to disamgibuate the Module: . I cannot exit that until I C-g or choose an arbitrary module.
What I really want is to press <down> again and continue my way to foo.
The way we solved an analog problem in CIDER was to provide this macro:
And then one would use:
(advice-add 'robe-completing-read
:around
(lambda (f &rest args)
(cider--with-temporary-ido-keys "<up>" "<down>"
(apply f args))))(I actually used that CIDER macro as-is with robe-completing-read and it worked!)
I don't have a problem atm with this setup, but I figured it would be good to let you know / document a solution.
Cheers - V