
こどもの日の今日、なにをして過ごそうか?
外出自粛の中、近所に出かけた。和菓子屋さんの前に行列ができていた。みんな、柏餅を買っていた。
でも、私のカレンダーは、emacsの日。日頃お世話になっているエディターemacsヴァージョンアップの日。手順は、昔の自分が作ってくれていた。ちなみにうちのMacBookProは、macOS Catalina10.15.4なのでマイナー要。
■Emacs 25系にバージョンアップ!
さて、いきますか。
・githubから 44.4MBのZIPファイルをダウンロードし解凍
$cd git/emacs
$./autogen.sh
$./configure –with-ns –without-x –disable-ns-self-contained –with-gnutls=ifavailable
$make
$sudo make install
とすすめ、
・~/bash_profile中の環境変数を変更して、
EMACSDATA=/usr/local/share/emacs/28.0.50/etc/
EMACSPATH=/usr/local/libexec/emacs/28.0.50/:
EMACSLOADPATH=/usr/local/share/emacs/28.0.50/site-lisp/:/usr/local/share/emacs/28.0.50/lisp/
EMACSDOC=/usr/local/share/emacs/28.0.50/etc/
$cd
$source .bash_profile
$emacs –version
GNU Emacs 28.0.50
Copyright (C) 2020 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
はい、完了。
emacsなんか画面が速くなった気がします。emacs、私にとっては、料理人の包丁みたいなもの。emacs一本、さらしに巻いて、渡世を歩きます。

コメントを残す