From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "S. Irie" Newsgroups: gmane.emacs.help Subject: Re: Anyone use scim-bridge.el with Chinese? Date: Sat, 13 Sep 2008 15:58:46 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <87hc8oh973.fsf@manatee.domain> <3d9a5f6e-42fa-457d-a1ce-8fe70a70e62e@s9g2000prg.googlegroups.com> <87d4j8y3fk.fsf@manatee.domain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221349291 2557 80.91.229.12 (13 Sep 2008 23:41:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Sep 2008 23:41:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 14 01:42:27 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Keel0-0001cO-24 for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 01:42:26 +0200 Original-Received: from localhost ([127.0.0.1]:47793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Keejy-00050F-Fk for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 19:41:22 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!b30g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 58 Original-NNTP-Posting-Host: 119.72.19.179 Original-X-Trace: posting.google.com 1221346726 4730 127.0.0.1 (13 Sep 2008 22:58:46 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 13 Sep 2008 22:58:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b30g2000prf.googlegroups.com; posting-host=119.72.19.179; posting-account=0iq7uwoAAABMgKDBCsBGns7-dcyacSS7 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; ja; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:162201 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57544 Archived-At: 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