migemoã¨ã¯ããã¼ãåã®ã¾ã¾æ¥æ¬èªãã¤ã³ã¯ãªã¡ã³ã¿ã«æ¤ç´¢ããããã¼ã«ã§ãï¼ é常ã«ä¾¿å©ã§ãï¼
以ä¸ï¼MacOS Xã®emacsä¸ã§ï¼ migemo ã使ããããã«ããæé ãã¾ã¨ãã¾ãï¼
ã¤ã³ã¹ãã¼ã«
macports 㯠migemo ãæä¾ãã¦ãã¾ããï¼
ã¾ããªãªã¸ãã«ã®migemoã¯ã¤ã³ã¹ãã¼ã«ãé¢åã§ãï¼
ããã§Cè¨èªçã®c/migemoãã¤ã³ã¹ãã¼ã«ãã¾ãï¼
ã¾ããhttp://code.google.com/p/cmigemo/ ããã½ã¼ã¹ããã¦ã³ãã¼ãï¼å±éãã¾ãï¼
ããã¥ã¡ã³ãï¼è¨å®ãã¡ã¤ã«ã¯ãããã
- doc/README_j.txt
- config.mk
ã«ãªãã¾ãï¼
ã¤ã³ã¹ãã¼ã«å ãã£ã¬ã¯ããªåãªã©ã¯ config.mk ã«è¨è¿°ãã¾ãï¼ããã©ã«ãã®è¨å®ã ã¨ãã¤ããªãªã©ã¯/usr/local/以ä¸ã«ã¤ã³ã¹ãã¼ã«ããã¾ãï¼å¿ è¦ã«å¿ã㦠config.mk ãç·¨éãã¾ãããï¼
config.mk ã®ç·¨éãçµãã£ããï¼ãã«ããã¾ã
$ sh ./configure $ make osx
ãã«ãä¸ã« src/wordbuf.c ã« INT_MAXãç¡ãï¼ã¨ããã¨ã©ã¼ãåºãå ´å㯠src/wordbuf.c ã®åé ã«
#include <limits.h>
ã追å ï¼å度ãã«ããã¾ã
$ make osx
ãã«ãã«æåãããï¼ã¤ã³ã¹ãã¼ã«ãã¾ã
$ make osx-dict $ sudo make osx-install
ãã㧠migemo èªä½ã®ã¤ã³ã¹ãã¼ã«ã¯å®äºã§ãï¼
次㫠emacs å´ã®è¨å®ã§ãï¼ migemo.el ã https://gist.github.com/457761 ãããã¦ã³ãã¼ããã¾ã
migemo.el ã® migemo-directory ãç·¨é
(defcustom migemo-directory "/usr/local/share/migemo/euc-jp"
ãã¨ã¯ migemo.el ã site-lisp ã®ä¸ã«æåã¤ã³ã¹ãã¼ã«ã
~/.emacs ã«
(load-safe 'migemo) (setq migemo-command "cmigemo") (setq migemo-options '("-q" "--emacs"))
ã¨æ¸ãï¼ä»¥ä¸ï¼