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

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

Re: Anyone use scim-bridge.el with Chinese?


From: S. Irie
Subject: Re: Anyone use scim-bridge.el with Chinese?
Date: Sat, 13 Sep 2008 15:58:46 -0700 (PDT)
User-agent: G2/1.0

Ah ... I don't recommend `scim-bridge-ja.el' to the non-Japanese
users.

The person who cannot understand Japanese should not use this file
because
the documentation strings of the customization variables and the
functions
are replaced with another ones written in Japanese.

This file also contains two commands, namely `scim-anthy-reconvert-
region'
and `scim-transfer-romaji-into-preedit', which were provided for the
Japanese users and are maybe useful for only them.

Since `scim-anthy-reconvert-region' strongly depends on the function
of
Japanese IM-Engine SCIM-Anthy, it is useless except the Anthy users.

On the other hand, `scim-transfer-romaji-into-preedit' might be useful
also for the Chinese users who use SCIM-pinyin. Here, `romaji' means
alphabetical characters in Japanese. The actions of this function are
to
read (and delete) the alphabetical ascii character string from the
left
of the cursor in current buffer and to insert it into the event queue
`unread-command-events' as a key sequence. The option
`scim-toggle-input-method-event' specifies an additional key sequence
which is put to the head of the event queue to start SCIM. If this
option
is nil, no key sequence is added. If a Chinese user uses this command,
I suggest setting this option to nil:

   (setq scim-toggle-input-method-event nil)


By the way, the option `scim-adjust-window-x-position' need not
usually
be set in .emacs file (or custom-mode). With the default setting, the
conversion window should be displayed at correct position.

This is an example of settings suitable for the Chinese users:

   (require 'scim-bridge)
   (scim-define-common-key ?\C-\  nil)
   (scim-define-common-key ?\C-/ nil)
   (scim-mode t)

The settings of keybinding can be written in one line together:

   (require 'scim-bridge)
   (scim-define-common-key [?\C-\  ?\C-/]  nil)
   (scim-mode t)


Unfortunately, `scim-bridge-zh.el' doesn't exist because I cannot
understand Chinese :P

S. Irie


reply via email to

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