auto-completeã®åºæ¬çãªä½¿ãæ¹ã«ã¤ãã¦ã¯åå説æãã¾ãããä»åã¯ããã«è¸ã¿è¾¼ããauto-completeã®æ¡å¼µæ¹æ³ã«ã¤ãã¦èª¬æããã®ã¡ã«ãauto-completeã®å°æ¥ããã®å¨è¾ºã«ã¤ãã¦èª¬æãããã¨æãã¾ãã auto-completeã®æ¡å¼µæ¹æ³ ======================= æ å ±æºã®åºæ¬ ââââ æ¡å¼µå¯è½ã¨ç§°ãã¦ããã½ããã¦ã§ã¢ã®å¤ãããã©ã°ã¤ã³ææ³ãæ¡ç¨ãã¦ããããã«ãauto-completeãä¸ç¨®ã®ãã©ã°ã¤ã³ææ³ã«ãã£ã¦æ¡å¼µå¯è½æ§ãå®ç¾ãã¦ãã¾ãããããæ å ±æºã¨å¼ã°ããauto-completeãæ¡å¼µããããã®ã³ã¢ã®æ¦å¿µã«ãªãã¾ããæ å ±æºã¨ãã表ç¾ã¯ãã¨ãã¨anythingã¨ããæ¡å¼µã§ä½¿ç¨ããã¦ãããã®ã§ãã(*1)ãæ¡å¼µæ§ã«å¯ãå½¢å¼ã§ãããã¨ãæ¦å¿µã®åå©ç¨ã«ãã£ã¦å¦ç¿ã³ã¹ããä½ãä¿ã¦ããã¨ãããauto-completeã§ãåæ§ã®å½¢å¼ãæ¡ç¨ãã¾
auto-completeã使ãã ==================== auto-completeã¨ã¯ ââââââ ä»åã¯æåå³åãªããæä½ã®auto-completeã¨ããè£å®ããã±ã¼ã¸ã®ç´¹ä»ã¨ä½¿ãæ¹ã®èª¬æããããã¨æãã¾ããauto-completeã¯Emacsã®è²§å¼±ãªè£å®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãè£å®ããç®çã§2008å¹´ã«éçºããã¾ãããå¾æ¥ã®Emacsã®è£å®ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¨ããã®ã¯è¯ããæªããEmacsæµã§ãããä¾ãã°ã«ã¼ã½ã«ç´ä¸ã®Lispã·ã³ãã«ãè£å®ããlisp-complete-symbol(M-TAB)ãå®è¡ããã¨ãç¾å¨ã®ã¦ã£ã³ãã¦ãåå²ããã¦æ°ããã¦ã£ã³ãã¦ã«è£å®åè£ãä¸è¦§ããã¾ããããã¦ãææ°ã®Emacsã§ããããªã®ã§ããããã®æ°ããã¦ã£ã³ãã¦ã¯èªåã§éããªãéãæ°¸é ã«åå¨ãã¤ã¥ããã®ã§ãã é·å¹´Emacsã使ã£ã¦ãã人ã«ã¨ã£ã¦ã¯ãã®æåã¯ãããèªç¶ãªã®ããããã¾ãã
look ã³ãã³ãã¯ãè±åèªã®ã¤ã¥ãã調ã¹ãã³ãã³ãã§ããUbuntu ãªãããã«å©ç¨ã§ãã¾ããFedora ãªã sudo yum install words ã§ã¤ã³ã¹ãã¼ã«ã§ããããã§ããMac ã¯ãããã¾ãããMac ã§ãããã«å©ç¨ã§ãããããã§ãã â¼ ãããªæåã§ã ãããããã¹ãã¨ãã£ã¿ã¼ emacs 㧠auto-complete.el ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ã§å©ç¨ã§ããã°ä¾¿å©ã§ãã auto-complete ãã¤ã³ã¹ãã¼ã«ããdot.emacs ã«ä»¥ä¸ã追è¨ããã°ãM-h ã§è£å®ã§ãã¾ãã (require 'auto-complete-config) (defun my-ac-look () "look ã³ãã³ãã®åºåããªã¹ãã§è¿ã" (interactive) (unless (executable-find "look") (error "look ã³ãã³ããããã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}