ä»ã¾ã§ã¯emacsã®è¨å®ãæä½éã®ãã®ã«ãã¦ããã®ã§ããããã¯ãçç£æ§ã¨ãããã®ãä¸ãããã¨èããæã«ãã¨ãã£ã¿ã®ä¾¿å©ãªæ©è½ã¯ä½¿ãããªãã¦ãããæ¹ãããã®ããªãã¨æãã¾ããï¼
ãã®ã¨ã£ãããã¨ãã¦ä¸è¨ã®typesterå
çã®è³æã§ç´¹ä»ããã¦ããæ¡å¼µã¨è¨å®ãè¡ãªãã¾ãããããã¯åã
åã®CasualPerlã®ã¹ã©ã¤ãã§ããã
http://typester.stfuawsc.com/slides/perlcasual2/start.html
å²ã¨æéåã£ã¦ãã¾ã£ãã®ã§ãè¨å®ã¡ã¢ã
emacsã®ã¢ãããã¼ã
ãã£ããè¨å®ãã¤ã³ã¹ãã¼ã«ãããã¨ãããã失æãã¾ããã
ãã®åå ãemacsã®ãã¼ã¸ã§ã³ã§ããã
ã21.x.xãã使ã£ã¦ãã¾ããã
ç¾å¨ã®Emacsã®ãã¼ã¸ã§ã³ã¯ã23.x.xããªã®ã§ãã¤ã³ã¹ãã¼ã«ãç´ãã¾ããã
ããã§å¾è¿°ã®ãauto-install.elããæ£å¸¸ã«åä½ããããã«ãªãã¾ããã
ãã£ã¬ã¯ããªä½æ
emacsã®æ¡å¼µã¯é常ã.emacs.d/ãã®ä¸ã«ç½®ãã¾ãã
ä»åã¯ãè¨å®ãåæ¡å¼µæ¯ã«ãã¡ã¤ã«ãåå²ãã¦ãã®ãã£ã¬ã¯ããªã«ç½®ããã¨ã«ãã¾ãã
ã¨ãããã¨ã§ä¸è¨ã®ã³ãã³ãã§ãåãã¡ã¤ã«ç¨ã®ãã£ã¯ã¬ããªãä½æãã¾ããã
æ¡å¼µç¨ã®ãã£ã¬ã¯ã㪠$ mkdir ~/.emacs.d/elisp è¨å®ãã¡ã¤ã«ç¨ãã£ã¬ã¯ã㪠$ mkdir ~/.emacs.d/conf
auto-install.elã¨init-loader.elã®ã¤ã³ã¹ãã¼ã«
http://www.emacswiki.org/emacs/download/auto-install.el
auto-install.elã¯ãemacsæ¡å¼µã®ãã¦ã³ãã¼ãã¨ã¤ã³ã¹ãã¼ã«ãè¡ãªã£ã¦ãããæ¡å¼µã§ãã
http://svn.coderepos.org/share/lang/elisp/init-loader/init-loader.el
init-loader.elã¯ãè¤æ°ã®è¨å®ãã¡ã¤ã«ãèªã¿è¾¼ãã§ãããæ¡å¼µã§ãã
ãã¦ã³ãã¼ããããã¡ã¤ã«ãã~/.emacs.d/elispãã«ç§»ãã¾ãã
ããã¦ãã./emacsãã«ä¸è¨ã®ãããªè¨å®ãå ãã¾ãã
(add-to-list 'load-path "~/.emacs.d/elisp") (require 'auto-install) (setq auto-install-directory "~/.emacs.d/elisp/") (require 'init-loader) (init-loader-load "~/.emacs.d/conf")
ããã§äºã¤ã®æ¡å¼µããã¼ãããã¾ãã
auto-install.elã§æ¡å¼µãã¤ã³ã¹ãã¼ã«
auto-install.elã§æ¬¡ã®æ¡å¼µãã¤ã³ã¹ãã¼ã«ãã¾ãã
- anything.el
- perl-completion.el
- auto-complete.el
- anything-project.el
- flymake
- perl-tidy
åæ¡å¼µã®æ¦è¦ã¯typesteræ§ã®ã¹ã©ã¤ããåç
§ã
anything.elã¨perl-completion.elã®ã¤ã³ã¹ãã¼ã«
ãã®äºã¤ã®æ¡å¼µã¯ä¸è¨ã®ã³ãã³ãã§ã¤ã³ã¹ãã¼ã«ã§ãã¾ãã
M-x auto-install-batch
ãã®ã³ãã³ããå
¥åããå¾ã«ãæ¡å¼µã®ååãå
¥åããã¨ãã¦ã³ãã¼ãã¨ã¤ã³ã¹ãã¼ã«ãå§ã¾ãã¾ãã
å¦çã®æµãã¨ãã¦ã¯ããã¦ã³ãã¼ããå§ã¾ã£ã¦ãã¦ã³ãã¼ããçµäºããã¨ã½ã¼ã¹ã表示ããã¾ãã
ãã®ã¨ãã«ãC-c C-cãã¨å
¥åãã¦ããã¨æ¬¡ã
ã¨ã¤ã³ã¹ãã¼ã«ããã¦ããã¾ãã
æ¡å¼µã®è¨å®
ã¤ã³ã¹ãã¼ã«ããæ¡å¼µã«å¯¾ããè¨å®ãæ¸ãã¦ããã¾ãã
ã¨ãè¨ã£ã¦ã大å¤ãªã®ã§ã人ã®åãåãã¾ãã
typesterå
çãå
¬éããã¦ããemacsã®è¨å®ã使ããã¦ããã ãã¾ãã
http://github.com/typester/emacs-config/tree/master/.emacs.d/conf/
ä»åãããã ããè¨å®ã¯ä¸è¨ã®éãã§ãã
- 00_init.el
- 01_util.el
- 50_anything.el
- 50_autocomplete.el
- 50_perl.el
- 55_anything_project.el
- 60_flymake.el
- 99_bindings.el
ä¸è¨ã®è¨å®ãã¡ã¤ã«ãã.emacs.d/confãã«ç½®ãã¾ãã
ã¾ããé¢é£ããæ¡å¼µãã¤ã³ã¹ãã¼ã«ãã¾ãã
- http://svn.coderepos.org/share/lang/elisp/anything-c-moccur/trunk/anything-c-moccur.el
- http://coderepos.org/share/browser/lang/elisp/set-perl5lib/set-perl5lib.el?format=txt
- http://www.emacswiki.org/emacs/download/key-chord.el
- http://www.emacswiki.org/emacs/download/color-moccur.el
ããã§ä¸éãã®è¨å®ãçµããã§ããã¾ã å¿
è¦ãããªæ¡å¼µãããã°éæã°ã°ã£ã¦ã¤ã³ã¹ãã¼ã«ãã¦ãã ããã
åæ¡å¼µã¯ããããåå¼·ããå¿ è¦ãããããã§ãããã²ã¨ã¾ãperlãæ¸ãã¦ã¿ãã¨ãæåãåçã«å¤ãã£ã¦ãããã¨ã«æåãã¾ãã