From: waterloo <waterloo2005@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: How to make emacs switch input method automatically ?
Date: Wed, 5 Aug 2009 20:15:19 +0800 [thread overview]
Message-ID: <907065090908050515w1950e852i6ba1ab20bcef78cf@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 513 bytes --]
I use chinese to input normal text in latex .
And in math mode we almost use english .
I use `shift' to switch between chinese and english .
So now I use shift too frequently , my shift key is not sensitive .
How to make emacs switch automatically ?
When in math mode , emacs switchs to english .
When in normal text ,emacs switchs to chinese.
Can here anyone give some instructions of doing this ?
I know there is function `texmathp' in auctex which determines if point is
inside latex mode .
Thanks
[-- Attachment #2: Type: text/html, Size: 579 bytes --]
next reply other threads:[~2009-08-05 12:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-05 12:15 waterloo [this message]
[not found] <mailman.3938.1249474526.2239.help-gnu-emacs@gnu.org>
2009-08-05 18:24 ` How to make emacs switch input method automatically ? A.Politz
-- strict thread matches above, loose matches on Subject: below --
2009-08-06 5:49 waterloo
2009-08-06 6:13 ` Andy Stewart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=907065090908050515w1950e852i6ba1ab20bcef78cf@mail.gmail.com \
--to=waterloo2005@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.