From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian D. Leroux Newsgroups: gmane.emacs.bugs Subject: bug#7380: 23.2; Dead keys misinterpreted in gtk emacs Date: Sat, 20 Nov 2010 19:31:58 -0500 Message-ID: <878w0ntt35.wl%idleroux@fastmail.fm> References: <87d3qbe9et.wl%idleroux@fastmail.fm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: dough.gmane.org 1290300279 2794 80.91.229.12 (21 Nov 2010 00:44:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2010 00:44:39 +0000 (UTC) Cc: 7380@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 21 01:44:34 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PJy2j-0000Z4-TI for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Nov 2010 01:44:34 +0100 Original-Received: from localhost ([127.0.0.1]:56293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJy2j-0005W1-CP for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Nov 2010 19:44:33 -0500 Original-Received: from [140.186.70.92] (port=40270 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJy2f-0005Vs-BV for bug-gnu-emacs@gnu.org; Sat, 20 Nov 2010 19:44:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJy2e-0000O4-60 for bug-gnu-emacs@gnu.org; Sat, 20 Nov 2010 19:44:29 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJy2e-0000O0-33 for bug-gnu-emacs@gnu.org; Sat, 20 Nov 2010 19:44:28 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PJxlm-0007Q4-E4; Sat, 20 Nov 2010 19:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ian D. Leroux Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Nov 2010 00:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7380 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7380-submit@debbugs.gnu.org id=B7380.129029921328514 (code B ref 7380); Sun, 21 Nov 2010 00:27:02 +0000 Original-Received: (at 7380) by debbugs.gnu.org; 21 Nov 2010 00:26:53 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PJxlb-0007Pr-Lh for submit@debbugs.gnu.org; Sat, 20 Nov 2010 19:26:51 -0500 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PJxlZ-0007Pl-BR for 7380@debbugs.gnu.org; Sat, 20 Nov 2010 19:26:49 -0500 Original-Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 37EC1194; Sat, 20 Nov 2010 19:32:00 -0500 (EST) Original-Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Sat, 20 Nov 2010 19:32:00 -0500 X-Sasl-enc: F/FyDz9XOwkIc2p+D/b1FZ0jeo+z/X+G1X2JS9RAMZbg 1290299519 Original-Received: from spip.homeunix.net (pool-70-19-139-121.bos.east.verizon.net [70.19.139.121]) by mail.messagingengine.com (Postfix) with ESMTPSA id A63A15E30A6; Sat, 20 Nov 2010 19:31:59 -0500 (EST) In-Reply-To: User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL/10.7 Emacs/23.2 (x86_64--netbsd) MULE/6.0 (HANACHIRUSATO) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 20 Nov 2010 19:27:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41776 Archived-At: At Tue, 16 Nov 2010 11:57:05 -0500, Stefan Monnier wrote: > Now, as to why this X11 key composition does not work for you. > Could you maybe try to rebuild it and show us the output of "configure"? The full config.log is up at: http://web.mit.edu/~idleroux/Public/emacsbug7380/config.log The summary printed at the end of configure was: Configured for `x86_64--netbsd'. Where should the build process find the source code? /pkg_comp/obj/pkgsrc/editors/emacs/default/emacs-23.2 What operating system and machine description files should Emacs use? `s/netbsd.h' and `m/amdx86-64.h' What compiler should emacs be built with? cc -O2 -pipe -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 Should Emacs use the GNU version of malloc? yes Should Emacs use a relocating allocator for buffers? yes Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? GTK Where do we find X Windows header files? /usr/X11R7/include Where do we find X Windows libraries? /usr/X11R7/lib Does Emacs use -lXaw3d? no Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lgif Does Emacs use -lpng? yes Does Emacs use -lrsvg-2? yes Does Emacs use -lgpm? no Does Emacs use -ldbus? yes Does Emacs use -lgconf? no Does Emacs use -lfreetype? yes Does Emacs use -lm17n-flt? yes Does Emacs use -lotf? yes Does Emacs use -lxft? yes Does Emacs use toolkit scroll bars? yes D-Bus integration has been tested for GNU/Linux only. configure: creating ./config.status config.status: creating Makefile config.status: creating lib-src/Makefile.c config.status: creating oldXMenu/Makefile config.status: creating doc/emacs/Makefile config.status: creating doc/misc/Makefile config.status: creating doc/lispintro/Makefile config.status: creating doc/lispref/Makefile config.status: creating src/Makefile.c config.status: creating lwlib/Makefile config.status: creating lisp/Makefile config.status: creating leim/Makefile config.status: creating src/config.h config.status: executing default commands creating src/epaths.h creating lib-src/Makefile creating src/Makefile configure: WARNING: Unrecognized options: --without-libiconv-prefix, --without-libintl-prefix > Not sure it'll help, tho. We'll need either someone to be able to > reproduce it, or you'll need to dig in the code, play with GDB to try > and see what's going on there. If you're up to it, you can try and > place breakpoints near the call to XmbLookupString in xterm.c and single > step there. Normally, the dead-acute event should not escape from this > part of the code: instead it should turn into "nothing" (just change > some state somewhere either in compose_status or in "FRAME_XIC (f)" > depending on whether that frame uses XIM/XIC), I had a first crack at this. XmbLookupString is never called because FRAME_XIC (f) is NULL, so lines 6413--6441 are skipped and XLookupString is called instead. The result gets categorized as a NON_ASCII_KEYSTROKE_EVENT. Where is FRAME_XIC (f) supposed to be set? My first impression is that that is where the problem is (possibly a configuration problem?) Any further guidance or tips will be appreciated. Ian Leroux