Because Anything has nice narrowing and selection interface, it is common to invoke
anything with even single source. That’s much more user-friendly than normal Emacs TabCompletion. There are many applications utilizing Anything framework. AnythingApplication? is a command containing
Lisp:anything-traverse.el Integrate traverselisp with anything (like grep)
Lisp:anything-mercurial.el Manage your mercurial patchs from anything (hg qpatch)
Lisp:anything-delicious.el Manage your delicious bookmarks from anything. (add, delete, update, browse, tag completion)
Lisp:anything-ipython.el Python completion with anything and Ipython.
Lisp:php-completion.el Complete everything PHP with anything.
Lisp:anything-include.el For C and C++. Anything-source made maintenance of history of #include and reusable.
Lisp:descbinds-anything.el Yet another describe bindings with anything.
‘anything-complete-shell-history’: complete from .*sh_history
‘anything-read-string-mode’replaces default read functions with anything ones.
You can add support for comint completions as follows. This works well for ESS EmacsSpeaksStatistics.
(setq anything-c-source-comint '((name . "Objects / functions") (candidates . anything-c-source-comint-completions) (volatile) (action . ac-insert))) (setq anything-comint-sources '(anything-c-source-comint)) (defun anything-comint-dynamic-simple-complete (stub completions) (progn (setq anything-c-source-comint-completions completions) (anything-complete anything-comint-sources stub))) (defalias 'comint-dynamic-simple-complete (symbol-function 'anything-comint-dynamic-simple-complete))
Thank you. But please support other comint completion methods such as file name completion. After that I’ll take in your patch. – rubikitch
[new] Lisp:anything-el-swank-fuzzy.el fuzzy symbol completion using ElSwankFuzzy. [new] How about provide a function named
‘slime-indent-and-complete-symbol’? It is convenience to be bind.
‘anything-el-swank-fuzzy-complete-symbol’can not work and give “No buffer named anything complete”. If execute
‘anything-el-swank-fuzzy-complete-variables’and then execute
(defun anything-kill-buffers () (interactive) (anything '(((name . "Kill Buffers") (candidates . anything-c-buffer-list) (action ("Kill Buffer" . (lambda (candidate) (kill-buffer candidate) (anything-kill-buffers) ))) (candidate-transformer . anything-c-skip-boring-buffers);;skip boring buffers )) nil nil))
[new] Note that `anything-c-source-buffers+’ already do that with C-u C-z