macbookにLeopardを今度こそ入れてみた

macbookLeopardを入れてみた時に少しだけ設定したことを書いておくかな。。
備忘録として


emacs関係
1. color-theme.el

(1).以下のサイトから color-theme-6.6.0.tar.gz をゲット
 http://download.gna.org/color-theme/

(2). 解凍しておく
 $ tar xfz color-theme-6.6.0.tar.gz

(3). ファイルをコピー
 $ cd color-theme-6.6.0
 $ cp color-theme.el /usr/share/emacs/site-lisp/
 $ cp -fR themes/ /usr/share/emacs/site-lisp/themes

(4). .emacsを編集
 $ vim .emacs
# こんな感じで設定 clarityを使うことに
(require 'color-theme)
(color-theme-initialize)
(color-theme-clarity)

2. cscope
(1). macportsでcscope入れてみる
 #元々cscopeそのものは、インストールされてたみたい。。
 $ sudo port install cscope

(2). cscopeダウンロード
  以下からdownloadしておく。
  http://sourceforge.net/project/showfiles.php?group_id=4664

(3). 必用なものを取り出してコピー
# どうやら、xcscope.elとcscope-indexerがないみたい。。
  cscope-indexerは、/usr/local/binにコピーって場所微妙。。バイナリじゃないし。。
 $ tar xfz cscope-15.6.tar.gz 
 $ cd cscope-15.6
 $ cp ./contrib/xcscope/xcscope.el /usr/share/emacs/site-lisp/
 $ sudo mkdir /usr/local/bin
 $ cp ./contrib/xcscope/cscope-indexer /usr/local/bin
 $ vim ~/.profile
  #パスに/usr/local/binを追加
 export PATH=/opt/local/bin:/opt/local/sbin:/usr/local/bin:$PATH
 $ vim ~/.emacs
  これを追加
  (require 'xcscope)

確かこんな感じで動いたはず。その他今やってるけど、
今んところは、特にはまらずにいけてます。

・NetBeans6とEclipse3.3
・ThunderbirdFireFoxSkype
あたりは無事導入完了ー。