[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to make emacs switch input method automatically ?
From: |
Andy Stewart |
Subject: |
Re: How to make emacs switch input method automatically ? |
Date: |
Thu, 06 Aug 2009 14:13:33 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
waterloo <waterloo2005@gmail.com> writes:
> Thanks very much !
>
> Now how to simulate `shift' key in elisp just like I stroke it ?
>
> How to know the current input state ?
>
> Below is my thought :
> I use scim . When I input chinese , It use `space' to choose the first
> character after I input
> chinese pinyin'.
> So if we simulate `k ' (k and a space) , when the character before point is
> not `k ' I can know the
> current state is chinese. (This relate to character
> code problem)
>
> Is there any other better method?
http://www.emacswiki.org/cgi-bin/emacs/ScimBridge_Chinese ?
-- Andy