From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Stewart Newsgroups: gmane.emacs.help Subject: Re: Anyone use scim-bridge.el with Chinese? Date: Sat, 13 Sep 2008 14:18:07 +0800 Organization: Bentium Ltd. (CN99) Message-ID: <87d4j8y3fk.fsf@manatee.domain> References: <87hc8oh973.fsf@manatee.domain> <3d9a5f6e-42fa-457d-a1ce-8fe70a70e62e@s9g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221291647 21895 80.91.229.12 (13 Sep 2008 07:40:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Sep 2008 07:40:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 13 09:41:43 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 1KePlG-0000l4-8d for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 09:41:42 +0200 Original-Received: from localhost ([127.0.0.1]:45414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KePkF-0003dl-DN for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 03:40:39 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsgate.cuhk.edu.hk!news.cn99.com!manatee.domain!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 71 Original-NNTP-Posting-Host: 222.212.131.86 Original-X-Trace: news.cn99.com 1221289683 15105 222.212.131.86 (13 Sep 2008 07:08:03 GMT) Original-X-Complaints-To: usenet@news.cn99.com Original-NNTP-Posting-Date: Sat, 13 Sep 2008 07:08:03 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:uNH6ke0d1MXI+2HkGWKSqkKTquI= Original-Xref: news.stanford.edu gnu.emacs.help:162166 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:57509 Archived-At: >>>>> "irieshinsuke" == irieshinsuke writes: Hi, Irie! I have install scim-bridge. And I have write ~/.Xdefaults (I think this file have same effect as ~/.Xresources) with: Emacs*useXIM: false Then xrdb ~/.Xdefaults And I configure scim-bridge with: (require 'scim-bridge) (require 'scim-bridge-ja) (scim-define-common-key ?\C-\ nil) (scim-define-common-key ?\C-/ nil) (setq scim-adjust-window-x-position 'gnome) (scim-mode t) And everything looks okay. But when I use functions `scim-anthy-reconvert-region' and `scim-transfer-romaji-into-preedit', it's can't work. `scim-anthy-reconvert-region' will get message: "SCIM: is undefined" `scim-transfer-romaji-into-preedit' will get message: "SCIM: is undefined" I think the setup of variables `scim-anthy-reconversion-event' and `scim-toggle-input-method-event' is wrong. So, make scim-bridge works with Chinese just setup `scim-anthy-reconversion-event' and `scim-toggle-input-method-event' with right value or other thing? Have a file likes `scim-bridge-zh.el' ? Regards. Andy. irieshinsuke> Hi, irieshinsuke> Sorry, I have not written the documents other than Japanese yet. irieshinsuke> Did any error messages come out? irieshinsuke> I guess that you don't use scim-bridge, which was originally developed irieshinsuke> in order to solve the C++ ABI problems. irieshinsuke> scim-bridge.el communicates with SCIM through the scim-bridge agent irieshinsuke> using UNIX domain socket, therefore it can not work without the agent. irieshinsuke> Is scim-bridge installed? irieshinsuke> Or, you might don't inhibit XIM from taking over the key events. irieshinsuke> To do this, for example, add a line into ~/.Xresources file: irieshinsuke> Emacs*useXIM: false irieshinsuke> And execute the command in a terminal: irieshinsuke> xrdb ~/.Xresources irieshinsuke> or restart X server. irieshinsuke> Please report again if it doesn't work well. irieshinsuke> S. Irie