- cedet 설치
- http://sourceforge.net/projects/cedet/files/latest/download?source=files 에서 최신 cedet 을 다운로드
cd
~/Library/Application Support/Aquamacs Emacs
tar
xvf ~/Downloads/cedet-1.1.
tar
.gz
cd cedet-1.1
make
EMACS=/Applications/Aquamacs.app/Contents/MacOS/Aquamacs
mkdir
info
cd info
find
.. -
type
f -name
'*.info'
|
while
read
i;
do
j=
"$(basename $i)"
;
ln
-s
"$i"
"$j"
;
install
-info --info-
dir
=
"$(pwd)"
"$j"
;
done
cd ..
- 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 Emacs
tar
xvf ~/Downloads/ecb-2.40.
tar
.gz
cd ecb-2.40
ln
-s info-help info
cd
info
install
-info --info-
dir
=
"$(pwd)"
ecb.info
cd ..
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
mkdir
info
cd info
find
.. -
type
f -name
'*.info'
|
while
read
i;
do
j=
"$(basename $i)"
;
ln
-s
"$i"
"$j"
;
install
-info --info-
dir
=
"$(pwd)"
"$j"
;
done
cd ..
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))