help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to implement the function? Identify state of input method.


From: xiaopeng hu
Subject: How to implement the function? Identify state of input method.
Date: Wed, 20 Aug 2008 13:39:43 +0800

I use Ctrol to switch my input method between chinese and english.
When I input $, coming in math mode,I need to automatically switch to english input method (push "Ctrl" key).

First, I simulate a keystrike "t"+<space>, I will get a chinese character (not equal "t ")if my input method is chinese. Now I need Emacs automatically simulate a "Ctrl" key to switch to english input method.
All of these is just after when I input $.

How to implement the function?

Thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]