¡Ö¤¿¤Þ¤´¡×¥·¥¹¥Æ¥à¤Ï Nemacs ¤Ë¤ª¤±¤ëÆüËܸì´Ä¶¤òÄ󶡤¹¤ë¡¥ Nemacs ¤Ï Gnu Emacs ¤ò³ÈÄ¥¤·¡¤´Á»úɽ¼¨¡¤¥³¡¼¥ÉÊÑ´¹¤Ê¤É¤Î´ðËܵ¡Ç½¤òÄɲä·¤¿¥·¥¹¥Æ¥à¤Ç¤¢ ¤ë¡¥
¡Ö¤¿¤Þ¤´¡×¤ÏÆüËܸìʸ½ñ½èÍý¤ÈÆüËܸìÆþÎϤε¡Ç½¤òÄ󶡤¹¤ë¡¥ÆüËܸìʸ½ñ½èÍý¤Ë ¤Ï¡¤¶Ø§½èÍý¤Ê¤É¤ÎÆüËܸì¤ËÆÃͤʽèÍý¤¬´Þ¤Þ¤ì¤ë¡¥ÆüËܸìÆþÎϵ¡Ç½¤Ï¥Í¥Ã¥È¥ï¡¼ ¥¯²¾Ì¾´Á»úÊÑ´¹¥µ¡¼¥Ð¤òÍøÍѤ·¡¤¥í¡¼¥Þ»ú´Á»úÊÑ´¹Êý¼°¤ÎÆüËܸìÆþÎϤòÄ󶡤¹¤ë¡¥ ¡Ö¤¿¤Þ¤´¡×Â裲ÈǤǤϲ¾Ì¾´Á»úÊÑ´¹¥µ¡¼¥Ð¤È¤·¤ÆWnn V3.3°Ê¹ß¤ÎJSERVER¤ò»ÈÍÑ ¤¹¤ë¡¥
¡Ö¤¿¤Þ¤´¡×¤Î̾Á°¤Ï¡¤¡ÖÂô»³/ÂÔ¤¿¤»¤Æ/¸æÌȤʤµ¤¤¡¥¡×¤Î³ÆʸÀá¤ÎÀèƬ£±²»¤Ç¤¢ ¤ë¡Ö¤¿¡×¤È¡Ö¤Þ¡×¤È¡Ö¤´¡×¤ò¼è¤Ã¤¿¤â¤Î¤Ç¤¢¤ë¡¥EGG¤Ï¡Ö¤¿¤Þ¤´¡×¤Î±ÑÌõ¤Ç¤¢¤ë¡¥
¡Ö¤¿¤Þ¤´¡× ¤Ë´Ø¤¹¤ëÄó°Æ¡¤Ãî¾ðÊó¤Ï tomura@etl.go.jp ¤Þ¤Ç¡¥
¡Ö¤¿¤Þ¤´¡×¤òÆ°ºî¤µ¤»¤ë¤Ë¤Ï¼¡¤Î¤â¤Î¤¬É¬ÍפǤ¢¤ë¡¥
JSERVER
¤È¤ÎÄÌ¿®¤Ï emacs lisp ¤Ç
¼Â¸½¤¹¤ëWnn-client¤òÄ󶡤¹¤ë¡¥¤³¤Î¤¿¤á¡Ö¤¿¤Þ¤´¡×ÂèÆóÈÇ¤Ï nemacs ¤òÊѹ¹¤¹
¤ë¤³¤È¤Ê¤¯Æ°ºî¤¹¤ë¤³¤È¤¬²Äǽ¤Ç¤¢¤ë¡¥¡Ö¤¿¤Þ¤´¡×¥·¥¹¥Æ¥à¤Ï¼¡¤Î¥Õ¥¡¥¤¥ë¤«¤é¹½À®¤µ¤ì¤ë¡¥
¡Ö¤¿¤Þ¤´¡×¤Î½é´üÀßÄê¤Ï¼¡¤Î£²¤Ä¤Î¥Õ¥¡¥¤¥ë¤Ç¹Ô¤Ê¤¦¡¥
¡Ö¤¿¤Þ¤´¡×¤ò»È¤¦¤¿¤á¤Ë¤Ï¡¤°Ê²¼¤Î¤É¤Á¤é¤«¤ÎÊýË¡¤Ç»ØÄê¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¡¥
Æɤ߹þ¤à¥Õ¥¡¥¤¥ë¤Ï°Ê²¼¤Î¤â¤Î¤Ç¤¢¤ë¡¥
`nconfig.h'¤Ç WNN3 ¤Þ¤¿¤Ï WNN4V3 ¤ò»ØÄꤷ¤¿¾ì¹ç
¤½¤ì°Ê³°¤Î¾ì¹ç
¤µ¤é¤ËSun/X11¤ò»ÈÍѤ¹¤ë¾ì¹ç¤Ë¤Ï¡¤¼¡¤Î¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¤ÈSun ¤Î¥Õ¥¡¥ó¥¯ ¥·¥ç¥ó¥¡¼¤¬ÍøÍѲÄǽ¤È¤Ê¤ë¡¥¡Êsee section X11¤Ë¤ª¤±¤ë¥¡¼³ä¤êÅö¤Æ¡Ë
(load "egg-keymap")
²¾Ì¾´Á»úÊÑ´¹¥µ¡¼¥Ð¤¬Æ°ºî¤·¤Æ¤¤¤ë¥Û¥¹¥È¤Î̾Á°¤ÏÊÑ¿ô wnn-host-name
¤Þ¤¿¤Ï´Ä¶ÊÑ¿ô JSERVER
¤Ëʸ»úÎó¤Ç»ØÄꤹ¤ë¡¥¥Û¥¹¥È¤Î»ØÄ꤬¤µ¤ì¤Æ¤¤
¤Ê¤¤¾ì¹ç¡¤¤Þ¤¿¤Ï nil
¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï local host ¤¬»ØÄꤵ¤ì
¤¿¤È¤ß¤Ê¤¹¡¥
²¾Ì¾´Á»ú¥µ¡¼¥Ð¥Û¥¹¥È¤òÊѹ¹¤¹¤ë¤Ë¤Ï¡¤M-x set-wnn-host-name¤ò¼Â¹Ô¤· ¤Æ¿·¤·¤¤¥µ¡¼¥Ð¥Û¥¹¥È¤ò»ØÄꤹ¤ë¡¥
²¾Ì¾´Á»úÊÑ´¹¥µ¡¼¥Ð¥Û¥¹¥È̾¤òʸ»úÎó¤Ç»ØÄꤹ¤ë¡¥Ãͤ¬nil
¤Î¾ì¹ç¤Ï¡¤¥í¡¼
¥«¥ë¥Û¥¹¥È¤ò»ØÄꤷ¤Æ¤¤¤ë¤â¤Î¤È¤ß¤Ê¤¹¡¥¤¿¤È¤¨¤Ð¡¤²¾Ì¾´Á»ú¥µ¡¼¥Ð¡¼¥Û¥¹¥È¤¬
TAISHO
¤Î¾ì¹ç¡¤`~/.emacs'¤Ë¼¡¤Î¹Ô¤òÄɲ乤롥
(setq wnn-host-name "TAISHO" )
²¾Ì¾´Á»úÊÑ´¹¥µ¡¼¥Ð¤È¤Î¥³¥Í¥¯¥·¥ç¥ó¤ò²òÊü¤¹¤ë¡¥
Command: set-wnn-host-name host-name
²¾Ì¾´Á»úÊÑ´¹¥µ¡¼¥Ð¥Û¥¹¥È¤òÀßÄꤹ¤ë¡¥
°Ê²¼¤Ç¤Ï nemacs¤Î¥·¥¹¥Æ¥à¥Ç¥£¥ì¥¯¥È¥ê¤ò`$NEMACS'¤Ç¼¨¤¹¡¥
¡Ö¤¿¤Þ¤´¡×¤Ï²¾Ì¾´Á»úÊÑ´¹¥µ¡¼¥Ð¤È¤ÎÄÌ¿®¤ò³«»Ï¤¹¤ë¤È½é´üÀßÄê¥Õ¥¡¥¤¥ë¤òõº÷
¼Â¹Ô¤·¤Æ´Ä¶ÀßÄê¤ò¹Ô¤Ê¤¦¡¥½é´üÀßÄê¥Õ¥¡¥¤¥ë¤Îõº÷¤Ï¤Þ¤º
egg-startup-file-name
¤Èegg-startup-file-search-path
¤òÍѤ¤
¤Æ¹Ô¤Ê¤¦¡¥¸«¤Ä¤«¤é¤Ê¤¤¾ì¹ç¤Ïegg-default-startup-file-name
¤È
load-path
¤òÍѤ¤¤Æõº÷¤¹¤ë¡¥egg-startup-file-name
¤Îɸ½àÀßÄê
¤Ï`.eggrc'¤Ç¤¢¤ë¡¥
site ¤Ç»ÈÍѤ¹¤ëɸ½à½é´üÀßÄê¥Õ¥¡¥¤¥ë¤Ï WNN3¤Î¾ì¹ç¤Ï `$NEMACS/lisp/eggrc-v3'¡¤WNN4V3 ¤Î¾ì¹ç¤Ë¤Ï `$NEMACS/lisp/eggrc-v4'¤Ç¤¢¤ë¡¥
½é´üÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¤²¾Ì¾´Á»úÊÑ´¹¥µ¡¼¥Ð¤¬»ÈÍѤ¹¤ë¼½ñ¤ÎÀßÄê¤ò¹Ô¤Ê¤¦¡¥ Wnn V3 ¤Î¼½ñ¤Ë¤Ï¥·¥¹¥Æ¥à¼½ñ¡¤ÍøÍѼԼ½ñ¤Î£²¼ïÎब¤¢¤ë¡¥¥·¥¹¥Æ¥à¼½ñ¤Î ÆâÍƤÏÊѹ¹¤Ç¤¤Ê¤¤¡¥ÍøÍѼԼ½ñ¤ÏÆâÍƤÎÊѹ¹¤¬²Äǽ¤Ç¤¢¤ë¡¥¥·¥¹¥Æ¥à¼½ñ¤ÎÍø ÍÑÉÑÅÙ¾ðÊó¤Ï¡¤¼½ñ¤È¤ÏÊ̤ÎÉÑÅÙ¥Õ¥¡¥¤¥ë¤Ëµ²±¤¹¤ë¡¥ÍøÍѼԼ½ñ¤ÎÉÑÅÙ¾ðÊó¤Ï¡¤ ¼½ñ¤Ëµ²±¤¹¤ë¡¥
¼½ñ¡¦ÉÑÅÙ¥Õ¥¡¥¤¥ë¤Î´ÉÍý¤Ï¼¡¤Î£²¤Ä¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ëʬ¤±¤Æ¹Ô¤Ê¤¦¡¥
Variable: egg-startup-file-name
½é´üÀßÄê¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤹ¤ë¡¥
Variable: egg-startup-file-search-path
õº÷¤ò¹Ô¤Ê¤¦¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ê¥¹¥È¤ò»ØÄꤹ¤ë¡¥egg-startup-file-name
¤¬¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤷ¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¤³¤Îõº÷¥Ñ¥¹¾å¤Î¥Õ¥¡¥¤¥ë¤òõ¤¹¡¥
Variable: egg-default-startup-file-name
site ¤Ç¶¦Ä̤˻ÈÍѤ¹¤ë½é´üÀßÄê¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¡¥¥Õ¥¡¥¤¥ë̾¤¬¥Ç¥£¥ì¥¯¥È
¥ê¤ò»ØÄꤷ¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ïload-path
¾å¤Î¥Õ¥¡¥¤¥ë¤òõ¤¹¡¥
Function: set-default-sys-dic-directory directory
¥·¥¹¥Æ¥à¼½ñ¥Ç¥£¥ì¥¯¥È¥ê¤È¤·¤Æ directory ¤ò»ØÄꤹ¤ë¡¥
(set-default-sys-dic-directory "/usr/local/lib/dic/sys/")
Function: set-default-usr-dict-directory directory
ÍøÍѼԼ½ñ¥Ç¥£¥ì¥¯¥È¥ê¤È¤·¤Æ directory ¤ò»ØÄꤹ¤ë¡¥
(set-default-usr-dic-directory "/usr/local/lib/dic/usr/$USER/")
Function: setsysdic jisho hindo priority &optional flag
¥·¥¹¥Æ¥à¼½ñ jisho ¤òÍ¥Àè½ç°Ì priority¤Ç»ÈÍѤ·¡¤¤³¤Î¥·¥¹¥Æ¥à
¼½ñ¤ÎÉÑÅÙ¥Õ¥¡¥¤¥ë¤Ë hindo ¤ò»ØÄꤹ¤ë¡¥jisho,hindo¤¬Àä
ÂХѥ¹Ì¾¡Ê`/'¤Ç»Ï¤Þ¤ë¥Ñ¥¹Ì¾¡Ë¤Ç¤Ê¤¤¾ì¹ç¤Ï¥Ñ¥¹Ì¾¤ÎÀèƬ¤Ë¥·¥¹¥Æ¥à¼½ñ
¥Ç¥£¥ì¥¯¥È¥ê¤òÄɲä·¤¿¥Ñ¥¹Ì¾¤ò»ÈÍѤ¹¤ë¡¥flag¤¬t
¤Ç¤Ê¤¤¾ì¹ç¤Ï
jindo¤Î¥Ñ¥¹Ì¾¤Ë³ÈÄ¥»Ò`.sys'¤È¡¤¤Þ¤¿hindo¤Î¥Ñ¥¹Ì¾¤Ë³ÈÄ¥
»Ò`.hindo'¤òÄɲ乤롥
(setsysdic "pd-kihon" "pd-kihon" 5) (setsysdic "kihon.sysdic" "kihon.freq" 5 t)
Function: setusrdic jisho hindo priority &optional flag
ÍøÍѼԼ½ñ jisho ¤òÍ¥Àè½ç°Ì priority ¤Ç»ÈÍѤ¹¤ë¤³¤È¤ò»ØÄꤹ
¤ë¡¥jisho¤¬ÀäÂХѥ¹Ì¾¡Ê`/'¤Ç»Ï¤Þ¤ë¥Ñ¥¹Ì¾¡Ë¤Ç¤Ê¤¤¾ì¹ç¤Ï¥Ñ¥¹Ì¾
¤ÎÀèƬ¤ËÍøÍѼԼ½ñ¥Ç¥£¥ì¥¯¥È¥ê¤òÄɲä·¤¿¥Ñ¥¹Ì¾¤ò»ÈÍѤ¹¤ë¡¥flag¤¬
t
¤Ç¤Ê¤¤¾ì¹ç¤Ïjindo¤Î¥Ñ¥¹Ì¾¤Ë³ÈÄ¥»Ò`.usr'¤òÄɲ乤롥
setsysdic
, setusrdic
¤Î»È¤¤Êý¤ÏWnn¤Î`.wnnrc'¤ÈƱÍͤÇ
¤¢¤ë¡¥setsysdic
¤Ï¥·¥¹¥Æ¥à¼½ñ¤ÈÉÑÅÙ¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¡¤
setusrdic
¤ÏÍøÍѼԼ½ñ¤ò»ØÄꤹ¤ë¡¥
(setusrdic "my-dict" 5) (setusrdic "our-dict.dat" 5 t)
¡Ö¤¿¤Þ¤´¡×¤Î´Á»úÆþÎÏÊýË¡¤Ë¤Ï¼¡¤Î£²¼ïÎब¤¢¤ë¡¥
ÂÐÏü°´Á»úÆþÎϤˤϼ¡¤Î£²¤Ä¤Îµ¡Ç½¤¬¤¢¤ë¡¥
ÂÐÏü°´Á»úÆþÎϤǤϡ¤°Ê²¼¤Î£´¤Ä¤Î¥â¡¼¥É¤ò°ÜÆ°¤·¤Ê¤¬¤éÆþÎϤò¹Ô¤Ê¤¦¡¥
Nemacs ¤òµ¯Æ°¤·¡¤¡Ö¤¿¤Þ¤´¡×¥·¥¹¥Æ¥à¤¬¥í¡¼¥É¤µ¤ì¤ë¤È¥â¡¼¥É¥é¥¤¥ó¤¬¼¡¤Î¤è ¤¦¤Ëɽ¼¨¤µ¤ì¤ë¡¥¤³¤Î¤È¤¤Î¥â¡¼¥É¤¬Æ©²á¥â¡¼¥É¤Ç¤¢¤ë¡¥
[----] ---- NEmacs: *scratch* (Lisp Interaction)---All---[JJJ-] ^^^^
Æ©²á¥â¡¼¥É¤ÏÄ̾ï¤ÎNemacs¤ÈƱ¤¸µ¡Ç½¤ò»ý¤Ä¡¥
¡ÊÃí°Õ¡ËΩ¤Á¤¢¤²¤¿»þ¤Ë Error in init file
¤È¤¤¤¦¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸
¤¬ minibuffer¤Ëɽ¼¨¤µ¤ì¤ë»þ¤Ï¡¤`$NEMACS/lisp/egg.elc'¤«¡¤
`$NEMACS/lisp/egg-rk-dump.elc'¤¬Ìµ¤¤¤³¤È¤¬¹Í¤¨¤é¤ì¤ë¡¥¤³¤Î
¾ì¹ç¤Ë¤Ï¡¤Nemacs¤ÎôÅö¼Ô¤ËÏ¢Íí¤¹¤ë¡¥
Æ©²á¥â¡¼¥É¤ò´Þ¤à¤¹¤Ù¤Æ¤Î¥â¡¼¥É¤Ç¡¤C-^¡Ê¥³¥Þ¥ó¥É special-symbol-input¡Ë¤Ë¤è¤Ã¤ÆÆü쵹æ¤ò´Þ¤àµ¹æÆþÎϤò¹Ô¤Ê¤¦¤³ ¤È¤¬¤Ç¤¤ë¡¥¥ß¥Ë¥Ð¥Ã¥Õ¥¡¤Ëɽ¼¨¤µ¤ì¤ë¥á¥Ë¥å¡¼Ã椫¤é¡¤µ¹æ¤Î¼ïÎࡤµ¹æ¤ò½ç ¤ËRET¤Ë¤è¤Ã¤ÆÁªÂò¤¹¤ë¡¥
Æ©²á¥â¡¼¥É¤Ç C-\ ¡Ê¥³¥Þ¥ó¥Étoggle-egg-mode¡Ë¤òÂǤĤȡ¤¥í¡¼ ¥Þ»ú²¾Ì¾¥â¡¼¥É¤ËÆþ¤ê¡¤¥â¡¼¥É¥é¥¤¥ó¤¬¼¡¤Î¤è¤¦¤ËÊѤï¤ë¡¥
[ a¤¢] ---- NEmacs: *scratch* (Lisp Interaction)---All---[JJJ-] ^^^^
Æ©²á¥â¡¼¥É¤ËÌá¤ë¤Ë¤Ï¡¤¤â¤¦°ìÅÙC-\¤òÂǤġ¥
¥í¡¼¥Þ»ú²¾Ì¾¥â¡¼¥É¤Ç¤Î¥³¥ó¥È¡¼¥ë¥¡¼¤ä¥á¥¿¥¡¼¤ÏÄ̾ï¤Î°ÕÌ£¤ò»ý¤Ä¤Î¤Ç¡¤¥«¡¼ ¥½¥ë°ÜÆ°¤Ê¤É¤Ï¡¤¤³¤Î¥â¡¼¥É¤Î¤Þ¤Þ¤Ç¼Â¹Ô¤Ç¤¤ë¡¥Ä̾ïʸ»ú¤òÆþÎϤ¹¤ë¤È¥«¡¼¥½ ¥ë¤Î°ÌÃ֤˽ÄËÀ | £²¤Ä¤¬¸½¤ì¡¤¤½¤Î´Ö¤ËÆþÎϤò¥í¡¼¥Þ»ú²¾Ì¾ÊÑ´¹¤·¤¿¤Ò ¤é¤¬¤Ê¤¬É½¼¨¤µ¤ì¤ë¡¥Wnn¤Ç¤ª¤Ê¤¸¤ß¤ÎÊÑ´¹Î㡤¡Ö»ä¤Î̾Á°¤ÏÃæÌî¤Ç¤¹¡×¤Î¥í¡¼ ¥Þ»úɽµ
watasinonamaehanakanodesu
¤òÆþÎϤ¹¤ë¤È
|¤ï¤¿¤·¤Î¤Ê¤Þ¤¨¤Ï¤Ê¤«¤Î¤Ç¤¹|
¤ÈÊÑ´¹¤µ¤ì¤Æɽ¼¨¤µ¤ì¤ë¡¥¤³¤Î½ÄËÀ¤ò¥Õ¥§¥ó¥¹¤È¸Æ¤Ó¡¤¤³¤Î¾õÂÖ¤ò¥Õ¥§¥ó¥¹¥â¡¼ ¥É¤È¤¤¤¦¡¥¥Õ¥§¥ó¥¹¥â¡¼¥É¤ò¼¨¤¹ÊýË¡¡Ê½ÄËÀ¤Ê¤É¡Ë¤Ï¡¤¥³¥Þ¥ó¥É set-egg-fence-mode-format¤ÇÊѤ¨¤ë¤³¤È¤¬¤Ç¤¤ë¡¥
Command: set-egg-fence-mode-format OPEN CLOSE &optional ATTR
OPEN,CLOSE¤Ï¤½¤ì¤¾¤ìÎΰè¤Î»ÏÅÀ¤È½ªÅÀ¤ò¼¨¤¹Ê¸»úÎó¡¥ATTR¤Ï¥Õ¥§¥ó¥¹Îΰè¤ËÀß
Äꤵ¤ì¤ëattribute¡Êx11term¤Ç¤Î¤ß͸ú¡Ë¡¥É¸½à¤Î¾õÂ֤Ǥϡ¤
(set-egg-fence-mode-format "|" "|" nil)
¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡¥
Æ©²á¥â¡¼¥É¤È¥Õ¥§¥ó¥¹¥â¡¼¥É¤ÎÀÚÂؤò¹Ô¤Ê¤¦¡¥ ¥Õ¥§¥ó¥¹¥â¡¼¥ÉÃæ¤Ç¤Ï¡¤¥í¡¼¥Þ»ú¤«¤ÊÆþÎϥ⡼¥É¤ÈȾ³ÑÆþÎϥ⡼¥É¤òÀÚÂؤ¨¤ë¡¥
¥Õ¥§¥ó¥¹¥â¡¼¥É¤Ç¤Ïʸ»úÆþÎϤȥե§¥ó¥¹¥â¡¼¥ÉÊÔ½¸¥³¥Þ¥ó¥É¤Ë¤è¤ëÊÔ½¸¤Î¤ß¤¬¹Ô ¤Ê¤¨¤ë¡¥¥Õ¥§¥ó¥¹¥â¡¼¥É¤Ç¤Ï°Ê²¼¤ÎÊÔ½¸¥³¥Þ¥ó¥É¤¬»ÈÍѤǤ¤ë¡¥
¥Õ¥§¥ó¥¹¥â¡¼¥É¤ÇC-\ ¤ò¥¿¥¤¥×¤¹¤ë¤ÈȾ³ÑÆþÎϥ⡼¥É¤ËÀÚ¤êÂؤï¤ê¡¤È¾³Ñ ʸ»ú¤¬ÆþÎϤǤ¤ë¡¥¤â¤¦£±ÅÙC-\ ¤ò᤯¤È¥í¡¼¥Þ»ú²¾Ì¾¥â¡¼¥É¤ËÌá¤ë¡¥
¥â¡¼¥É¥é¥¤¥ó¤Ï
[ a a] ---- NEmacs: *scratch* (Lisp Interaction)---All---[JJJ-] ^^^^
¤È¤Ê¤ë¡¥
¥Õ¥§¥ó¥¹¥â¡¼¥É¤ÇJIS code¤òľÀÜÆþÎϤ¹¤ë¤Ë¤ÏC-_¡Ê¥³¥Þ¥ó¥É
jis-code-input¤ÈÂǤġ¥minibuffer ¤Ë JIS code:
¤Èɽ¼¨¤µ
¤ì¡¤£±£¶¿Ê¿ôÆþÎϤò¼õ¤±ÉÕ¤±¤ë¡¥
¥Õ¥§¥ó¥¹¥â¡¼¥É¤Ç¤Ï¡¤C-w¡¤C-@¡¤SPC¤Î¤¤¤Å¤ì¤«¤Ë¤è¤Ã¤Æ¡¤ ´Á»úÊÑ´¹¥â¡¼¥É¤ËÆþ¤ê¡¤²¾Ì¾´Á»úÊÑ´¹¤¬³«»Ï¤µ¤ì¤ë¡¥¥â¡¼¥É¥é¥¤¥ó¤Ï¼¡¤Î¤è¤¦¤Ë ¤Ê¤ë¡¥
[´Á»ú] ---- NEmacs: *scratch* (Lisp Interaction)---All---[JJJ-] ^^^^
²¾Ì¾´Á»ú¥â¡¼¥É¤ËÆþ¤Ã¤¿»þ½é¤á¤Æ¡¤¡Ö¤¿¤Þ¤´¡×¤ÏJSERVER¤È¤Î¥³¥Í¥¯¥·¥ç¥ó¤ò³« ¤¡¤
¥Û¥¹¥È etlcom ¤ÎJSERVER¤òµ¯Æ°¤·¤Þ¤·¤¿¡¥
¤È¤¤¤¦ message ¤ò minibuffer ¤Ëɽ¼¨¤·¡¤¼½ñÀßÄê¤Î¤¿¤á¤Ë`.eggrc'¤òÆÉ ¤ß¹þ¤à¡¥ÉÑÅÙ¾ðÊó¥Õ¥¡¥¤¥ë¤ä¸Ä¿Í¼½ñ¤¬¤Ê¤¤¾ì¹ç¤Ï¤½¤ì¤é¤òºîÀ®¤¹¤ë¤«¤É¤¦¤«¤ò ¼ÁÌ䤹¤ë¡¥
¤â¤·JSERVER¤¬Æ°¤¤¤Æ¤¤¤Ê¤¤¤È¡¤
etlcom ¾å¤ËJSERVER¤¬¤¢¤ê¤Þ¤»¤ó¡¥
¤È¤¤¤¦error message¤òminibuffer¤Ëɽ¼¨¤¹¤ë¡¥¡Ê¤³¤Î¾ì¹ç¤Ë¤Ï¥Û¥¹¥È¤ÎWnnôÅö ¼Ô¤ËÏ¢Íí¤ò¤·¤ÆJSERVER¤òµ¯Æ°¤·¤Æ¤â¤é¤Ã¤Æ²¼¤µ¤¤¡¥¡Ë
¡Ö¤¿¤Þ¤´¡×¤«¤é¤Î message ¤Ï¤¹¤Ù¤Æ *Notification*
¤È¤¤¤¦ buffer ¤Ë
Êݸ¤µ¤ì¤ë¡¥M-x select-notification ¤ò¼Â¹Ô¤¹¤ë¤ÈÁªÂò¤µ¤ì¤ë¡¥
ÊÑ´¹¥â¡¼¥É¤Ç¤Ï°Ê²¼¤Î¥³¥Þ¥ó¥É¤¬»ÈÍѤǤ¤ë¡¥
Îã¤ò¤ß¤Æ¤ß¤è¤¦¡¥
|»ä¤Î¤Ê Á°¤Ï ÃæÌî¤Ç¤¹|
³ÆʸÀá¤Ï¡¤°ì¸Ä¤ÎȾ³Ñ¶õÇò¤Ç¶èÀÚ¤é¤ì¤ë¡¥¡ÊÊÑ´¹¥â¡¼¥É¤Ç¤Îɽ¼¨¤ÎÊýË¡¤Ï¡¤¥³¥Þ ¥ó¥Éset-egg-henkan-mode-format¤ÇÊѹ¹¤Ç¤¤ë¡¥¡ËÊÑ´¹´Ö°ã¤¤¤ÏʸÀá Ëè¤ËºÆÊÑ´¹¤·¤Æ½¤Àµ¤¹¤ë¡¥Ê¸Àá¤ÎÀÚ¤êÊý¤¬´Ö°ã¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¤C-i¤Ë¤è¤Ã ¤Æ¥«¡¼¥½¥ë¤Î¤¢¤ëʸÀá¤òû¤¯¤¹¤ë¤«¡¤C-o¤Ë¤è¤Ã¤Æ¥«¡¼¥½¥ë¤¬¤¢¤ëʸÀá¤ò Ť¯¤·¤Æ½¤Àµ¤¹¤ë¡¥
ʸÀáËè¤ÎºÆÊÑ´¹¤Ï¡¤C-@ ¡¤SPC ¤Þ¤¿¤ÏC-n¤Ë¤è¤Ã¤Æ¼¡¸õÊä¤ò ½Ð¤¹¡¤C-p¤Ë¤è¤Ã¤ÆľÁ°¤Î¸õÊä¤ò½Ð¤¹¡¤M-s ¤Ë¤è¤Ã¤Æ minibuffer ¤Ç¸õÊä°ìÍ÷¤«¤éÁª¤Ö¤Ê¤É¤ÎÊýË¡¤Ç¹Ô¤Ê¤¦¡¥Ê£¿ô¤Î¸õÊä°ìÍ÷¤¬¤¢¤ë¾ì¹ç¤Ï¡¤ C-n¤Ç¼¡¤Î¸õÊä°ìÍ÷¤¬¡¤¤Þ¤¿C-p¤ÇÁ°¤Î¸õÊä°ìÍ÷¤¬É½¼¨¤µ¤ì¤ë¡¥ C-f¤Ç¥«¡¼¥½¥ë¤¬¼¡¸õÊä¤Ë¡¤C-b¤Ç¥«¡¼¥½¥ë¤¬Á°¤Î¸õÊä¤Ë°ÜÆ°¤¹¤ë¡¥ ¸õÊä·èÄê¤Ë¤ÏRET¡¤¸õÊä°ìÍ÷¤Î¾õÂÖ¤«¤éÈ´¤±¤ë¤Ë¤ÏC-g¤ò¥¿¥¤¥×¤¹¤ì ¤Ð¤è¤¤¡¥
¤Ò¤é¤¬¤ÊÆþÎϤ¬´Ö°ã¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¤C-c¤ò᤯¤È¡¤¤Ò¤é¤¬¤ÊÆþÎϾõÂÖ ¤ËÌá¤ë¡¥¤Þ¤¿ÀèƬ¤Î¤¤¤¯¤Ä¤«¤ÎʸÀá¤ò³ÎÄꤷ¡¤»Ä¤ê¤ÎÉôʬ¤ò¤Ò¤é¤¬¤Ê¤ËÌᤷ¤ÆÊÔ ½¸¤¹¤ë¤Ë¤Ï¡¤C-k¤ò¥¿¥¤¥×¤¹¤ë¤È¡¤¥«¡¼¥½¥ë¤Î¤¤¤ëʸÀá¤ÎľÁ°¤Þ¤Ç¤¬³ÎÄê ¤·¡¤»Ä¤ê¤¬¤Ò¤é¤¬¤Ê¤ËÌá¤ë¡¥
Command: set-egg-henkan-mode-format OPEN CLOSE KUGIRI &optional ATTR1 ATTR2
ÊÑ´¹¥â¡¼¥É¤Îɽ¼¨ÊýË¡¤òÀßÄꤹ¤ë¡¥OPEN,CLOSE,KUGIRI¤Ï¤½¤ì¤¾¤ìÊÑ´¹¤Î»ÏÅÀ¡¤
½ªÅÀ¡¤Ê¸Àá¶èÀÚ¤ê¤ò¼¨¤¹Ê¸»úÎ󤢤뤤¤Ïnil¡¥ATTR1,ATTR2¤Ï¤½¤ì¤¾¤ìÊÑ´¹¶è´Ö¡¤
ʸÀá¶è´Ö¤ËÀßÄꤵ¤ì¤ë°À¤¢¤ë¤¤¤Ïnil¡Êx11term¤Ç¤Î¤ß͸ú¡Ë¡¥É¸½à¤Î¾õÂ֤Ǥϡ¤
(set-egg-henkan-mode-format "|" "|" " " nil nil)
¤Ç¤¢¤ë¡¥
minibuffer ¤òÍøÍѤ·¤¿¥á¥Ë¥å¡¼¥·¥¹¥Æ¥à¤Ç¤ÎÊÑ´¹¸õÊä¤ÎÁªÂòÊýË¡¤Ï¼¡¤ÎÄ̤ê¤Ç ¤¢¤ë¡¥
M-x jis-code-input¤Ë¤è¤Ã¤ÆJIS¥³¡¼¥ÉÆþÎϤ¬¹Ô¤Ê¤¨¤ë¡¥minibuffer¤Ë
JIS code:
¤È¥×¥í¥ó¥×¥È¤¬½Ð¤ë¤Î¤Ç16¿Ê¥³¡¼¥É¤ÇJIS¥³¡¼¥É¤òÆþÎϤ¹¤ë¡¥Î㤨¤Ð
JIS code: 2170
¤ÈÆþÎϤ¹¤ë¤È¡¤¥«¡¼¥½¥ë¤Î°ÌÃ֤ˡð¤¬É½¼¨¤µ¤ì¤ë¡¥¡Ê16¿Ê¿ô¤ÎÂçʸ»ú¡¦¾®Ê¸»ú¤Î ¶èÊ̤Ϥʤ¤¡¥¡Ë
°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ç±Ñ¿ô»ú¤äµ¹æ¤Ê¤É¤ÎÁ´³Ñʸ»ú¤òȾ³Ñʸ»ú¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡¥ ¡ÊÆüËܸìʸ»ú¤Ê¤É¤ÏÁ´³Ñ¤Î¤Þ¤ÞÊÑ´¹¤µ¤ì¤Ê¤¤¡Ë
°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ï¥«¥¿¥«¥Ê¤ò¤Ò¤é¤¬¤Ê¤ËÊÑ´¹¤¹¤ë¡¥
°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ï¤Ò¤é¤¬¤Ê¤ò¥«¥¿¥«¥Ê¤ËÊÑ´¹¤¹¤ë¡¥
°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ï¥í¡¼¥Þ»ú¤ò¤Ò¤é¤¬¤Ê¤ËÊÑ´¹¤¹¤ë¡¥
Î㤨¤Ð¥í¡¼¥Þ»úʸ»úÎó
koreharo-majidesu.¤Ï¤Ò¤é¤¬¤Êʸ»úÎó
¤³¤ì¤Ï¤í¡¼¤Þ¤¸¤Ç¤¹¡¥¤ËÊÑ´¹¤µ¤ì¤ë¡¥
°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ï¥í¡¼¥Þ»ú¤ò´Á»ú¤ËÊÑ´¹¤¹¤ë¡¥
Î㤨¤Ð¥í¡¼¥Þ»úʸ»úÎó
watashino namaeha nakano desu.¤Ï¡¤
|»ä¤Î¤Ê Á°¤Ï ÃæÌî¤Ç¤¹|¤Ë¤Ê¤ê¡¤´Á»úÊÑ´¹¥â¡¼¥É¤ËÆþ¤ë¡¥¡Ê¥ê¡¼¥¸¥ç¥óÆâ¤Î¶õÇòʸ»ú¤Ïºï½ü¤µ¤ì¤ë¡¥¡Ë
°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ï¤Ò¤é¤«¤Ê¤ò´Á»ú¤ËÊÑ´¹¤¹¤ë¡¥
Î㤨¤Ð¤Ò¤é¤¬¤Êʸ»úÎó
¤ï¤¿¤·¤Î¤Ê¤Þ¤¨¤Ï¤Ê¤«¤Î¤Ç¤¹¡¥¤Ï¡¤
|»ä¤Î¤Ê Á°¤Ï ÃæÌî¤Ç¤¹|¤Ë¤Ê¤ê¡¤´Á»úÊÑ´¹¥â¡¼¥É¤ËÆþ¤ë¡¥
minibufferÆâ¤Ç¤âÆþÎÏʸ»úÊÑ´¹¡¤²¾Ì¾´Á»úÊÑ´¹¤¬¤Ç¤¤ë¡¥bufferÃæ¤ÈƱÍͤË
C-\¤òÂǤĤ³¤È¤Ë¤è¤Ã¤Æ¥í¡¼¥Þ»ú²¾Ì¾¥â¡¼¥É¤Ë¤Ê¤ë¡¥¥â¡¼¥É¤ÏÁ´¤Æ¤Î
buffer ¤Î¥â¡¼¥É¥é¥¤¥ó¤Ëm
¡Êfor Minibuffer¡Ë¤¬ÀèƬ¤Ë¤Ä¤¤¤¿·Á¤Çɽ¼¨
¤µ¤ì¤ë¡¥
m[ a¤¢]-----NEmacs: wnn-egg.el (Emacs-Lisp)---- 3%---[JJJ-] ^ ^^^^
¡Ö¤¿¤Þ¤´¡×¤Ï¡¤ÍøÍѼԼ½ñ¤Î´ÉÍý¤ò¹Ô¤Ê¤¦¤¿¤á¤Ë¡¤¼½ñÅÐÏ¿¤È¼½ñÊÔ½¸¤Î£²¤Ä¤Î µ¡Ç½¤òÄ󶡤¹¤ë¡¥
¡Ö¤¿¤Þ¤´¡×¤Ç¤ÏbufferÃæ¤Îʸ»úÎó¤òÍѤ¤¤ÆÍøÍѼԼ½ñ¤Ëñ¸ì¤òÅÐÏ¿¤Ç¤¤ë¡¥
Command: toroku-region start end yomi hinshi jisho
¥ê¡¼¥¸¥ç¥ó(start,end)¤Ç»ØÄꤵ¤ì¤¿ÅÐϿʸ»úÎó¤òÆɤßʸ»úÎó yomi¤ÇÉÊ»ìhinshi¤Î¸ì¤È¤·¤Æ¼½ñjisho¤ËÅÐÏ¿¤¹¤ë¡¥
Î㤨¤Ð¡¤bufferÃæ¤Î¡ØÅŻҵ»½ÑÁí¹ç¸¦µæ½ê¡Ù¤È¤¤¤¦Ã±¸ì¤ò¼½ñ¤ËÅÐÏ¿¤¹¤ë¼ê½ç¤Ï ¼¡¤Î¤è¤¦¤Ë¤Ê¤ë¡¥
¼½ñÅÐÏ¿¡ØÅŻҵ»½ÑÁí¹ç¸¦µæ½ê¡Ù Æɤߡ§¤¬É½¼¨¤µ¤ì¤ë¡¥Æɤߤò¥í¡¼¥Þ»ú¤ÇÆþÎϤ·¡Ê¼«Æ°Åª¤Ë¤Ò¤é¤¬¤Ê¤ËÊÑ´¹¤¹¤ë¡Ë RET¤ÇÆɤߤÎÆþÎϤò½ªÎ»¤¹¤ë¡¥
ÉÊ»ì: 0.̾»ì 1.¸ÇÍ̾»ì 2.Æ°»ì 3.·ÁÍÆ»ì¸ì´´ 4.·ÁÍÆÆ°»ì¸ì´´ 5.Ï¢ÂÓ»ìC-F¤Ç¥«¡¼¥½¥ë¤¬±¦¤Ë°ÜÆ°¤·¡¤C-B¤Ç¥«¡¼¥½¥ë¤¬º¸¤Ë°ÜÆ°¤¹¤ë¡¥ C-N¤Ç¼¡¤ÎÉÊ»ì°ìÍ÷¤¬É½¼¨¤µ¤ì¤ë¡¥
ÉÊ»ì: 0.Éû»ì 1.Àܳ»ì¡¦´¶Æ°»ì 2.ÀÜƬ¸ì 3.ÀÜÈø¸ì 4.½õ¿ô»ì 5.¿ô»ì 6.ñ´Á»úC-P¤ÇÁ°¤ÎÉÊ»ì°ìÍ÷¤ËÌá¤ë¡¥
¸½ºß»ÈÍѤ·¤Æ¤¤¤ë¼½ñ¤Î¼½ñ¹àÌܤò¡¤Æɤߤò»ØÄꤷ¤ÆÊÔ½¸¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡¥
ÍøÍѼԼ½ñ¤ÎÅÐÏ¿¹àÌܤò½¤Àµ¤¹¤ë¤Ë¤ÏM-x edit-dict-item¤òÆþÎϤ·¡¤
minibuffer ¤Ç¹àÌܤÎÆɤߤò»ØÄꤹ¤ë¡¥¤¹¤ë¤È *Nihongo Dictionary
Information*
¤È¤¤¤¦buffer¤¬ºî¤é¤ì¡¤¤¿¤È¤¨¤Ð°Ê²¼¤Î¤è¤¦¤Ëɽ¼¨¤µ¤ì¤ë¡¥
*Ïà ¤¹ ¥µ¹Ô¸ÞÃʸ촴 ¼½ñ¡§pd-kihon.sys/14434 ÉÑÅÙ¡§46 *Î¥ ¤¹ ¥µ¹Ô¸ÞÃʸ촴 ¼½ñ¡§pd-kihon.sys/14433 ÉÑÅÙ¡§18 *Êü ¤¹ ¥µ¹Ô¸ÞÃʸ촴 ¼½ñ¡§pd-kihon.sys/14432 ÉÑÅÙ¡§2 *¤Ï¤Ê ¤¹ ¥µ¹Ô¸ÞÃʸ촴 ¼½ñ¡§pd-kihon.sys/14428 ÉÑÅÙ¡§1 *Êü ¤Ä ¥¿¹Ô¸ÞÃʸ촴 ¼½ñ¡§pd-kihon.sys/14432 ÉÑÅÙ¡§2 *²Ö ̾»ì ¼½ñ¡§pd-kihon.sys/14429 ÉÑÅÙ¡§12 *É¡ ̾»ì ¼½ñ¡§pd-kihon.sys/14431 ÉÑÅÙ¡§4 *¤Ï¤Ê ̾»ì ¼½ñ¡§pd-kihon.sys/14427 ÉÑÅÙ¡§1 *²Ú ̾»ì ¼½ñ¡§pd-kihon.sys/14430 ÉÑÅÙ¡§1 *¥Ï¥Ê ¸ÇÍ̾»ì ¼½ñ¡§pd-jinmei.sys/1581 ÉÑÅÙ¡§0 *ȹ ñ´Á»ú ¼½ñ¡§pd-tankan.sys/1959 ÉÑÅÙ¡§0
¹ÔƬ¤Î¡Ö*¡×¤Ï¤½¤Î¼½ñ¹àÌܤ¬¥·¥¹¥Æ¥à¼½ñ¤ËÅÐÏ¿¤µ¤ì¤Æ¤¤¤Æ½üµî¤Ç¤¤Ê¤¤¤³¤È ¤ò¼¨¤¹¡¥ÍøÍѼԼ½ñ¤ËÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë¼½ñ¹àÌÜ¤Ç¤Ï * ¤ÎÂå¤ï¤ê¤Ë¶õÇò¤òɽ¼¨¤¹ ¤ë¡¥
¡ÖÏà ¤¹¡×¤Ï¼½ñ¹àÌܤθ«½Ð¤·¸ì¤Ç¡¤¸ì´´¡Ê¡ÖÏáסˤȳèÍѸìÈø¡Ê¡Ö¤¹¡×¡Ë¤È¤ò¶õ Çòʸ»ú¤Çʬ¤±¤Æɽ¼¨¤¹¤ë¡¥
¡Ö¥µ¹Ô¸ÞÃʸ촴¡×¤Ï¼½ñ¹àÌܤÎÉÊ»ì¤Ç¤¢¤ë¡¥ºÇ¸å¤Î¹àÌܤÏÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë¼½ñ̾¡¤ ¹àÌÜÈֹ桤ÉÑÅ٤Ǥ¢¤ë¡¥
Diced ¤Ï¡¤Dired¤ÈƱÍͤˤ·¤Æ»ÈÍѤǤ¤ë¡¥Ä̾ï¤Î¥«¡¼¥½¥ë°ÜÆ°¥³¥Þ¥ó¥É¤Î¾¤Ë ¼¡¤Î¥³¥Þ¥ó¥É¤¬»ÈÍѤǤ¤ë¡¥
D
¤òɽ¼¨¤¹¤ë¡¥
¡Ö¤¿¤Þ¤´¡×¤Ç¤ÏÄ̾ï»ÈÍѤ·¤Æ¤¤¤ëglobal-map¤òÊѹ¹¤·¤Æ¤ª¤ê¡¤¸µ¤Îglobal-map¤Ï
si:*global-map*
¤ËÂàÈò¤µ¤ì¤Æ¤¤¤ë¡¥
¡Ö¤¿¤Þ¤´¡×¤Ç¤Îglobal-map¤ÎÊѹ¹ÅÀ¤Ï¼¡¤ÎÄ̤ꡥ
self-insert-command
¤òegg-self-insert-command
¤ËÊѹ¹¤·¤¿¡¥
(define-key global-map "\C-\\" 'toggle-egg-mode)
(define-key ctl-x-map " " 'henkan-region)
(define-key global-map "\C-^" 'special-symbol-input)
¥Õ¥§¥ó¥¹¥â¡¼¥É¤Î key binding ¤ÎÊѹ¹¤ÏÄ̾ï¤ÎÊýË¡¤Ç¹Ô¤Ê¤¦¡¥¥Õ¥§¥ó¥¹¥â¡¼¥É
¤Î keymap ¤Ë¤Ï¡¤ fence-mode-map
¤ò»ÈÍѤ¹¤ë¡¥¥Ç¥Õ¥©¥ë¥È¤Î key
binding ¤Ï¼¡¤ÎÄ̤ꡥ
(define-key fence-mode-map "\C-@" 'henkan-fence-region) (define-key fence-mode-map "\C-a" 'fence-beginning-of-line) (define-key fence-mode-map "\C-b" 'fence-backward-char) (define-key fence-mode-map "\C-c" 'fence-cancel-input) (define-key fence-mode-map "\C-d" 'fence-delete-char) (define-key fence-mode-map "\C-e" 'fence-end-of-line) (define-key fence-mode-map "\C-f" 'fence-forward-char) (define-key fence-mode-map "\C-g" 'fence-cancel-input) (define-key fence-mode-map "\C-h" 'help-command) (define-key fence-mode-map "\C-i" 'undefined) (define-key fence-mode-map "\C-j" 'undefined) ;;; LFD (define-key fence-mode-map "\C-k" 'fence-kill-line) (define-key fence-mode-map "\C-l" 'fence-exit-mode) (define-key fence-mode-map "\C-m" 'fence-exit-mode) ;;; RET (define-key fence-mode-map "\C-n" 'undefined) (define-key fence-mode-map "\C-o" 'undefined) (define-key fence-mode-map "\C-p" 'undefined) (define-key fence-mode-map "\C-q" 'undefined) (define-key fence-mode-map "\C-r" 'undefined) (define-key fence-mode-map "\C-s" 'undefined) (define-key fence-mode-map "\C-t" 'fence-transpose-chars) (define-key fence-mode-map "\C-u" 'undefined) (define-key fence-mode-map "\C-v" 'undefined) (define-key fence-mode-map "\C-w" 'henkan-fence-region) (define-key fence-mode-map "\C-x" 'undefined) (define-key fence-mode-map "\C-y" 'undefined) (define-key fence-mode-map "\C-z" 'eval-expression) (define-key fence-mode-map "\C-|" 'fence-toggle-egg-mode) (define-key fence-mode-map "\C-_" 'jis-code-input) (define-key fence-mode-map " " 'henkan-fence-region-or-single-space) (define-key fence-mode-map "!" 'fence-insert-self-command) ..... ..... (define-key fence-mode-map "~" 'fence-insert-self-command) (define-key fence-mode-map "\177" 'fence-backward-delete-char)
²¾Ì¾´Á»úÊÑ´¹¥â¡¼¥É ¤Î key binding ¤ÎÊѹ¹¤ÏÄ̾ï¤ÎÊýË¡¤Ç¹Ô¤Ê¤¦¡¥²¾Ì¾´Á»úÊÑ ´¹¥â¡¼¥É¤Î keymap ¤Ë¤Ï¡¤ henkan-mode-map ¤ò»ÈÍѤ¹¤ë¡¥default ¤Î key binding ¤Ï¼¡¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡¥
(define-key henkan-mode-map "\C-@" 'henkan-next-kouho) (define-key henkan-mode-map "\C-a" 'henkan-first-bunsetu) (define-key henkan-mode-map "\C-b" 'henkan-backward-bunsetu) (define-key henkan-mode-map "\C-c" 'henkan-quit) (define-key henkan-mode-map "\C-d" 'undefined) (define-key henkan-mode-map "\C-e" 'henkan-last-bunsetu) (define-key henkan-mode-map "\C-f" 'henkan-forward-bunsetu) (define-key henkan-mode-map "\C-g" 'henkan-select-kouho) (define-key henkan-mode-map "\C-h" 'undefined) (define-key henkan-mode-map "\C-i" 'henkan-bunsetu-chijime) (define-key henkan-mode-map "\C-j" 'undefined) (define-key henkan-mode-map "\C-k" 'henkan-kakutei-before-point) (define-key henkan-mode-map "\C-l" 'henkan-kakutei) (define-key henkan-mode-map "\C-m" 'henkan-kakutei) (define-key henkan-mode-map "\C-n" 'henkan-next-kouho) (define-key henkan-mode-map "\C-o" 'henkan-bunsetu-nobasi) (define-key henkan-mode-map "\C-p" 'henkan-previous-kouho) (define-key henkan-mode-map "\C-q" 'undefined) (define-key henkan-mode-map "\C-r" 'undefined) (define-key henkan-mode-map "\C-s" 'undefined) (define-key henkan-mode-map "\C-t" 'undefined) (define-key henkan-mode-map "\C-u" 'undefined) (define-key henkan-mode-map "\C-v" 'undefined) (define-key henkan-mode-map "\C-w" 'undefined) (define-key henkan-mode-map "\C-x" 'undefined) (define-key henkan-mode-map "\C-y" 'undefined) (define-key henkan-mode-map "\C-z" 'undefined) (define-key henkan-mode-map " " 'henkan-next-kouho) (define-key henkan-mode-map "!" 'henkan-kakutei-and-self-insert) .... .... (define-key henkan-mode-map "~" 'henkan-kakutei-and-self-insert) (define-key henkan-mode-map "\177" 'henkan-quit)
Function: define-egg-mode mode-string flag
¤³¤ì¤«¤édefrule
¤¬ÄêµÁ¤¹¤ë egg-mode ¤òÀë¸À¤¹¤ë¡¥mode-string
¤Ï¤³¤Î¥â¡¼¥É¤Î̾Á°¤Ç¤¢¤ê¡¤¤³¤Î¥â¡¼¥É¤¬ÁªÂò¤µ¤ì¤¿»þ¤Ë¥â¡¼¥É¥é¥¤¥ó¤Ëɽ¼¨¤µ
¤ì¤ëʸ»úÎó¤Ç¤¢¤ë¡¥flag¤¬nil
¤Ç¤Ê¤¤¾ì¹ç¤Ï egg-mode ¤Î½é´ü²½¤ò
¹Ô¤Ê¤¦¡¥
(define-egg-mode "roma-kana" t)¤Ï¡¤egg-mode ¤È¤·¤Æ
"roma-kana"
¤òÄêµÁ¤¹¤ë¤³¤È¤òÀë¸À¤¹¤ë¡¥
t
¤Ï egg-mode "roma-kana"
¤ò clear ¤¹¤ë¤³¤È¤ò»Ø¼¨¤¹¤ë¡¥
nil
¤Î¾ì¹ç¤ÏÄêµÁ¤ÎÄɲäǤ¢¤ë¡¥
Function: defrule input output next
Â裱°ú¿ô¤ÏÆþÎÏʸ»úÎó¤ò¡¤Â裲°ú¿ô¤Ï¤½¤ì¤ËÂФ¹¤ëÊÑ´¹½ÐÎÏʸ»úÎó¤ò¼¨¤¹¡¥
(defrule "a" "¤¢")¤Ï¡¤a¤ò"¤¢"¤ËÊÑ´¹¤¹¤ë¤³¤È¤ò°ÕÌ£¤¹¤ë¡¥¡Ö¤¿¤Þ¤´¡× ¤Ç¤ÏÆþÎϤÎÂçʸ»ú¾® ʸ»ú¤ò¶èÊ̤¹¤ë¤Î¤Ç¡¤¤³¤ÎÄêµÁ¤ÏA¤ò"¤¢"¤ËÊÑ´¹¤¹¤ë¤³¤È¤ò°ÕÌ£¤·¤Ê¤¤¡¥
Â裳°ú¿ô¤¬¤¢¤ë¾ì¹ç¤Ë¤Ï¡¤Â裱°ú¿ô¤ÎÆþÎϤ¬¤¢¤ë¤È¡¤Â裲°ú¿ô¤òÊÑ´¹¤Î½ÐÎϤȤ·¡¤ ¤µ¤é¤ËÂ裳°ú¿ô¤¬ÆþÎϤȤ·¤Æ¤¢¤Ã¤¿¤â¤Î¤È¤·¤ÆÊÑ´¹¤ò³¤±¤ë¡¥
(defrule "tch" "¤Ã" "ch")¤Ï¡¤ÆþÎÏ tcha¤ËÂФ·¤Æ "¤Ã" ¤ò½ÐÎϤ·¤¿¾å¤Ç¡¤cha ¤ÎÊÑ´¹¤ò¹Ô¤Ê ¤¦¡¥
(defvar aa '("k" "s" "t" "h" "y" "r" "w" "g" "z" "d" "b" "p" "c" "f" "j" "v"))ÊÑ¿ô¤ÏÃͤ¬Ê¸»úÎó¤Î¥ê¥¹¥È¤Ç¤¢¤ê¡¤Ê¸»úÎó¤Î¥»¥Ã¥È¤òɽ¤¹¡¥¤³¤Î¾ì¹ç¡¤ÊÑ¿ô
aa
¤Ï defrule
¤ÎÃæ¤Ç¤Ï k ... v ¤Î¤É¤ì¤«¤òɽ¤¹
¤³¤È¤Ë¤Ê¤ë¡¥
(defrule '(aa aa) "¤Ã" '(aa))¤³¤Î
defrule
¤Ï¡¤°ú¿ô¤ÎÃæ¤Ë¸½¤ì¤ëÊÑ¿ô aa
¤òÊÑ¿ô aa
¤¬¼è¤ê¤¦¤ëÃͤÎʸ»úÎó¤Ë°ìÀƤËÃÖ¤´¹¤¨¤ÆÆÀ¤é¤ì¤ëʸ»úÎ󤹤٤ƤËÂФ·¤Æ
defrule
¤¹¤ë¤³¤È¤òɽ¤¹¡¥(defrule "kk" "¤Ã" "k") (defrule "ss" "¤Ã" "s") .... (defrule "vv" "¤Ã" "v")¤ÈƱ¤¸¡¥
Î㤨¤Ð¥í¡¼¥Þ»ú²¾Ì¾¥â¡¼¥É¤Ç¿ô»ú¤òÆþÎϤ·¤¿»þ¤ËÁ´³Ñ¿ô»ú¤Ç¤Ê¤¯È¾³Ñ¿ô»ú¤Ë¤¹¤ë ¤¿¤á¤Ë¤Ï¡¤°Ê²¼¤ò¹Ô¤Ê¤¦¡¥¤Þ¤º`$NEAMCS/lisp/egg-rk.el'¤ò¼«Ê¬ÍѤΠ`egg-rk.el'¤Ë¥³¥Ô¡¼¤·¡¤°Ê²¼¤ÎÉôʬ¤ò¥³¥á¥ó¥È¥¢¥¦¥È¤¹¤ë¡¥
(defrule "1" "£±") (defrule "2" "£²") (defrule "3" "£³") (defrule "4" "£´") (defrule "5" "£µ") (defrule "6" "£¶") (defrule "7" "£·") (defrule "8" "£¸") (defrule "9" "£¹") (defrule "0" "£°")¤½¤Îbuffer¤ÇM-x eval-current-buffer¤ò¼Â¹Ô¤·¡¤mode-map ¤ò½¤Àµ¤¹¤ë¡¥
Command: dump-egg-mode-map mode-string dump-file-name
mode-map ¤ò¥Õ¥¡¥¤¥ë¤ËÂàÈò¤¹¤ë¡¥minibuffer ¤Ç ¥×¥í¥ó¥×¥È EGG
Mode:
¤ËÂФ·¤Æroma-kana¤ò»ØÄꤹ¤ë¡¥¡ÊSPC¤òÆþÎϤ¹¤ë¤È
comletion¤·¤Þ¤¹¡¥¡Ë¥×¥í¥ó¥×¥ÈOutput file name:
¤ËÂФ·¤Æ¤Ï
`egg-romkana-dump.el'¤ò»ØÄꤹ¤ë¡¥¤³¤ÎÁàºî¤Çsource file
`egg-romkana-dump.el'¤È¤½¤ì¤ò byte compile ¤·¤¿ object file
`egg-romkana-dump.elc' ¤¬¤Ç¤¤ë¡¥
¡ÊÃí°Õ¡ËÌÞÏÀľÀÜegg-romkana¤òkanji-load¤·¤Æ¤âÎɤ¤¤¬¡¤load¤Ë»þ´Ö¤¬³Ý¤«¤ë¡¥
egg-romkana-dump¤Ï¹â®¤Ëload¤Ç¤¤ë¡¥
sun¾å¤ÇX11¤ò»ÈÍѤ¹¤ë¾ì¹ç¡¤`$NEMACS/lisp/egg-keymap.el'¤ò¥í¡¼¥É¤¹¤ë
¤³¤È¤Ë¤è¤ê¡ÊÎ㤨¤Ð¡¤`.emacs'¤ÎÃæ¤Ç (load "egg-keymap")
¤ò¼Â¹Ô
¤¹¤ë¤È¡ËSun¤Î¥Õ¥¡¥ó¥¯¥·¥ç¥ó¡¦¥¡¼¤¬»ÈÍѤǤ¤ë¡¥¥¡¼³ä¤êÅö¤Æ¤Ï°Ê²¼¤Î¤È¤ª
¤ê¡¥
change-fileio-code
)¡¥F1¤ò²¡¤¹Ëè ¤Ë¡¤JIS ->
EUC -> Shift-JIS -> EUC ->..... ¤ÈÊѲ½¤¹¤ë
edit-dict-item
)
jis-cide-input
)
toroku-region
)
zenkaku-region
)
hankaku-region
)
katakana-region
)
hiragana-region
)
henkan-region
)
insert-buffer
)
insert-file
)
eval-region
)
eval-current-buffer
)
enlarge-window
)
shrink-window
)
revert-buffer
)
revert-buffer
)
beggining-of-buffer
)
end-of-buffer
)
¼½ñÅÐÏ¿¤Ë¤ª¤±¤ëÉÊ»ì¤Î°·¤¤¤Ë¤Ä¤¤¤Æ¡¤pubdic¥Þ¥Í¥¸¥ã¤Ç¤¢¤ëµÌ¤µ¤ó¤¬pubdic»² ²Ã¼Ô¤Ë°¸¤Æ¤¿e-mail¤Î°ìÉô¤ò°Ê²¼¤ËžºÜ¤·¤Þ¤¹¡¥»²¹Í¤Ë¤·¤Æ²¼¤µ¤¤¡¥