emacs/asir for MacOS X. -1. Install xcode and xcode command line developper tools. Once you have installed, run xcode-select --install xcodebuild -license Install XQuartz (X11 system for Mac). 0. If you do not have emacs with GUI, install emacs, e.g., by homebrew. (preinstalled emacs is too old.) 1. Download the diskimage emacs-asir-on-mac.dmg and copy the folder OpenXM to the Desktop. 2. Start the terminal and type in the following commands. cd ~/Desktop/OpenXM/rc make install-emacs-asir-on-mac 3. Login again and start emacs. Open a file with .rr extension, e.g., emacs test.rr & Your emacs will have a menu "asir". Note: If you do not want to load names.rr (the standard library) automatically, do as follows after 2 make norc-fix --------- -1. xcode と xcode commandline developper tools (App store から入手可能) を install. xdode をインストールしたら下記のライセンスへの同意等をする. xcode-select --install xcodebuild -license XQuartz (X11 system for Mac) をインストール. 0. GUI版の emacs を持っていない場合は homebrew などで install する ( [emacs mac] 検索 ) 1. emacs-asir-on-mac.dmg をダウンロードして, OpenXM フォルダを Desktop へコピー. 2. ターミナルを開き次のコマンドを入力. cd ~/Desktop/OpenXM/rc make install-emacs-asir-on-mac 3. 再度 login して, emacs で .rr を拡張子に持つファイルを開くと emacs のメニューに "asir" メニューが出ているはずです. Note: asir に names.rr (標準ライブラリ) を自動ロードしない場合は, 2. の最後に make norc-fix -------- trouble shoot. ------- Note for develppers. cd OpenXM/src make configure-static; make install cf. src/cfep pushd ../rc ; make ; source ./dot.bashrc ; popd cd asir-mode make build-for-mac The source code can be obtainable from Download of http://www.openxm.org The building is relatively easy on MacOS X with Xcode and some additional tools in homebrew. ------- How to remove 1. Move the OpenXM folder to the trash. 2. rm ~/bin/openxm 3. Remove the following lines in ~/.emacs.d/init.d ;; ;; Added by use-asir-mode.sh (add-to-list 'load-path "~/.emacs.d/OpenXM/") (setq auto-mode-alist (cons '("\\.rr$" . asir-mode) auto-mode-alist)) (autoload 'asir-mode "asir-mode" "Asir mode" t) ------- 削除法 1. Desktop の OpenXM をゴミ箱へ. 2. rm ~/bin/openxm 3. ~/.emacs.d/init.el の 下記を消す. ;; ;; Added by use-asir-mode.sh (add-to-list 'load-path "~/.emacs.d/OpenXM/") (setq auto-mode-alist (cons '("\\.rr$" . asir-mode) auto-mode-alist)) (autoload 'asir-mode "asir-mode" "Asir mode" t) $OpenXM: OpenXM/src/asir-mode/install.txt,v 1.8 2021/05/25 07:40:13 takayama Exp $