From unknown Tue Jun 24 06:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7380: 23.2; Dead keys misinterpreted in gtk emacs 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: Thu, 11 Nov 2010 23:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7380 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7380@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128951770426696 (code B ref -1); Thu, 11 Nov 2010 23:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Nov 2010 23:21:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGgSd-0006wX-7B for submit@debbugs.gnu.org; Thu, 11 Nov 2010 18:21:43 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGgLz-0006tF-Ne for submit@debbugs.gnu.org; Thu, 11 Nov 2010 18:14:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGgQb-0005wT-V4 for submit@debbugs.gnu.org; Thu, 11 Nov 2010 18:19:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:55346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGgQb-0005wP-Ox for submit@debbugs.gnu.org; Thu, 11 Nov 2010 18:19:37 -0500 Received: from [140.186.70.92] (port=47811 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGgQa-0006tQ-1C for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2010 18:19:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGgQY-0005ul-EH for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2010 18:19:35 -0500 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:50506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGgQY-0005uc-Bh for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2010 18:19:34 -0500 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id B5094968 for ; Thu, 11 Nov 2010 18:19:32 -0500 (EST) Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute3.internal (MEProxy); Thu, 11 Nov 2010 18:19:32 -0500 X-Sasl-enc: UxvqwIBhoylY1y2IrX39bZNcPprWd/eNnzI4rd/0M8TK 1289517562 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 DF2715E0877 for ; Thu, 11 Nov 2010 18:19:15 -0500 (EST) Date: Thu, 11 Nov 2010 18:18:50 -0500 Message-ID: <87d3qbe9et.wl%idleroux@fastmail.fm> From: Ian D. Leroux 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) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Thu, 11 Nov 2010 18:21:42 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Under X11 with the us_intl keyboard, dead keys are not correctly combined with the following characters. For instance e, which ought to give é, instead produces the message " is undefined" followed by an undecorated e. The problem is specific to emacs: all other applications in the same X11 session (Firefox, xterm, urxvt, miscellaneous gtk apps like exfalso) accept accented input typed with dead keys without special customization. This is a plain-vanilla install of emacs under pkgsrc. The auto-collected data reported below were generated by M-x report-emacs-bug from an emacs -Q instance displaying this behaviour. Workarounds: I can run emacs in a terminal, allowing xterm or urxvt to handle keyboard input. This gives me consistent keyboard behaviour at the price of the graphical comforts of gtk emacs. I can also activate iso-transl and have emacs handle the composition of characters from dead keys by its own internal mechanism, independent of X11, but then I get a subtly different keyboard layout in emacs relative to other software on the system. Thank you for any insights and assistance you may be able to supply, Ian Leroux In GNU Emacs 23.2.1 (x86_64--netbsd, GTK+ Version 2.20.1) of 2010-11-09 on spip.homeunix.net Windowing system distributor `The Xorg Foundation', version 11.0.10603000 configured using `configure '--srcdir=3D/pkg_comp/obj/pkgsrc/editors/emacs= /default/emacs-23.2' '--localstatedir=3D/var' '--x-includes=3D/usr/X11R7/in= clude' '--x-libraries=3D/usr/X11R7/lib' '--with-x' '--with-xpm' '--with-jpe= g' '--with-tiff' '--with-gif' '--with-png' '--with-x-toolkit=3Dgtk' '--with= out-libiconv-prefix' '--without-libintl-prefix' '--prefix=3D/usr/pkg' '--bu= ild=3Dx86_64--netbsd' '--host=3Dx86_64--netbsd' '--infodir=3D/usr/pkg/info'= '--mandir=3D/usr/pkg/man' 'build_alias=3Dx86_64--netbsd' 'host_alias=3Dx86= _64--netbsd' 'CC=3Dcc' 'CFLAGS=3D-O2 -mfpmath=3Dsse -msse3 -march=3Dathlon6= 4 -pipe -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7= /include/freetype2' 'LDFLAGS=3D-L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl= ,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib' 'LIBS=3D' 'CPPFLAGS= =3D-I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/incl= ude/freetype2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: C value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: e M-x r e p o r t - e m a c s - b u g=20 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /usr/pkg/share/emacs/site-lisp/flim/sha1 hides /usr/pkg/share/emacs/23.2/li= sp/sha1 /usr/pkg/share/emacs/site-lisp/semi/pgg hides /usr/pkg/share/emacs/23.2/lis= p/pgg /usr/pkg/share/emacs/site-lisp/semi/pgg-pgp5 hides /usr/pkg/share/emacs/23.= 2/lisp/pgg-pgp5 /usr/pkg/share/emacs/site-lisp/semi/pgg-pgp hides /usr/pkg/share/emacs/23.2= /lisp/pgg-pgp /usr/pkg/share/emacs/site-lisp/semi/pgg-parse hides /usr/pkg/share/emacs/23= .2/lisp/pgg-parse /usr/pkg/share/emacs/site-lisp/semi/pgg-gpg hides /usr/pkg/share/emacs/23.2= /lisp/pgg-gpg /usr/pkg/share/emacs/site-lisp/semi/pgg-def hides /usr/pkg/share/emacs/23.2= /lisp/pgg-def /usr/pkg/share/emacs/site-lisp/flim/hex-util hides /usr/pkg/share/emacs/23.= 2/lisp/hex-util /usr/pkg/share/emacs/site-lisp/flim/sasl hides /usr/pkg/share/emacs/23.2/li= sp/net/sasl /usr/pkg/share/emacs/site-lisp/flim/sasl-digest hides /usr/pkg/share/emacs/= 23.2/lisp/net/sasl-digest /usr/pkg/share/emacs/site-lisp/flim/sasl-cram hides /usr/pkg/share/emacs/23= .2/lisp/net/sasl-cram /usr/pkg/share/emacs/site-lisp/flim/hmac-md5 hides /usr/pkg/share/emacs/23.= 2/lisp/net/hmac-md5 /usr/pkg/share/emacs/site-lisp/flim/hmac-def hides /usr/pkg/share/emacs/23.= 2/lisp/net/hmac-def /usr/pkg/share/emacs/site-lisp/wl/rfc2368 hides /usr/pkg/share/emacs/23.2/l= isp/mail/rfc2368 /usr/pkg/share/emacs/site-lisp/wl/utf7 hides /usr/pkg/share/emacs/23.2/lisp= /gnus/utf7 /usr/pkg/share/emacs/site-lisp/semi/smime hides /usr/pkg/share/emacs/23.2/l= isp/gnus/smime Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 sha1-el hex-util hashcash mail-utils emacsbug tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind font-render-setting gtk x-toolkit x multi-tty emacs) From unknown Tue Jun 24 06:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7380: 23.2; Dead keys misinterpreted in gtk emacs Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Nov 2010 16:53:01 +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: To: "Ian D. Leroux" Cc: 7380@debbugs.gnu.org Received: via spool by 7380-submit@debbugs.gnu.org id=B7380.128992633818756 (code B ref 7380); Tue, 16 Nov 2010 16:53:01 +0000 Received: (at 7380) by debbugs.gnu.org; 16 Nov 2010 16:52:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PIOlV-0004sT-Cs for submit@debbugs.gnu.org; Tue, 16 Nov 2010 11:52:18 -0500 Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PIOlT-0004sN-0Q for 7380@debbugs.gnu.org; Tue, 16 Nov 2010 11:52:15 -0500 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id oAGGvAls031223; Tue, 16 Nov 2010 11:57:10 -0500 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 1690C13002B; Tue, 16 Nov 2010 11:57:06 -0500 (EST) From: Stefan Monnier Message-ID: References: <87d3qbe9et.wl%idleroux@fastmail.fm> Date: Tue, 16 Nov 2010 11:57:05 -0500 In-Reply-To: <87d3qbe9et.wl%idleroux@fastmail.fm> (Ian D. Leroux's message of "Thu, 11 Nov 2010 18:18:50 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3680=0 X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > Under X11 with the us_intl keyboard, dead keys are not correctly > combined with the following characters. For instance e, > which ought to give =E9, instead produces the message " is > undefined" followed by an undecorated e. The problem is specific to > emacs: all other applications in the same X11 session (Firefox, xterm, > urxvt, miscellaneous gtk apps like exfalso) accept accented input > typed with dead keys without special customization. This is a > plain-vanilla install of emacs under pkgsrc. The auto-collected data > reported below were generated by M-x report-emacs-bug from an emacs -Q > instance displaying this behaviour. It vaguely reminds me of some other bug-report. But that's about as far as it goes. I don't use dead keys, but I do use the daily to enter most of my non-ASCII letters, which should rely on the same code. > the price of the graphical comforts of gtk emacs. I can also activate > iso-transl and have emacs handle the composition of characters from > dead keys by its own internal mechanism, independent of X11, but then > I get a subtly different keyboard layout in emacs relative to other > software on the system. iso-transl is at best a workaround. I just played with xmodmap to add a dead-acute key to my keyboard, and "it works here" with all versions of Emacs I threw at it. 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"? 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), and subsequent "e" should in that same part of the code be turned into an "=E9" (so the Elisp code never even gets to know that this =E9 was input as two separate key presses). Stefan From unknown Tue Jun 24 06:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7380: 23.2; Dead keys misinterpreted in gtk emacs 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: Tue, 16 Nov 2010 23:52: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: To: "Stefan Monnier" Cc: 7380@debbugs.gnu.org Received: via spool by 7380-submit@debbugs.gnu.org id=B7380.12899514932810 (code B ref 7380); Tue, 16 Nov 2010 23:52:02 +0000 Received: (at 7380) by debbugs.gnu.org; 16 Nov 2010 23:51:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PIVJE-0000jH-Ty for submit@debbugs.gnu.org; Tue, 16 Nov 2010 18:51:33 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PIVJC-0000jC-3b for 7380@debbugs.gnu.org; Tue, 16 Nov 2010 18:51:30 -0500 Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 6E89B2AE; Tue, 16 Nov 2010 18:56:30 -0500 (EST) Received: from web2.messagingengine.com ([10.202.2.212]) by compute2.internal (MEProxy); Tue, 16 Nov 2010 18:56:30 -0500 Received: by web2.messagingengine.com (Postfix, from userid 99) id 4D7B8B071B4; Tue, 16 Nov 2010 18:56:30 -0500 (EST) Message-Id: <1289951790.6461.1405669531@webmail.messagingengine.com> X-Sasl-Enc: wvAl53WsreNP5fc1oddTwQhprUFRpbnBcJAzPOMAEgyx 1289951790 From: "Ian D. Leroux" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: References: <87d3qbe9et.wl%idleroux@fastmail.fm> Date: Tue, 16 Nov 2010 18:56:30 -0500 X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.6 (---) On Tue, 16 Nov 2010 11:57 -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"? 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), and > subsequent "e" should in that same part of the code be turned into an > "=C3=A9" (so the Elisp code never even gets to know that this =C3=A9 was = input > as two separate key presses). Thanks for the pointers. I'll rebuild and poke around in gdb as you suggest later in the week and report back any interesting findings. Thanks for your assistance, Ian Leroux From unknown Tue Jun 24 06:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7380: 23.2; Dead keys misinterpreted in gtk emacs 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: To: Stefan Monnier Cc: 7380@debbugs.gnu.org Received: via spool by 7380-submit@debbugs.gnu.org id=B7380.129029921328514 (code B ref 7380); Sun, 21 Nov 2010 00:27:02 +0000 Received: (at 7380) by debbugs.gnu.org; 21 Nov 2010 00:26:53 +0000 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 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 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) 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 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) Date: Sat, 20 Nov 2010 19:31:58 -0500 Message-ID: <878w0ntt35.wl%idleroux@fastmail.fm> From: Ian D. Leroux In-Reply-To: References: <87d3qbe9et.wl%idleroux@fastmail.fm> 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) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -4.8 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.4 (----) 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 From unknown Tue Jun 24 06:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7380: Dead keys bug, additional info References: <87d3qbe9et.wl%idleroux@fastmail.fm> In-Reply-To: <87d3qbe9et.wl%idleroux@fastmail.fm> Resent-From: "Ian D. Leroux" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Nov 2011 21:04: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: To: 7380@debbugs.gnu.org Received: via spool by 7380-submit@debbugs.gnu.org id=B7380.132130460820961 (code B ref 7380); Mon, 14 Nov 2011 21:04:02 +0000 Received: (at 7380) by debbugs.gnu.org; 14 Nov 2011 21:03:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RQ3gd-0005S2-GC for submit@debbugs.gnu.org; Mon, 14 Nov 2011 16:03:27 -0500 Received: from out2.smtp.messagingengine.com ([66.111.4.26]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RQ3ga-0005Rt-26 for 7380@debbugs.gnu.org; Mon, 14 Nov 2011 16:03:25 -0500 Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 6DF2B208DA for <7380@debbugs.gnu.org>; Mon, 14 Nov 2011 16:02:47 -0500 (EST) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute5.internal (MEProxy); Mon, 14 Nov 2011 16:02:47 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=mesmtp; bh=iQTgzuKmX0UvNez4d8mEcV3 zYUo=; b=hFeJXqAr1I3IabF5gendMe9r+gUuqyEv7i05vf1A/G35BhTHPUixnlX GMZue0oYhwScCRugZnqm072h+SD8opMiDwcwaUGzby6WmzZFHorUXdQdBjNkw+wV zjQpC8vXZ9LDcjrfdhulGo6lveQ9+9X5Q98aANHSGG4dzEGtILB8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:subject:message-id :mime-version:content-type:content-transfer-encoding; s=smtpout; bh=iQTgzuKmX0UvNez4d8mEcV3zYUo=; b=ARabzfsOMK0PMLfcCqMJ1I0OnhwR NLPbq+95+cQBvDm9oCF+tIdPFytbT/wmoEO0Q4in22nGlCwYcrTUEtGYL/YQsTW4 rYz1H/yjm+vkeYDfBRprijuiU0BDaOu56XOOP83uAzphr0zOOvV/d5ZjA0pTSp+0 uClpw6gmr7X+fZ8= X-Sasl-enc: 6YeRk6MVO0QD0hNUGxQuxUdoY9a25jMAG62G1wUNIq7U 1321304567 Received: from scrameustache.dyndns.org (56344adf.rev.stofanet.dk [86.52.74.223]) by mail.messagingengine.com (Postfix) with ESMTPSA id E0C048E012A for <7380@debbugs.gnu.org>; Mon, 14 Nov 2011 16:02:46 -0500 (EST) Date: Mon, 14 Nov 2011 22:02:25 +0100 From: "Ian D. Leroux" Message-Id: <20111114220225.95669bea.idleroux@fastmail.fm> X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.7; x86_64--netbsd) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.6 (---) This problem with dead keys in gtk emacs is still present in 23.3 It may be specific to UTF-8 locales; in an environment with LANG=en_US.ISO8859-1 the dead keys work normally, while with LANG=en_US.UTF-8 they misbehave as above, erroring out with "not defined" rather than waiting for the following keystroke to complete the sequence. I suspect that this is why Stefan Monnier could not reproduce the bug when he tried to assist me. Hopefully this additional information will allow a developer to reproduce the bug and/or guide me to produce more useful information to track it down. -- Ian D. Leroux From unknown Tue Jun 24 06:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7380: 23.2; Dead keys misinterpreted in gtk emacs Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Nov 2011 18:05: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: To: Ian D. Leroux Cc: 7380@debbugs.gnu.org Received: via spool by 7380-submit@debbugs.gnu.org id=B7380.13216394706185 (code B ref 7380); Fri, 18 Nov 2011 18:05:02 +0000 Received: (at 7380) by debbugs.gnu.org; 18 Nov 2011 18:04:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RRSnd-0001bh-0D for submit@debbugs.gnu.org; Fri, 18 Nov 2011 13:04:29 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RRSna-0001bZ-1w for 7380@debbugs.gnu.org; Fri, 18 Nov 2011 13:04:27 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAB6dxk5FpZVk/2dsb2JhbABDqjGBBoFyAQEEAVYjBQsLNBIUGA0kiBa2f4oXBIgXmXeESg X-IronPort-AV: E=Sophos;i="4.69,534,1315195200"; d="scan'208";a="148504800" Received: from 69-165-149-100.dsl.teksavvy.com (HELO pastel.home) ([69.165.149.100]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 18 Nov 2011 13:03:26 -0500 Received: by pastel.home (Postfix, from userid 20848) id A017C5936A; Fri, 18 Nov 2011 13:03:26 -0500 (EST) From: Stefan Monnier Message-ID: References: <87d3qbe9et.wl%idleroux@fastmail.fm> <878w0ntt35.wl%idleroux@fastmail.fm> Date: Fri, 18 Nov 2011 13:03:26 -0500 In-Reply-To: <878w0ntt35.wl%idleroux@fastmail.fm> (Ian D. Leroux's message of "Sat, 20 Nov 2010 19:31:58 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) >> 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. Hmm... that's clearly the source of the problem (XLookupString can only handle latin-1 locales, IIRC). > Where is FRAME_XIC (f) supposed to be set? In the x_window function, in src/xfns.c (there are 3 versions of this function :-( depending on whether or not we're using Gtk or some other toolkit or no toolkit at all). Could it be that use_xim is 0, somehow? Stefan "still works for me, even with en_US.UTF-8" From unknown Tue Jun 24 06:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7380: 23.2; Dead keys misinterpreted in gtk emacs Resent-From: "Ian D. Leroux" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Nov 2011 10:15: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: To: "Stefan Monnier" Cc: 7380@debbugs.gnu.org Received: via spool by 7380-submit@debbugs.gnu.org id=B7380.132204327128403 (code B ref 7380); Wed, 23 Nov 2011 10:15:02 +0000 Received: (at 7380) by debbugs.gnu.org; 23 Nov 2011 10:14:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RT9qZ-0007O3-8i for submit@debbugs.gnu.org; Wed, 23 Nov 2011 05:14:31 -0500 Received: from out2.smtp.messagingengine.com ([66.111.4.26]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RT9qW-0007Nw-MO for 7380@debbugs.gnu.org; Wed, 23 Nov 2011 05:14:30 -0500 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id B0130206BA for <7380@debbugs.gnu.org>; Wed, 23 Nov 2011 05:13:03 -0500 (EST) Received: from web4.nyi.mail.srv.osa ([10.202.2.214]) by compute3.internal (MEProxy); Wed, 23 Nov 2011 05:13:03 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= message-id:from:to:cc:mime-version:content-transfer-encoding :content-type:references:subject:in-reply-to:date; s=mesmtp; bh= TbGy2zuL0zd2pPuqfwiHf3MIi9A=; b=qGYzEy2qJPvWbrsnXl0QTLbWYXMFr2b6 uiJBE5GqCvp4oUm+fD7sLvn7qMAaus9SlFOHfIWVLm1XFuY/ZTx0EpS1o6TqJR1N +lh7xCVeSsKuiiJhsTGvhMlnVlS2PtFqZr/d+iXVdH1P2hOm9C7p7iAyKpgrF3UK FhNOgMNmGjU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:cc:mime-version :content-transfer-encoding:content-type:references:subject :in-reply-to:date; s=smtpout; bh=TbGy2zuL0zd2pPuqfwiHf3MIi9A=; b= JU+zFDqpnBcjN4y0ydD2iwHASErrbi8t+hwrwgqEJ9D84jUhOEogeUTnXA7mOh47 NSDBpaebbdKFIFQed/mK350Nmx0rjNEhocrX1G0o9TXcz7gN1Qr2AlRrw/g3pr0I E5rjnFJHE8m1dTKmkKp4JFy43fuT4UjuXfqrlu6Pikc= Received: by web4.nyi.mail.srv.osa (Postfix, from userid 99) id 8A72F3C1E79; Wed, 23 Nov 2011 05:13:03 -0500 (EST) Message-Id: <1322043183.24352.140661002604425@webmail.messagingengine.com> X-Sasl-Enc: eOxj/LeO670AXR9EEtdjV/EJh4DMcxDbEmRhX+EZ32QA 1322043183 From: "Ian D. Leroux" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Mailer: MessagingEngine.com Webmail Interface References: <87d3qbe9et.wl%idleroux@fastmail.fm><878w0ntt35.wl%idleroux@fastmail.fm> In-Reply-To: Date: Wed, 23 Nov 2011 11:13:03 +0100 X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.6 (---) On Friday, November 18, 2011 1:03 PM, "Stefan Monnier" wrote: > > Where is FRAME_XIC (f) supposed to be set? > > In the x_window function, in src/xfns.c (there are 3 versions of this > function :-( depending on whether or not we're using Gtk or some other > toolkit or no toolkit at all). > > Could it be that use_xim is 0, somehow? use_xim is 1, but FRAME_X_XIM (f) is NULL when create_frame_xic is called. As a result, the "if(xim)" test at line 2315 in xfns.c fails, xic does not get allocated, and FRAME_XIC(f) remains NULL at the end of the function. Grepping for FRAME_X_XIM doesn't show me where it is supposed to be set, so I assume the relevant struct member gets assigned directly somewhere. Where should that be happening? xim_open_dpy never gets called. xim_initialize does; dpyinfo->xim is NULL both at the beginning and at the end of the function. Any suggestions on where to look next? Thanks for your time, -- IDL From unknown Tue Jun 24 06:57:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7380: 23.2; Dead keys misinterpreted in gtk emacs Resent-From: "Ian D. Leroux" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 May 2012 16:39: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: To: Stefan Monnier Cc: 7380@debbugs.gnu.org Received: via spool by 7380-submit@debbugs.gnu.org id=B7380.13369271301828 (code B ref 7380); Sun, 13 May 2012 16:39:02 +0000 Received: (at 7380) by debbugs.gnu.org; 13 May 2012 16:38:50 +0000 Received: from localhost ([127.0.0.1]:51669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1STbom-0000TQ-QP for submit@debbugs.gnu.org; Sun, 13 May 2012 12:38:49 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:38398) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1STboQ-0000Sw-D0 for 7380@debbugs.gnu.org; Sun, 13 May 2012 12:38:45 -0400 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 9D36A21185; Sun, 13 May 2012 12:38:07 -0400 (EDT) Received: from web4.nyi.mail.srv.osa ([10.202.2.214]) by compute4.internal (MEProxy); Sun, 13 May 2012 12:38:07 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= message-id:from:to:cc:mime-version:content-transfer-encoding :content-type:in-reply-to:references:subject:date; s=mesmtp; bh= 7WMC49A+Stxbysuwyiso3hrQ7k0=; b=NXL7W4qdFpvVrh23aScJqJsc9o4Ua0ND JPXBrYlFatYUsjGhRjnA81U0EPpAOJ/S3gA0NLEJnHF7ddZr00XD0v/hdfDp0sFf Bsw0WmTHqsgiveP/luJCDFCZbyX1GIbdP5XSiGGN2sDC30pT+mYUHz2zP1x28dKm LDpkn5ZdlYo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:cc:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=7WMC49A+Stxbysuwyiso3hrQ7k0=; b=bzb Rds5mBCzSDZU6yhsJeeFmrz7DP3BY1EHJReaztVZb7O9mRum2xyR+EvTabgM8mc/ SKAeDZDNHb0/D5Kc1GplLWMz+fGiFrHcX2SEkFcUN1eyKAkgvHUoiPONzbKLffud YYJoC/3QgxlbDyi+IeKS0lONPK1ciD0Qsb9RlfeM= Received: by web4.nyi.mail.srv.osa (Postfix, from userid 99) id 9C9E83C20B9; Sun, 13 May 2012 12:38:05 -0400 (EDT) Message-Id: <1336927085.18509.140661074920597.650DEE80@webmail.messagingengine.com> X-Sasl-Enc: pRjYXx1L1fAYprWFOPOgmGwY3phd1D5bryBH5qps2lO6 1336927085 From: "Ian D. Leroux" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <1322043183.24352.140661002604425@webmail.messagingengine.com> References: <87d3qbe9et.wl%idleroux@fastmail.fm><878w0ntt35.wl%idleroux@fastmail.fm> <1322043183.24352.140661002604425@webmail.messagingengine.com> Date: Sun, 13 May 2012 18:38:05 +0200 X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Wed, Nov 23, 2011, at 11:13, Ian D. Leroux wrote: > On Friday, November 18, 2011 1:03 PM, "Stefan Monnier" > wrote: > > > Where is FRAME_XIC (f) supposed to be set? > > > > In the x_window function, in src/xfns.c (there are 3 versions of > > this function :-( depending on whether or not we're using Gtk or > > some other toolkit or no toolkit at all). > > > > Could it be that use_xim is 0, somehow? > > use_xim is 1, but FRAME_X_XIM (f) is NULL when create_frame_xic is > called. As a result, the "if(xim)" test at line 2315 in xfns.c fails, > xic does not get allocated, and FRAME_XIC(f) remains NULL at the end > of the function. The problem has now been identified: due to a configuration error in the en_US.UTF-8 locale settings in NetBSD's default xorg installation, libX11 was not loading the new callback based XIM apis. Most software was falling back to the older open/close api, and thus continuing to support dead keys, while emacs gave up on XIM entirely and fell back to XLookupString. As far as I'm concerned, this bug can now be closed. -- IDL From unknown Tue Jun 24 06:57:58 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ian D. Leroux Subject: bug#7380: closed (Re: bug#7380: 23.2; Dead keys misinterpreted in gtk emacs) Message-ID: References: <46ipfyr7wn.fsf@fencepost.gnu.org> <87d3qbe9et.wl%idleroux@fastmail.fm> X-Gnu-PR-Message: they-closed 7380 X-Gnu-PR-Package: emacs Reply-To: 7380@debbugs.gnu.org Date: Mon, 14 May 2012 17:27:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1337016422-17073-1" This is a multi-part message in MIME format... ------------=_1337016422-17073-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7380: 23.2; Dead keys misinterpreted in gtk emacs which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7380@debbugs.gnu.org. --=20 7380: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7380 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1337016422-17073-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7380-done) by debbugs.gnu.org; 14 May 2012 17:26:42 +0000 Received: from localhost ([127.0.0.1]:53057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1STz2g-0004Qo-5c for submit@debbugs.gnu.org; Mon, 14 May 2012 13:26:42 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:32956 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1STz2e-0004Qi-Hy for 7380-done@debbugs.gnu.org; Mon, 14 May 2012 13:26:41 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1STz2G-0000RX-WD; Mon, 14 May 2012 13:26:17 -0400 From: Glenn Morris To: 7380-done@debbugs.gnu.org Subject: Re: bug#7380: 23.2; Dead keys misinterpreted in gtk emacs References: <87d3qbe9et.wl%idleroux@fastmail.fm> <878w0ntt35.wl%idleroux@fastmail.fm> <1322043183.24352.140661002604425@webmail.messagingengine.com> <1336927085.18509.140661074920597.650DEE80@webmail.messagingengine.com> X-Spook: csystems Fortezza SDI bce AFSPC sweep MILSATCOM Verisign X-Ran: $@*{p/U`,qrg7QwS'8,X?\`e'}QX-3d"YzNa=b[i![M:>_3myQ>6RWAp*ra2Y"RYYt@Q$" X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 14 May 2012 13:26:16 -0400 In-Reply-To: <1336927085.18509.140661074920597.650DEE80@webmail.messagingengine.com> (Ian D. Leroux's message of "Sun, 13 May 2012 18:38:05 +0200") Message-ID: <46ipfyr7wn.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 7380-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) "Ian D. Leroux" wrote: > The problem has now been identified: due to a configuration error in the > en_US.UTF-8 locale settings in NetBSD's default xorg installation, > libX11 was not loading the new callback based XIM apis. Most software > was falling back to the older open/close api, and thus continuing to > support dead keys, while emacs gave up on XIM entirely and fell back to > XLookupString. As far as I'm concerned, this bug can now be closed. Thanks for letting us know. ------------=_1337016422-17073-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Nov 2010 23:21:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGgSd-0006wX-7B for submit@debbugs.gnu.org; Thu, 11 Nov 2010 18:21:43 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PGgLz-0006tF-Ne for submit@debbugs.gnu.org; Thu, 11 Nov 2010 18:14:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGgQb-0005wT-V4 for submit@debbugs.gnu.org; Thu, 11 Nov 2010 18:19:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:55346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGgQb-0005wP-Ox for submit@debbugs.gnu.org; Thu, 11 Nov 2010 18:19:37 -0500 Received: from [140.186.70.92] (port=47811 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGgQa-0006tQ-1C for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2010 18:19:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGgQY-0005ul-EH for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2010 18:19:35 -0500 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:50506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGgQY-0005uc-Bh for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2010 18:19:34 -0500 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id B5094968 for ; Thu, 11 Nov 2010 18:19:32 -0500 (EST) Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute3.internal (MEProxy); Thu, 11 Nov 2010 18:19:32 -0500 X-Sasl-enc: UxvqwIBhoylY1y2IrX39bZNcPprWd/eNnzI4rd/0M8TK 1289517562 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 DF2715E0877 for ; Thu, 11 Nov 2010 18:19:15 -0500 (EST) Date: Thu, 11 Nov 2010 18:18:50 -0500 Message-ID: <87d3qbe9et.wl%idleroux@fastmail.fm> From: Ian D. Leroux To: bug-gnu-emacs@gnu.org Subject: 23.2; Dead keys misinterpreted in gtk emacs User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.2 (x86_64--netbsd) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 11 Nov 2010 18:21:42 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Under X11 with the us_intl keyboard, dead keys are not correctly combined with the following characters. For instance e, which ought to give é, instead produces the message " is undefined" followed by an undecorated e. The problem is specific to emacs: all other applications in the same X11 session (Firefox, xterm, urxvt, miscellaneous gtk apps like exfalso) accept accented input typed with dead keys without special customization. This is a plain-vanilla install of emacs under pkgsrc. The auto-collected data reported below were generated by M-x report-emacs-bug from an emacs -Q instance displaying this behaviour. Workarounds: I can run emacs in a terminal, allowing xterm or urxvt to handle keyboard input. This gives me consistent keyboard behaviour at the price of the graphical comforts of gtk emacs. I can also activate iso-transl and have emacs handle the composition of characters from dead keys by its own internal mechanism, independent of X11, but then I get a subtly different keyboard layout in emacs relative to other software on the system. Thank you for any insights and assistance you may be able to supply, Ian Leroux In GNU Emacs 23.2.1 (x86_64--netbsd, GTK+ Version 2.20.1) of 2010-11-09 on spip.homeunix.net Windowing system distributor `The Xorg Foundation', version 11.0.10603000 configured using `configure '--srcdir=3D/pkg_comp/obj/pkgsrc/editors/emacs= /default/emacs-23.2' '--localstatedir=3D/var' '--x-includes=3D/usr/X11R7/in= clude' '--x-libraries=3D/usr/X11R7/lib' '--with-x' '--with-xpm' '--with-jpe= g' '--with-tiff' '--with-gif' '--with-png' '--with-x-toolkit=3Dgtk' '--with= out-libiconv-prefix' '--without-libintl-prefix' '--prefix=3D/usr/pkg' '--bu= ild=3Dx86_64--netbsd' '--host=3Dx86_64--netbsd' '--infodir=3D/usr/pkg/info'= '--mandir=3D/usr/pkg/man' 'build_alias=3Dx86_64--netbsd' 'host_alias=3Dx86= _64--netbsd' 'CC=3Dcc' 'CFLAGS=3D-O2 -mfpmath=3Dsse -msse3 -march=3Dathlon6= 4 -pipe -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7= /include/freetype2' 'LDFLAGS=3D-L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl= ,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib' 'LIBS=3D' 'CPPFLAGS= =3D-I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/incl= ude/freetype2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: C value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: e M-x r e p o r t - e m a c s - b u g=20 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /usr/pkg/share/emacs/site-lisp/flim/sha1 hides /usr/pkg/share/emacs/23.2/li= sp/sha1 /usr/pkg/share/emacs/site-lisp/semi/pgg hides /usr/pkg/share/emacs/23.2/lis= p/pgg /usr/pkg/share/emacs/site-lisp/semi/pgg-pgp5 hides /usr/pkg/share/emacs/23.= 2/lisp/pgg-pgp5 /usr/pkg/share/emacs/site-lisp/semi/pgg-pgp hides /usr/pkg/share/emacs/23.2= /lisp/pgg-pgp /usr/pkg/share/emacs/site-lisp/semi/pgg-parse hides /usr/pkg/share/emacs/23= .2/lisp/pgg-parse /usr/pkg/share/emacs/site-lisp/semi/pgg-gpg hides /usr/pkg/share/emacs/23.2= /lisp/pgg-gpg /usr/pkg/share/emacs/site-lisp/semi/pgg-def hides /usr/pkg/share/emacs/23.2= /lisp/pgg-def /usr/pkg/share/emacs/site-lisp/flim/hex-util hides /usr/pkg/share/emacs/23.= 2/lisp/hex-util /usr/pkg/share/emacs/site-lisp/flim/sasl hides /usr/pkg/share/emacs/23.2/li= sp/net/sasl /usr/pkg/share/emacs/site-lisp/flim/sasl-digest hides /usr/pkg/share/emacs/= 23.2/lisp/net/sasl-digest /usr/pkg/share/emacs/site-lisp/flim/sasl-cram hides /usr/pkg/share/emacs/23= .2/lisp/net/sasl-cram /usr/pkg/share/emacs/site-lisp/flim/hmac-md5 hides /usr/pkg/share/emacs/23.= 2/lisp/net/hmac-md5 /usr/pkg/share/emacs/site-lisp/flim/hmac-def hides /usr/pkg/share/emacs/23.= 2/lisp/net/hmac-def /usr/pkg/share/emacs/site-lisp/wl/rfc2368 hides /usr/pkg/share/emacs/23.2/l= isp/mail/rfc2368 /usr/pkg/share/emacs/site-lisp/wl/utf7 hides /usr/pkg/share/emacs/23.2/lisp= /gnus/utf7 /usr/pkg/share/emacs/site-lisp/semi/smime hides /usr/pkg/share/emacs/23.2/l= isp/gnus/smime Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 sha1-el hex-util hashcash mail-utils emacsbug tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind font-render-setting gtk x-toolkit x multi-tty emacs) ------------=_1337016422-17073-1--