I'm trying to use icicle-command-abbrev to reduce the amount of typing that I do. I have proxy candidates enabled (setq icicle-add-proxy-candidates-flag t), (I can also enable them with C-M-_ but, for some reason, I can never get ff to match find-file. Sorting is set to proxy coandidates first, and I have proxy candidates with a higher precedence than regular commands. What am I doing wrong?
Abbrev proxy candidates in emacs icicles
67 Views Asked by PythonNut At
1
You don't really say what behavior you see, corresponding to "I can never get
ffto match find-file." Let me tell you what behavior you should see, and then you can please tell me what the difference is.From your description, you should see proxy candidates in
*Completions*. When you useicicle-command-abbrev(bound toC-x SPCby default) and then you typeff TABat theM-xprompt, you should see command names that have at least two parts that start withf, and you should see the proxy candidateff, which should be highlighted (with faceicicle-proxy-candidate). That proxy candidate should be the first candidate listed in*Completions*(because you have sorted proxy candidates first).If you then cycle to that candidate (just hit
TABa second time, or the down arrow once), and then hitRETto choose it, the prompt should change toCommand abbreviatedff:. If you then hitTAByou should see in*Completions*the list of commands whose names have at least two parts that start withf. You can then cycle to one or type more text to complete to one, to choose it.Let me know which part of this description you do not see.
However, I just realized that there was a bug (a missing variable binding), which I have now fixed. The symptom would be that when you choose command
find-filea missing-variable-binding error was raised. Please download the latesticicles-cmd1.el, which has the fix. (Or wait until the file is mirrored on MELPA, which could take up to a day.)If what you see other than that bug is what I described, then you should be OK with the new version. If not, please describe what you see that is different from my description. Sorry for your trouble.
(You can of course just hit
RETas soon as you typeff, to get the second completion prompt directly. But first check that the recipe above works for you.)