我在minibuffer中使用文件名的標準選項卡完成,M-x
命令和其他東西。
我還經常使用M-/
keystroke(dabbrev-expand
)動態完成任何Emacs緩衝區中的任何單詞。這太棒了,特別是對於長變量名稱。下面是文檔:
M-/ runs the command dabbrev-expand, which is an interactive
autoloaded Lisp function in `dabbrev.el'.
It is bound to M-/.
(dabbrev-expand ARG)
Expand previous word "dynamically".
Expands to the most recent, preceding word for which this is a prefix.
If no suitable preceding word is found, words following point are
considered. If still no suitable word is found, then look in the
buffers accepted by the function pointed out by variable
`dabbrev-friend-buffer-function'.
A positive prefix argument, N, says to take the Nth backward *distinct*
possibility. A negative argument says search forward.
If the cursor has not moved from the end of the previous expansion and
no argument is given, replace the previously-made expansion
with the next possible expansion not yet tried.
The variable `dabbrev-backward-only' may be used to limit the
direction of search to backward if set non-nil.
See also `dabbrev-abbrev-char-regexp' and C-M-/.
你可能是指http://cx4a.org/software/auto-complete/index.html,奇怪的是沒有人提到它。這是我的經驗中最好的。 – VitoshKa 2012-01-20 14:36:05
是的,我的意思是這個軟件包 - 我總是忘記哪個包含' - '符號而不是;-) – 2012-01-20 18:42:27