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
51 Views Asked by PythonNut At
1
You don't really say what behavior you see, corresponding to "I can never get
ff
to 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 SPC
by default) and then you typeff TAB
at theM-x
prompt, 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
TAB
a second time, or the down arrow once), and then hitRET
to choose it, the prompt should change toCommand abbreviated
ff:
. If you then hitTAB
you 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-file
a 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
RET
as soon as you typeff
, to get the second completion prompt directly. But first check that the recipe above works for you.)