auto-complete.el便å©
åºãå½åããé常ã«ä¾¿å©ã«ä½¿ã£ã¦ããããã¯ãããªã¬ã¼ãã¼ãå¼ãéã«è£å®åè£ãåºãã®ã§ã¯ãªãã¦ã常ã«åºãã¨ããã®ã¯è£å®ã¸ã®æèãã¾ãéã£ãæè¦ã«ãªã£ã¦é¢ç½ãã
ã³ã¼ããçããããè£å®ã®æåãä¿®æ£ãããããã¼ãã¤ã³ããä¿®æ£ããããã¦ãããããã¯ãããªã大幅な修正が行われているããã§ãã³ã¼ãã®å¤åãå«ãã¦ä»å¾ã楽ãã¿ãid:rubikitchããã®ã³ã¼ãã¬ãã¥ã¼ãé常ã«åèã«ãªãã
èªåã®ã¨ããã§ã¯ä»¥ä¸ã®ãããªé¢æ°ã追å ãã¦ä½¿ã£ã¦ããã
;;2008-11-19çã®ã½ã¼ã¹ç¨ (defun ac-next-or-next-line (arg) (interactive "p") (if (= (length ac-candidates) 1) (progn (ac-abort) (next-line arg)) (ac-next))) (defun ac-previous-or-previous-line (arg) (interactive "p") (if (= (length ac-candidates) 1) (progn (ac-abort) (previous-line arg)) (ac-previous))) (define-key ac-complete-mode-map "\C-n" 'ac-next-or-next-line) (define-key ac-complete-mode-map "\C-p" 'ac-previous-or-previous-line) (define-key ac-complete-mode-map [down] 'ac-next-or-next-line) (define-key ac-complete-mode-map [up] 'ac-previous-or-previous-line) (define-key ac-complete-mode-map ";" 'ac-complete)
ã¾ãããã¼ãæã£ã¦ããã¨åæã«è£å®åè£é¸æã¢ã¼ãã«ãªãããããã®ã¾ã¾ã ã¨ã«ã¼ã½ã¼ã«ã®ç§»åã¨åè£ã®é¸æããã¶ã£ã¦ãã¾ããç¹ã«ãçãåèªã ã¨ãã®ã¾ã¾æã¡åã£ã¦ãã¾ããã¨ãå¤ããããããã«ç§»åãè¡ããã¨ããå ´åã«åè£é¸æãè¡ããã¦ãã¾ã£ã¦ããªãå°ãã試è¡é¯èª¤ã®çµæãé¸æåè£ãï¼ã¤ã®å ´åï¼è£å®ããã«æã£ãã»ã¨ãã©ã®å ´åï¼ã¯ã«ã¼ã½ã¼ã«ã®ç§»åãè¡ããããã¨ãå¤ãã£ãã®ã§ãä¸ä¸ãã¼ã¯åè£ã®æ°ã§æåãå¤ããããã«ãã¦ã¿ãã
ããä¸ã¤ã¯ãè£å®æ±ºå®ã®ãã¼ãEnterã ã¨é ããã¦ãC-mã§ãï¼ã¹ããã¼ã¯ã§é£æããã«ã¯è¾ãã®ã§ãè£å®ã§ä½¿ããªãã;ããè£å®æ±ºå®ã«ãã¦ã¿ãã
æè¿ã¯Emacsã§æ¥åã·ã¹ãã ã®UIãä½ãã¨ããã®ã¯ãå®ã¯ããã¦ããããããªããã¨æãå§ãã¦ãããEmacsãFirefox+GMã®ããã«è©¦ããªããæ§ç¯ã§ããç°å¢ããUIè¨è¨ã»éçºã«ã¯é常ã«éè¦ã«ãªã£ã¦ããã