ãããããã¡ã®å±¥æ´ããè£å®åè£ãåºãpushy.elã試ãã¦ã¿ã
æ¨æ¥ããããããã¡ã®å±¥æ´ããè£å®åè£ãèªåçã«åºãpushy.elããªãªã¼ã¹ãããã®ã§ãã£ãã試ãããä½è ã¯ãã®anything.elã®åä½è Tamas Patrovicsãããå½¼ã¯ä»ã«ãå±¥æ´ãè£å®é¢é£ã®Emacs Lispãããããã¨åºãã¦ããããããªãã®å±¥æ´ããã¢ã®ããã ã
M-x install-elisp http://www.emacswiki.org/cgi-bin/wiki/download/pushy.el
ãããããã¡ã§æåãå ¥åããã¦ãã¾ãã¤ãã¦ããï¼ããã©ã«ãã§ã¯0.5ç§éå ¥åãæ¢ã¾ã£ããï¼ã¨ãå±¥æ´ããå ¥åã«ãããããåè£ãèªåçã«ãããã¢ãããã¦ãããããã¨ãã°M-:ã§ãrecentfãã¨å ¥åããã¨ãããããªæãã«ãªããéå»ã®å ¥åãåå©ç¨ãããã¨ãã«ã¯ã¨ã¦ã便å©ã ãããè£å®åè£ãä¸è¦§ãããã®ã§minibuf-isearch.elã®å¼·åçã¨èãã¦ããããã
ã«ã¼ã½ã«ç§»åã¯Ctrlãæ¼ããªããä¸ä¸ã確å®ã¯C-RETãåè£ãå ¥åããã®ã¯M-RETã§ã§ããããªãã ãã©ããããªã確å®ããããããåè£ãå ¥åãããã¨ã確èªãããããéå»ã®å ¥åãä¿®æ£ãããã¨ãããããã俺çã«ã¯C-RETã§åè£ãå ¥åã«ãã¦ããã
ãã¦ãè¨å®ãpushy-enable-globallyã¯ããã©ã«ãã§nilã«ãªã£ã¦ããã®ã§ã¨ããããtã«ãã¦ãããã
;; (install-elisp-from-emacswiki "pushy.el") (require 'pushy) (setq pushy-keys (list (cons (kbd "C-<return>") 'pushy-insert-item) ; åè£ãå ¥å ;; (cons (kbd "<ESC>") 'pushy-cleanup) ; é常ã®è£å®ãã§ããªããªãã®ã§ããã (cons (kbd "C-<up>") 'pushy-previous-line) (cons (kbd "C-<down>") 'pushy-next-line) (cons (kbd "C-<prior>") 'pushy-previous-page) (cons (kbd "C-<next>") 'pushy-next-page))) (setq pushy-enable-globally t) (pushy-mode 1)
ãã ãanything.elã¨ã¯ãã¾ãã¡ç¸æ§ãæªãã®ã§anythingé¢é£ã®ã³ãã³ãã§ã¯pushy-completionãoffã«ãã¦ãããanythingã®è¨å®ã®å¾ã«å ¥ãã¦ãããã
(dolist (cmd (all-completions "anything" obarray 'commandp)) (put (intern cmd) 'pushy-completion 'disabled))
iswitchbã使ã£ã¦ãã人ã¯ä»¥ä¸ã®è¡ãå ¥ãã¦ãããã
(pushy-iswitchb-setup)
[2009/01/30]追è¨
anything-complete.elã使ã£ã¦ããå ´åã¯ãã¡ããã¡ãç¸æ§ãæªãã®ã§ãç¹å®ã®ã³ãã³ãã§éå®çã«onã«ãã¦ã¿ãã¨ããã
(setq pushy-enable-globally nil) (put 'eval-expression 'pushy-completion 'enabled) (put 'shell-command 'pushy-completion 'enabled) (put 'shell-command-on-region 'pushy-completion 'enabled)