- cedet 설치
- http://sourceforge.net/projects/cedet/files/latest/download?source=files 에서 최신 cedet 을 다운로드
cd~/Library/Application Support/Aquamacs Emacstarxvf ~/Downloads/cedet-1.1.tar.gzcd cedet-1.1makeEMACS=/Applications/Aquamacs.app/Contents/MacOS/Aquamacsmkdirinfocd infofind.. -typef -name'*.info'|whilereadi;doj="$(basename $i)";ln-s"$i""$j";install-info --info-dir="$(pwd)""$j";donecd ..- vi site-start.el
- (load-file “/Users/stone/Library/Application Support/Aquamacs Emacs/cedet-1.1/common/cedet.el”)
- (global-ede-mode 1) ; Enable the Project management system
- ;; These two options below are only for the stand-alone CEDET. Not the one
- ;; now included with newer Aquamacs/Emacs.
- (semantic-load-enable-code-helpers) ; Enable prototype help and smart completion
- (global-srecode-minor-mode 1) ; Enable template insertion menu
- ecb 설치
- http://sourceforge.net/projects/ecb/files/latest/download?source=files
cd~/Library/Application Support/Aquamacs Emacstarxvf ~/Downloads/ecb-2.40.tar.gzcd ecb-2.40ln-s info-help infocdinfoinstall-info --info-dir="$(pwd)"ecb.infocd ..vi site-start.el- (add-to-list ‘load-path
- “/Users/YOUR USERNAME/Library/Application Support/Aquamacs Emacs/ecb-2.40”)
- ;; Choose one of the following…
- ;; If you want to load the complete ECB at (X)Emacs-loadtime
- ;; (Advantage: All ECB-options available after loading
- ;; ECB. Disadvantage: Increasing loadtime2):
- (require ‘ecb)
- ;; If you want to load the ECB first after starting it by ecb-activate
- ;; (Advantage: Fast loading3. Disadvantage: ECB- and semantic-options
- ;; first available after starting ECB):
- ;; WARNING: This doesn’t work with the CVS version of ECB unless edit Makefile
- ;; and run make.
- ;(require ‘ecb-autoloads)
- mmm-mode 설치
- http://sourceforge.net/projects/mmm-mode/files/latest/download?source=files
cd~/Library/Application Support/Aquamacs Emacs- tar zxvf ~/Downloads/mmm-mode-0.4.8.tar.gz
mkdirinfocd infofind.. -typef -name'*.info'|whilereadi;doj="$(basename $i)";ln-s"$i""$j";install-info --info-dir="$(pwd)""$j";donecd ..vi site-start.el- (require ‘mmm-mode)
- (set-face-background ‘mmm-default-submode-face nil)
- (mmm-add-classes
- ‘((embedded-sql
- :submode sql-mode
- :front “EXEC SQL”
- :back “;”)))
- (setq-default mmm-global-mode t)
- (mmm-add-mode-ext-class ‘c-mode “\.pc$” ’embedded-sql)
- (mmm-add-mode-ext-class ‘c-mode “\.sqc$” ’embedded-sql)
- (setq-default mmm-never-modes
- (append ‘(ediff-mode) ‘(text-mode) mmm-never-modes))