From: miura@symb.cs.gunma-u.ac.jp (Miura Kinya)
Newsgroups: fj.editor.emacs
Subject: Re: Help: intelligent toggle between Japanese/English input mode
Date: 7 Apr 92 02:48:37 GMT
Reply-To: miura@cs.gunma-u.ac.jp
Distribution: fj

$@;01:!VHsC1D4!W6VLi$G$9!%$^$?$b@kEA$K$J$j$^$9$,(J...

from article <ISHIKAWA.92Apr3221516@ds5200.personal-media.co.jp>,
	by ishikawa@ds5200.personal-media.co.jp (Chiaki Ishikawa):
> $@<ALd!'(J $@$3$&$$$C$?(Jnroff$@$H$+FCDj$N%U%)!<%^%C%?$N%3%^%s%I$r;H$$$J$,$iJ8>O(J
> $@$r$D$/$C$F$$$/$H$-$K!"F|K\8l!"1Q8l$N@ZBX$($,BgJQ$KLLE]$@$H;W$&$N$G$9$,!"(J
> $@>e$K=R$Y$?$h$&$JJ}K!$G!">/$7$G$b4JC1$K$7$h$&$H$$$&9)IW$r$7$F$$$kJ}$,$$(J
> $@$?$i@'HsCN$j$?$$$H$$$&$+!"%"%$%G%"$r6&M-$7$F$$$?$@$1$l$P$H;W$&$N$G$9$,!"(J
> $@G!2?$G$7$g$&!#(J

