2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Mac OS mojave で MacPorts Emacs を使う

Posted at

2019/1/12現在 emacs-app は表示に課題あり

MacPorts 使って,普通に emacs-app をインストールしても,mojaveではレンダリングされずに表示ができない

emacs-app does not render
https://trac.macports.org/ticket/57217
というチケットが出てますな.

本件は,もともとは Emacs 本体の課題です
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=7946445962372c4255180af45cb7c857f1b0b5fa

emacs-app にはまだパッチが取り込まれていないので
解決策は emacs-app ではなく,emacs-app-devel をつかえと

sudo port uninstall emacs-app
sudo port install emacs-app-devel

でも inline 入力どうするん?

そのまま emacs-app-devel 入れたら日本語入力でハマったので
patch あててコンパイル必要
https://gist.github.com/takaxp/77bfc397a2c807281453e8b8b2dfb2b7

sudo port uninstall emacs-app
sudo port -f patch emacs-app-devel
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_emacs/emacs-app-devel/work/emacs-20190111/
sudo patch -p1 < ~/emacs-26-mojave-inline.patch
sudo port -f install emacs-app-devel
--->  Computing dependencies for emacs-app-devel
--->  Configuring emacs-app-devel
--->  Building emacs-app-devel
--->  Staging emacs-app-devel into destroot
--->  Installing emacs-app-devel @20190111_0
--->  Activating emacs-app-devel @20190111_0
--->  Cleaning emacs-app-devel
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.

とかで,とりあえずOK

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?