> If I input some non-chinese words consequently for some lines in a
> article, the one-click on *space*, that is, *~* accordingly, will be
> the delimitation of every two words.  I think that it should be more
> reasonable in using the *space* key itself as the delimitation of
> every two non-chinese or non-multibytes words.  [...]
>
> 1. If I input sequential non-chinese words, can I make the *space*
> itself instead of the *~* be the delimitation of every two words
> just by one-click on the space-key?

What you want to do is to couple the handling of the tilde and space
keys to the input method.  If you use a Chinese one, pressing SPACE
once should give a tilde, and pressing it twice should insert a
space, right?

Here a solution; please test (I used the CVS emacs for that).  Insert
the following into your .emacs file (and replace `chinese-py-punct-b5'
with your favourite input method).

  (add-hook 'quail-activate-hook
            (function
             (lambda () 
               (if (equal (quail-name) "chinese-py-punct-b5")
                   (progn
                     (quail-defrule " " "~")
                     (quail-defrule "  " " "))))))



   Werner

_______________________________________________
Cjk maillist  -  [email protected]
https://lists.ffii.org/mailman/listinfo/cjk

Reply via email to