boiled-egg $@$G$O!$%b!<%I$N@ZBX$,$$$j$^$;$s(J($@$H$$$&$+!$$"$j$^$;$s(J)$@!%%m!<%^(J
$@;zNs$+$iD>@\4A;z$KJQ49$9$k$N$G!$C1$KJQ49$7$J$$$3$H$G!$1Q;z$O1Q;z$N$^$^$G(J
$@CV$$$F$*$1$^$9!%(J

boiled-egg $@$O!$:rG/(J12$@7n$K!$(JVer 3.0 $@$,!$$3$3(J fj.editors.emacs $@$KN.$5$l$F(J
$@$$$^$9(J(<MIURA.91Dec6113128@jupiter.cs.gunma-u.ac.jp>)$@!%$=$N;~E:IU$7$?(J 
README $@$rIU$1$F$*$-$^$9!%(J($@0lItD{@5:Q(J)

==================
$@!V(J20A $@@83h<T!W(J
$@;01:!VHsC1D4!W6VLi(J			$@!!72GOBg3X9)3XIt>pJs9)3X2J(J

======== CUT HERE ========
$@!V$f$G$?$^$4!W(J(boiled-egg) $@$O!$%m!<%^;z$+$i$$$-$J$j4A;z$KJQ49$9$k$h$&$J(J 
$@7A<0$N%f!<%6!<%$%s%?!<%U%'!<%9$r$b$D!$!V$?$^$4!W$N%U%m%s%H%(%s%I$G$9!%0J(J
$@2<$N$h$&$JFCD'$,$"$j$^$9!%(J

1. $@%+!<%=%kD>A0$N(J($@6uGr!$>.3g8L!$Cf3g8L0J30$N(J)$@H>3QJ8;zNs$rJQ49$NBP>]$H$9(J
   $@$k!%(J
2. $@F)2a%b!<%I$H%m!<%^;z2>L>%b!<%I$N@ZBX$,$$$i$J$$!%(J
3. $@JQ49BP>]$NJ8;zNs(J($@%m!<%^;z(J)$@$O!$D>@\%P%C%U%!$KA^F~$5$l$k$N$G!$(Jundo $@$GJQ(J
   $@49$r<h$j>C$;$k!%(J
4. $@>.3g8L$HCf3g8L$OJQ49$NBP>]$H$7$J$$$N$G!$(J\mbox{$@5-(J}$@$N$h$&$JF~NO$bMF0W$G(J
   $@$"$k!%(J($@JQ992D(J)

$@5$$K$$$C$?$i;H$C$F$_$F2<$5$$!%(J
========================================================================
[$@;H$$J}#1(J]
  1. $@!V$?$^$4!W$r;H$($k>uBV$K$7$F$*$/(J
  2. boiled-egg.el $@$r%m!<%I$9$k(J
  3. $@%3%^%s%I(J boil $@$r<B9T$9$k(J

[$@;H$$J}#2(J]
  1. $@!V$?$^$4!W$r;H$($k>uBV$K$7$F$*$/(J
  2. boiled-egg.el $@$r%m!<%I$9$k(J
  3. rK-trans, rhkR-trans, rRhk-trans $@$N#3$D$N%3%^%s%I$r!$E,Ev$J%-!<$K%P(J
     $@%$%s%I$9$k!%(J

[$@;H$$J}6&DL(J]
  $@0J>e$NA`:n$K$h$j!$#3%v=j$N%-!<$K!$(JrK-trans, rhkR-trans, rRhk-trans $@$N(J
  $@#3$D$N%3%^%s%I$,%m!<%+%k$K%P%$%s%I$5$l!$!V$f$G$?$^$4!W$,MxMQ2DG=$K$J$k!%(J
  ([$@;H$$J}#1(J]$@$G$N(Jdefault $@$G$O!$(JrK-trans -> C-j, rhkR-trans -> M-j,
  rRkh-trans -> C-M-j $@$H$J$k(J)

  $@?7$?$K%P%$%s%I$5$l$?%3%^%s%I0J30$O!$DL>oDL$j$KMQ$$$k$3$H$,$G$-$k!%(J

  rK-trans $@$r<B9T$9$k$H!$%+!<%=%kD>A0$NH>3QJ8;z(J($@6uGr!&>.3g8L!&Cf3g8L$r=|(J
  $@$/(J)$@Ns$rJQ49BP>]$H$7$F!$!V$?$^$4!W$N4A;zJQ49%b!<%I$KF~$k!%4A;zJQ49%b!<(J
  $@%I$G$NA`:n$O!$!V$?$^$4!W$H$[$\F1MM$G$"$k$,!$(J
  henkan-kakutei-before-point (C-k) $@$O;HMQ$G$-$J$$!%$^$?!$(JC-n, $@%9%Z!<%9(J
  $@0J30$K!$F)2a%b!<%I$G(J rK-trans $@$,%P%$%s%I$5$l$F$$$k%-!<$b!$(J
  henkan-next-kouho $@$H$7$FMQ$$$k$3$H$,$G$-$k!%$5$i$K!$F)2a%b!<%I$G(J 
  rhkR-trans, rRkh-trans $@$,%P%$%s%I$5$l$F$$$k%-!<$K$O!$$=$l$>$l(J 
  Kh-trans, KR-trans $@$,%P%$%s%I$5$l$k!%(J($@$3$N(J K?-trans $@$H$$$&4X?t$K$D$$$F(J
  $@$O8e=R(J)

  rhkR-trans $@$r<B9T$9$k$H!$%+!<%=%kD>A0$NH>3QJ8;z(J($@6uGr!&>.3g8L!&Cf3g8L$r(J
  $@=|$/(J)$@Ns$r$R$i$,$J$KJQ49$9$k!%O"B3$7$F!$(JrhkR-trans $@$r<B9T$9$k$H!$H>3Q(J 
  -> $@$R$i$,$J(J -> $@%+%?%+%J(J -> $@A43Q(J -> $@H>3Q(J -> ... $@$H=g!9$KJQ49$7$F$$$/!%(J

  rRkh-trans $@$O!$(JrhkR-trans $@$H$O5U$K!$H>3Q(J -> $@A43Q(J -> $@%+%?%+%J(J -> $@$R$i$,(J
  $@$J(J -> $@H>3Q(J -> ... $@$N=g$KJQ49$7$F$$$/!%(J

  rhkR-trans $@$H(J rRkh-trans $@$O!$<h$j:.$<$FO"B3E*$K<B9T$9$k$3$H$K$h$C$F(J

	$@H>3Q(J <--> $@$R$i$,$J(J
         ^           ^
	 |           |
         v           v
	$@A43Q(J <--> $@%+%?%+%J(J

  $@$N%k!<%W(J (rhkR $@%k!<%W(J) $@$r!$9T$-$DLa$j$D!$$I$A$i$NJ}8~$K$b2s$k$3$H$,=P(J
  $@Mh$k!%(J

  rhkR-trans, rRhk-trans $@$N<B9T8e$K!$$=$NJQ49$r%-%c%s%;%k$7$F(J rK-trans 
  $@$r<B9T$7$?$$>l9g!$0lC6H>3QJ8;zNs$KLa$5$J$/$F$b!$(J($@Nc$($P$R$i$,$J$KJQ49(J
  $@$5$l$F$$$k>uBV$+$i(J)$@$=$N$^$^<B9T$,2DG=$G$"$k!%$^$?!$(JrK-trans $@$N<B9T8e(J
  ($@4A;zJQ49%b!<%I(J)$@!$$=$NJQ49$r%-%c%s%;%k$7$F(J rhkR-trans, rRkh-trans $@$r<B(J
  $@9T$7$?$$>l9g$b!$H>3QJ8;zNs$KLa$5$:$K!$(JKh-trans, KR-trans $@$r<B9T$9$k$3(J
  $@$H$G!$(JrhkR $@%k!<%W$KF~$k$3$H$,=PMh$k!%(J

[$@%+%9%?%^%$%:(J]
  $@%3%^%s%I(J boil $@<B9T;~$K(J rK-trans, rhkR-trans, rRkh-trans $@$,%P%$%s%I$5$l(J
  $@$k%-!<$O!$$=$l$>$l!$JQ?t(J rK-trans-key, rhkR-trans-key, rRkh-trans-key 
  $@$rJQ$($k$3$H$K$h$C$FJQ99$G$-$k!%(J

  (henkan-mode-map $@>e$G(J) Kh-trans, KR-trans $@$,%P%$%s%I$5$l$k%-!<$O!$DL>o!$(J
  ($@F)2a%b!<%I$G(J) rhkR-trans, rRkh-trans $@$,%P%$%s%I$5$l$F$$$k%-!<$K!$<+F0(J
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