![]() ![]() In emacs, you may change input method by C. (setq default-input-method "japanese-mozc")Ĭheck whether your configuration works or not Install the program $ sudo cp out_mac/Release/mozc_emacs_helper /usr/local/binĬopy the following emacs lisp file to your library path $ cp mozc/src/unix/emacs/mozc.el "YOUR EMACS ELISP PATH"Īdd the following code to your emacs init.el (require 'mozc) $ python build_mozc.py build -c Release unix/emacs/emacs.gyp:mozc_emacs_helperĬonfirm whether the mozc program is successfully compiled $ echo -e '(0 CreateSession)\n(1 SendKey 1 hiragana)\n(2 SendKey 1 hiragana)\n(3 SendKey 1 97)' | out_mac/Release/mozc_emacs_helper $ GYP_DEFINES="mac_sdk=10.12 mac_deployment_target=10.12" python build_mozc.py gyp -noqt -branding=GoogleJapaneseInput # Add ibus.gyp if ibus version is >=1.4.1.ĭiff -git a/src/mac/mac.gyp b/src/mac/mac.gyp Gyp_file_names.extend(glob.glob('%s/unix/*/*.gyp' % SRC_DIR)) gyp_file_names.extend(glob.glob('%s/unix/emacs/*.gyp' % SRC_DIR)) # Include subdirectory of win32 and breakpad for Windows Modify source code to compile for macOS sierra $ git diffĭiff -git a/src/build_mozc.py b/src/build_mozc.py Install emacs or emacs-plus and prerequisite software by brew $ brew install emacsĭownload mozc $ git clone -b master -single-branch -recursive
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |