私が使っているemacsの設定です。
- arduino-mode
- auto-complete
- linenumbers
- markdown-mode
- emacs-color-themes
- yaml-mode
- Yatex
- auto-complete-latex
- elscreen
- tramp
- Magit
- Magit GitFlow
- GnuPlot Mode
- PDF Tools
が含まれています。
#####動作環境
OS : Ubuntu 14.04 LTS
Version : GNU Emacs 24.4.1
##インストール
!! Emacsのバージョンが24.4以上出ないと動きません。!!
2015.09.09現在、apt
でサポートされているのは、Emacs24.3です。
なので、手動で最新のEmacsをインストールする必要があります。注意してください。
参考
Ubuntu Handbook
dofmanさんのメモ
-
不必要なものを予めremoveしておく。 ubuntu14.04の場合、aptで提供されているemacsのversionは24.3なので emacs24.3以下をインストールしている場合はアンインストールする。
emacsのversionがわからない場合は、emacsを開いてから次のコマンドを 実行する。M-x version
では、emacs24.3と関連パッケージをアンインストールする。以下のコマンドを 実行する。sudo apt-get remove emacs sudo apt-get remove emacs24*
-
emacs24.4をソースからビルドし、インストールする。
-
ビルドに必要な依存パッケージをインストールする。
sudo apt-get install build-essential sudo apt-get build-dep emacs24
-
emacs24.4のソースを公式ページからダウンロードする。
emacs-24.4.tar.gz
と書いてある箇所を見つけて、クリックすればダウンロードが始まる。
*ここからはダウンロード先が~/Downloads/*以下であると仮定してすすめる。cd ~/Downloads wget http://ftp.jaist.ac.jp/pub/GNU/emacs/emacs-24.4.tar.gz tar -xf emacs-24.4.tar.gz cd emacs-24.4
-
以下のコマンドでemacs24.4をビルドしてインストールする。
./configure make sudo make install
-
aptで提供されているgitのversionではmagit-gitflow.elが動いてくれないので、 PPAから最新版をインストールする。以下のコマンドを実行すれば良い。
sudo apt-get remove git
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
gitflowをインストールする。
sudo apt-get install git-flow
ホームディレクトリ直下で、git clone
を使ってダウンロードしてください。
#####httpsを利用する場合
cd ~/
git clone https://github.com/RyodoTanaka/.emacs.d
#####sshを利用する場合
cd ~/
git clone git@github.com:RyodoTanaka/.emacs.d.git
##Memo
M-x find-name-dired
: ワイルドカードによるファイルの検索結果をdiredバッファに表示