From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ingo Bremer Newsgroups: gmane.emacs.bugs Subject: Multi_key and dead keys under irix 6.5, emacs 21.2 Date: Fri, 31 Oct 2003 15:24:54 +0100 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200310311424.h9VEOsFB511119@cantor.wias-berlin.de> Reply-To: bremer@wias-berlin.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1067610370 2557 80.91.224.253 (31 Oct 2003 14:26:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2003 14:26:10 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 31 15:26:05 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFaE1-0006Rk-00 for ; Fri, 31 Oct 2003 15:26:05 +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 1AFaDb-0000M9-2c for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Oct 2003 09:25:39 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AFaDY-0000KO-BV for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2003 09:25:36 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AFaD1-00008R-9K for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2003 09:25:35 -0500 Original-Received: from [62.141.177.103] (helo=cantor.wias-berlin.de) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFaD0-00007p-II for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2003 09:25:02 -0500 Original-Received: from isaacson (isaacson.wias-berlin.de [62.141.177.163]) by cantor.wias-berlin.de (8.12.10/8.12.10/wias-2.1.12) with ESMTP id h9VEOsFB511119 for ; Fri, 31 Oct 2003 15:24:54 +0100 (MET) X-Mailer: exmh version 2.6 02/09/2003 with nmh-1.0.4 Original-To: bug-gnu-emacs@gnu.org X-Disposition-Notification-To: bremer@wias-berlin.de X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6067 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6067 hallo, under sgi irix (6.5.13m) the XK_Multi_key and the dead_keys are not working in emacs-21.2. the reason is a difference between the run-time behaviour of XmbLookupString and the description in the manual: --- XLookupNone No consistent input has been composed so far. The contents of buffer_return and keysym_return are not modified, and the function returns zero. --- in fact, after pressing Multi_key ' a we have status_return =3D=3D XLooku= pNone AND nbytes =3D=3D 1 with the correct latin1-character "=E1" in the buffer= =2E my little patch helps emacs to deal with this situation patch for = eamcs-21.2/src/xterm.c near line 10449 if (status_return =3D=3D XLookupNone && nbytes >0) { /* should not appea= r, but... = */ keysym =3D NoSymbol; } else { if (status_return =3D=3D XLookupNone) break; else if (status_return =3D=3D XLookupChars) { keysym =3D NoSymbol; modifiers =3D 0; } else if (status_return !=3D XLookupKeySym && status_return !=3D XLookupBoth) abort (); } best regards i.b.