emacsenv で Emacs 環境の構築
emacsenvでできること
あるアプリケーションは Emacs 24.5 上で動いており,新しく作るアプリケーションは Emacs 25.1で動かしたいという需要に応えられる.
また,version毎に.emacs
を分けて管理できるので,version毎の設定が混じらなくてよい.
インストール
$ git clone https://github.com/m0cchi/emacsenv.git $ cd emacsenv $ ./install.sh #=> $HOME/.emacsenvへインストールされる $ export PATH=$HOME/.emacsenv/bin:$PATH
Emacsのインストール
$ emacsenv install emacs-25.1 $ emacsenv global emacs-25.1 #=> emacsコマンドで実行できる
ある特定のディレクトリでのみ有効なEmacsの設定
$ cd /foo/bar $ emacsenv local emacs-24.5 #=> /foo/bar以下でemacsコマンドを実行するとemacs-24.5が実行される