Computer/Mac/CocoaEmacs

Emacs 24.5

コンパイル

$ curl -LO http://ftp.gnu.org/pub/gnu/emacs/emacs-24.5.tar.xz
$ curl -LO ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-24.5-mac-5.11.tar.gz
$ ...
$ patch -p1 < ../emacs-24.5-mac-5.15/patch-mac
$ cp -R ../emacs-24.5-mac-5.15/mac mac
$ cp ../emacs-24.5-mac-5.15/src/- src
$ cp ../emacs-24.5-mac-5.15/lisp/term/mac-win.el lisp/term
$ cp nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns mac/Emacs.app/Contents/Resources/Emacs.icns
$ ./configure –with-mac –without-x –without-imagemagick –prefix=/Users/takashi/str01/computer/Computer/OpenSource/emacs/emacs-24.5/mac/Emacs.app/Contents/MacOS
$ make && make install

.emacs.el

(setq mac-command-modifier 'super)
(setq mac-option-modifier 'meta)

(when (eq window-system 'mac)
  (set-face-attribute 'default nil
                      :family "Menlo"
                      :height 200) ;; 20pt
  (set-fontset-font nil 'japanese-jisx0208 
		    (font-spec :family "Hiragino Kaku Gothic ProN"))
  (setq face-font-rescale-alist
        '((".-Hiragino Kaku Gothic ProN.-" . 1.2))))
(setq line-spacing 0.2)

参考


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS