我在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