From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Klaus Zeitler Newsgroups: gmane.emacs.devel Subject: Re: [kzeitler@lucent.com: Re: compose key on SUN keyboard creates 2 characters (and beeps)] Date: 14 Jan 2004 11:46:16 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <384A6738-44F5-11D8-9EE7-00039363E640@swipnet.se> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074077319 12674 80.91.224.253 (14 Jan 2004 10:48:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Jan 2004 10:48:39 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jan 14 11:48:35 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AgiZf-0002v2-00 for ; Wed, 14 Jan 2004 11:48:35 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AgiZe-00048U-00 for ; Wed, 14 Jan 2004 11:48:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AgiYO-0008BG-C7 for emacs-devel@quimby.gnus.org; Wed, 14 Jan 2004 05:47:16 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AgiYF-0008B0-O7 for emacs-devel@gnu.org; Wed, 14 Jan 2004 05:47:07 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AgiXj-00088E-1y for emacs-devel@gnu.org; Wed, 14 Jan 2004 05:47:06 -0500 Original-Received: from [192.11.223.161] (helo=auemail1.firewall.lucent.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AgiXf-00087b-Jh; Wed, 14 Jan 2004 05:46:31 -0500 Original-Received: from nbgif1.de.lucent.com (h135-246-31-82.lucent.com [135.246.31.82]) by auemail1.firewall.lucent.com (Switch-2.2.8/Switch-2.2.0) with ESMTP id i0EAkKg13543; Wed, 14 Jan 2004 04:46:20 -0600 (CST) Original-Received: from sfsws1.de.lucent.com (sfsws1.de.lucent.com [135.246.31.38]) by nbgif1.de.lucent.com (8.11.7p1+Sun/8.11.7) with ESMTP id i0EAkIL22315; Wed, 14 Jan 2004 11:46:18 +0100 (MET) Original-Received: from sfsw51.de.lucent.com (sfsw51 [135.246.123.35]) by sfsws1.de.lucent.com (8.11.7p1+Sun/8.8.5) with ESMTP id i0EAkHQ03876; Wed, 14 Jan 2004 11:46:18 +0100 (MET) Original-Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7p1+Sun/8.8.8) id i0EAkH101838; Wed, 14 Jan 2004 11:46:17 +0100 (MET) X-Authentication-Warning: sfsw51.de.lucent.com: kzeitler set sender to kzeitler@lucent.com using -f Original-To: "Jan D." X-Flame: I can't believe how perverted you are. In-Reply-To: Original-Lines: 42 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19171 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19171 >>>>> "Jan" == Jan D writes: Jan> Jan> But is there a reason why XIM is not enabled for you? >> >> I have no idea. I only know that XIM exists. I just checked config.h >> and there's HAVE_XIM and USE_XIM both set to 1. So in theory it should >> be there. What should I check? Jan> Jan> Check if you have HAVE_X_I18N and HAVE_X11R6_XIM defined. The best Jan> way is to step in xterm.c in the debugger and see why XmbLookupString Jan> is not called. It may be some problem with creating the XIC or the Jan> XIM. sol2.h defines INHIBIT_X11R6_XIM: --- snip --- /* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style XIM support. */ #define INHIBIT_X11R6_XIM --- snip --- Thus HAVE_XIM is defined, but HAVE_X11R6_XIM not (see config.h) just for fun I removed the define for INHIBIT_X11R6_XIM line, but then emacs crashed in XRegisterIMInstantiateCallback in xim_initialize. So coming back to the original patch I suggested, maybe we should add it, but enclosed with e.g. "#ifndef HAVE_X11R6_XIM". Klaus -- ------------------------------------------ | Klaus Zeitler Lucent Technologies | | Email: kzeitler@lucent.com | ------------------------------------------ --- One of the lessons of history is that nothing is often a good thing to do and always a clever thing to say. -- Will Durant