KTUGFaq
KTUG FAQ
You shall be rewarded for a dastardly deed.
FrontPage › SpeedBar
Emacs Lisp Program.
[ÆíÁý]
NTEmacs-KTUG¿¡¼ ¼³Ä¡Çϱ⠶
- À§ÀÇ sourceforge¿¡¼ speedbar 1.4beta4¸¦ ´Ù¿î·Îµå¹Þ´Â´Ù.
- ÀÌ ÆÄÀÏÀ» Ç®¸é speedbar-0.14beta4¶ó´Â µð·ºÅ丮°¡ »ý°Ü³ª´Âµ¥, ÀÌ µð·ºÅ丮¸¦ Åë°·Î EmacsÀÇ site-lisp µð·ºÅ丮 ¾Æ·¡·Î ¿Å±ä´Ù.
- ¸¸¾à CygWinÀ» »ç¿ëÇÒ ¼ö ÀÖÀ¸¸é À§ÀÇ µð·ºÅ丮·Î µé¾î°¡¼ make¸¦ ½ÇÇàÇÑ´Ù. CygWinÀÌ ¾ø´Â »óÅ¿¡¼´Â emacs¸¦ ¹ÙÀÌÆ®ÄÄÆÄÀÏÇϰųª ÇÏÁö ¾Ê°í ±×³É »ç¿ëÇÒ ¼ö ÀÖ´Ù. ¿äÁòó·³ ºü¸¥ ÄÄÇ»ÅÍ È¯°æ¿¡¼´Â ¹ÙÀÌÆ®ÄÄÆÄÀÏÇϰųª ÇÏÁö ¾Ê°Å³ª ´«¿¡ ¶ç´Â ¼ÓµµÀÇ Å« Â÷ÀÌ´Â ¾ø´Ù°í »ý°¢ÇÏ°í ÂüÀ¸¸é µÈ´Ù.
NTEmacs¸¦ ½ÇÇàÇÑ µÚ C-u M-x byte-recompile-directory <REC>¸¦ ÇÏ°í, ¼Ò½º¸¦ Ǭ µð·ºÅ丮¸¦ ÀûÀ¸¸é ÄÄÆÄÀÏ(.elc)ÇØÁÝ´Ï´Ù.
- $HOME/_emacs¸¦ ÆíÁýÇÑ´Ù. ¿¡µðÅÍ·Î _emacs¸¦ ¿°í ´ÙÀ½ »çÇ×À» Ãß°¡ÇÑ´Ù.
;; speedbar (add-to-list 'load-path "C:/PROGRA~1/KTUG/Emacs-21.2/site-lisp/speedbar-0.14beta4") (autoload 'speedbar-frame-mode "speedbar" "Popup a speedbar frame" t) (autoload 'speedbar-get-focus "speedbar" "Jump to speedbar frame" t) (define-key-after (lookup-key global-map [menu-bar tools]) [speedbar] '("Speedbar" . speedbar-frame-mode) [calendar]) (global-set-key [(f12)] 'speedbar-get-focus) ;; Texinfo fancy chapter tags (add-hook 'texinfo-mode-hook (lambda () (require 'sb-texinfo))) ;; HTML fancy chapter tags (add-hook 'html-mode-hook (lambda () (require 'sb-html))) (eval-after-load "info" '(require 'sb-info))
À§ÀÇ load-path´Â ÀÚ½ÅÀÇ Emacs°¡ ¼³Ä¡µÈ À§Ä¡·Î ¹Ù²Ù¾î³Ö´Â´Ù. set-key´Â ¿©±â¼´Â F12¿¡ ÇÒ´çÇÏ¿´´Ù. ¿øÇÏ´Â ´Ù¸¥ Å°·Î ¼³Á¤ÇÒ ¼öµµ ÀÖ´Ù.