#author("2016-04-17T00:47:23+09:00","","")
#author("2016-04-26T12:03:44+09:00","","")
[[Computer/Mac/CocoaEmacs]]

*最新版Cocoa Emacsのコンパイル [#cf4a2272]

**git [#ybbfa8fa]

 $ git clone git://git.savannah.gnu.org/emacs.git
 $ git clone git://github.com/suzuki/emacs-inline-patch
 $ cd emacs
 $ patch -p1 <../emacs-inline-patch/emacs-inline.patch
 $ ./autogen.sh
 $ ./configure –with-ns –without-x
 $ make -j2 bootstrap
 $ make -j2 install

// $ wget wget http://plamo.linet.gr.jp/~matsuki/mac/emacs-24.4-20140820-inline.patch.bz2
// $ gunzip emacs-24.4-20140820-inline.patch.bz2

**Emacs 25.1.50.1 (2016/03/27) [#vab84945]

Emacs 24.5 + inline patch (MacEmacs JP)でコンパイルしていたものを使っていたが,ビープ音の代わりに画面フラッシュを用いると,フラッシュした後にそのフラッシュの画像の領域の文字が表示されなくなってしまったり,硬口蓋音のk^や音節主音化したm, nが表示されなくなってしまった.千葉大の山本さんのパッチを使う手もあるが,MacEmacs JPのinline patchが使い慣れているので,gitのEmacs (25.1.50.1)にinline patchを当ててコンパイルしたところ,上に挙げた問題は解決した.

OS X 10.11.4 El Capitanでコンパイルした.configureのところは

 $ ./configure –with-ns –without-x –without-xml2

とした.xml関係でエラーが出たため.

日本語フォントの設定は以下のとおり(Monaco + Hiragino Maru Gothic).

 (set-face-attribute 'default nil
                   :family "monaco"
                   :height 180)
 
 (set-fontset-font nil 'japanese-jisx0208 (font-spec :family "Hiragino Maru Gothic ProN"))
 (set-fontset-font nil '(#x0370 . #x03FF) (font-spec :family "monaco"))

最後の行はギリシア文字をいわゆる半角で表示するための設定.


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