최근 편집
변경됨:
< ''without displaying'' it in `*Completions*', by using '''`C-M-TAB'''' or
< '''`C-M-S-TAB'''' instead of `TAB' or `S-TAB', respectively. These
(으)로
> ''without displaying'' it in `*Completions*', by using '''`C-M-TAB'''' (`C-M-tab') or
> '''`C-M-S-TAB'''' (`C-M-S-tab') instead of `TAB' or `S-TAB', respectively. These
| Previous: Icicles - Persistent Completions | Icicles | IciclesIndex | Next: Icicles - History Enhancements |
One of the advantages Icicles provides is the ability to deal with large sets of completion candidates with ease. There are other libraries that also let you cycle among various choices of different kinds (buffers, files, and so on), but cycling quickly loses its effectiveness as the number of candidates increases. Icicles apropos matching lets you work with a large initial set of candidates by filtering them, quickly reducing the number candidates to cycle through. Filtering by a prefix only (vanilla Emacs) is not very potent. Until you get used to Icicles, you will be surprised at your ability to manipulate even humongous sets of choices.
Nevertheless, there can be times when a candidate set is so large that you need to use a few tricks to deal with it efficiently. There are two main things that take time when dealing with a large set: computing the set and displaying it (with highlighting) in buffer ‘*Completions*’. In particular, incremental completion display is costly because it does both of these, recompute the set and redisplay it, each time you type or delete a character in the minibuffer.
Here are some tips to improve performance with a large set of candidates:
‘*Completions*’. You can do this on the fly at any time by using `C-#’ in the minibuffer – use `C-#’ again to turn it back on. See Icicles - Icompletion.‘*Completions*’, by using ‘C-M-TAB’ (‘C-M-tab’) or ‘C-M-S-TAB’ (‘C-M-S-tab’) instead of ‘TAB’ or ‘S-TAB’, respectively. These are bound to commands ‘icicle-prefix-complete-no-display’ and ‘icicle-apropos-complete-no-display’. For example, when initially computing the set of all files on your file system for ‘C-u M-x icicle-locate-file’, use ‘C-M-S-TAB’ to compute the set, then use `C-}’ to save it to a cache file – you need never display it.(The documentation refers to the keys that do this as ‘C-M-S-TAB’ and ‘C-M-TAB’. Actually, this is only by default. You can customize this, using options `icicle-apropos-complete-no-display-keys’ and `icicle-prefix-complete-no-display-keys’.)
| Previous: Icicles - Persistent Completions | Icicles | IciclesIndex | Next: Icicles - History Enhancements |
DrewsElispLibraries referenced here: Lisp:icicles.el
CategoryCommands CategoryCompletion CategoryRegexp CategoryDirectories CategoryFiles CategoryProgrammerUtils CategoryCode