emacsemacs ã使ãããã§ãã¨ã.emacs.el ãã¦ã³ã³é·ããªã£ã¦ãã¾ããã§ãé·ãã½ã¼ã¹ãæ°ã«ãªããªã人ã¯ãããã§ããã©ããããããã©ã¤ã§ãã500è¡ãããããããããã¤ã©ã¤ã©ãã¾ããã½ã¼ã¹ã³ã¼ãã«ã¯åå¾é¢ä¿ããã¹ã³ã¼ããå ±æããã¦ãããã¨ã«æå³ããã£ããããªãã£ãããããã®ã§ãããã¯ã½é·ãã½ã¼ã¹ã¨ãããã®ã¯ããã ãã§ããã¼ãã£ããã¨ã®æå³ã®æç¡ã«é¢ããæ å ±ãã½ã¼ã¹ã«æ®ãã¦ããªããããªããã§ãããã§ãã£ã¦ãã ãããåå²ãããã¨ã«ãªããã§ãããã¡ãã£ã¨ä½¿ã emacs ãå¤ãããããã¨ãæ¡å¼µå ¥ã£ã¦ãªãã ã®ããã¼ã¸ã§ã³éã£ã¦å¾®å¦ã«åé¡ãããã ã®ãããããã¦ã¼ã¼ã§ããã ããã§ããã¡ã¤ã«ãå°åãã«ãã¦ãload ã condition-case ã§å ãã ãâ¦ãããããã£ã¦ãéã« .emacs.el ã®ãã¬ã¼ã ã¯ã¼ã¯ã¨ã§ãè¨ãã¹ããã®ãã§ãã¦ããã¨æãã¾ããã§ãããã®ä¿ºã çãå ¬éãã¾ãã
æè¿ç¢ºå®ã«å·¦æå°æãå¼·åããã¦ãã¾ãããnagataã§ãã ãã¦ãã¦ãä»åã¯.emacsç´¹ä»ã¨ãããã¿ãªãã¼ãã§ãã ãããã§ããèªåã¯ã¾ã ãã£ã¦ãªããã§ã ã¨ããããããã¤.emacsã®å ¨è²ã¯ãã¡ãã Mac OS X 10.6ä¸ã®emacs23ã§ä½¿ã£ã¦ã¾ãã ãã£ãããªã®ã§ä¸ãã解説ãã¦ããã¾ããï¼ åºæ¬çã«ã.emacsã«æ¸ãã¦ãå 容â解説ãã®é ã§ãã 解説ãã¨ãããä¸è¨ã³ã¡ã³ã åæè¨å® (let ((default-directory "~/.emacs.d/site-lisp/")) (setq load-path (cons default-directory load-path)) (normal-top-level-add-subdirs-to-load-path)) ã決ã¾ãã elispãã¤ã¾ã£ããã£ã¬ã¯ããªãæå®ãã¦ãã¾ãã normal-top-level-add
ããã°ãã¯ã ããã°ãèªé¯ã§ãããããã¨æã£ã¦ãããããããã®æ´æ°ã§ããªãç¶æ ã®ã ã£ãã®ã§ãããEmacsã§ã®Rubyã®è¨å®ãæ´çããã®ã§æãã¾ãã ã§ããéãã«ä¸å¯§ã«ããã¤ããã Railsã«é¢é£ããè¨å®ã¯å¥è¨äºãããã¨ã«ãã¾ããã®ã§ããããããã¾ããã åææ¡ä»¶ gitãå°å ¥æ¸ auto-installãå°å ¥æ¸ æ¬è¨äºã§å°å ¥ãããã® ruby-mode inf-ruby rspec-mode ruby-electric ruby-compilation rvm yari flymake rubydb ruby-block RSense ri-emacs rcodetools gitããcloneãããã®ã«é¢ã㦠æ¬è¨äºã®ä¾ã§ã¯ ~/.emacs.d/from_git ã«é ç½®ãã¦ãããã¨ãåæã«ãã¾ãã ELPAããã®ã¤ã³ã¹ãã¼ã« ELPAã®ã¤ã³ã¹ãã¼ã« 以ä¸ãè©ä¾¡ (scratchãã
æè¿ãã¼ããã¤ã¯ãè²·ãã¾ãããnagataï¼@handlenameï¼ã§ãã ååãå®æã«ãç¡é²åãª.emacsãæããããæããtypesterå çã« ã.emacsã«å ¨é¨æ¸ãã®ã¯å°å¦çã¾ã§ã ããããï¼å¤§å¹ ã«èªå¼µããï¼ ã¨è¨ããã¦ãã¾ã£ãã®ã§ãæ©é.emacsãåå²ãã¦ã¿ããã¨æãã¾ãï¼ ï¼è¨å®ãã¡ã¤ã«ç¾¤ãgithubã«ããã¾ããï¼ ãªãã§åå²ããã®? ãããããªãã§åå²ãããã§ãããã? ã¡ãªããã¨ãã¦ã¯ããããªãã®ãããã¾ãã è¦éãããããªã ç°å¢ä¾åã®è¨å®ãåãåãããã ä¸é¨ã®ãã¡ã¤ã«ã«ã¨ã©ã¼ããã£ã¦ãä»ã®ãã¡ã¤ã«ã®è¨å®ã¯é©ç¨ããã ããããåå¥ã«byte compileã§ãã ä¸é¨ã®ã¨ã©ã¼ãå ¨ä½ã«å½±é¿ããªãã£ã¦ããã®ã¯ããã§ãããã¨ã£ã¦ãã ã§ã¯ãå®éã«åå²ããæ¹æ³ãè¦ã¦ããã¾ãããã åå²ãã¦ã¿ãã åå²ããè¨å®ãã¡ã¤ã«ãèªã¿è¾¼ãããã«ãIMAKADOãã謹製ã®init-lo
ã¤ãå¢ãã§æ°ããMacBookProãè²·ã£ã¦ãã¾ãã¾ãã¦ããã£ãããªã®ã§æ°ããç°å¢ã§ä¸ããè²ã ã¨å ¥ãç´ãã¦ããã ãã®éã ãããã¨ãããã¨ã§ãã£ã¨ã´ãã£ã´ãã£ã®ã¾ã¾æ¾ç½®ãã¦ããè¨å®ãã¡ã¤ã«éãgithubã«ããã¦ç®¡çãããã¨ã«ããã GitHub - sugyan/dotfiles: my dotfiles configuration ä»ã®ã¨ããzsh, emacsã®åºæ¬è¨å®ãªã©ã #!/bin/sh cd $(dirname $0) for dotfile in .?* do if [ $dotfile != '..' ] && [ $dotfile != '.git' ] then ln -Fis "$PWD/$dotfile" $HOME fi done ã¨ããã·ã§ã«ã¹ã¯ãªãããä½ã£ã¦ãã©ããªç°å¢ã§ãgit cloneãã¦æã£ã¦ãããã¡ã¤ã«ãã¡ãä¸çºã§$HOME以ä¸ã«ã·ã³ããªãã¯ãªã³
æ¬å½ã¯å»å¹´ã®å¹´æ«ã«è¡ãã¯ãã ã£ã.emacsã®æ´çã§ãããä¸ã çæã§ããæ¾ç½®ãã¦ã¾ããããããå æ¥ãEmacsãã¯ããã¯ãã¤ãã«ããçºå£²ããããã®çµ¶å¥½ã®ã¿ã¤ãã³ã°ãéãã°ãã¾ããã¤ã«ãªããåãããªãã£ãã®ã§ãéãè °ãä¸ãã¦ä»¥ä¸ãç®æ¨ã«æ´çãã¦ã¿ã¾ããã .emacsãåå²ãã¦æ´çãã ãªãã¸ããªç®¡çä¸ã«ç½®ãã¦é©å®æ¹åã§ããããã«ãã æè¿ã®Emacsäºæ ã«å°ããã£ããã¢ãããã ã¾ã.emacsãåå²ãã¦ã使ã£ã¦ãªãç®æãæ¶ãã¦ã¿ã¾ãããåå²èªä½ã¯ãããªãããå æ¸ã§ããinit-loaderã使ãã®ã常å¥æ段ã®ããã§ããæå ã§åããªãã®ã§ãããããã®ãã¡ã¤ã«ãæåã§ãã¼ããã¦ãã¾ãã課é¡ã¯base.elã«ã¾ã è¨å®ãéä¸ãã¦ãããã¨ã§ãããã¨ãã£ã¦åå²ãããã¦ã管çã大å¤ãªã®ã§é£ããã¨ããã§ããã ;; ãã¼ããã¹ (add-to-list 'load-path "~/.emacs.d")
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}