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: Sun, 13 May 2012 18:38:05 +0200 Message-ID: <1336927085.18509.140661074920597.650DEE80@webmail.messagingengine.com> References: <87d3qbe9et.wl%idleroux@fastmail.fm><878w0ntt35.wl%idleroux@fastmail.fm> <1322043183.24352.140661002604425@webmail.messagingengine.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1336927134 4639 80.91.229.3 (13 May 2012 16:38:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 May 2012 16:38:54 +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 May 13 18:38:53 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1STbop-0006mF-J0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 May 2012 18:38:51 +0200 Original-Received: from localhost ([::1]:46064 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STbop-0002Wg-0j for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 May 2012 12:38:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STbom-0002Wa-Fj for bug-gnu-emacs@gnu.org; Sun, 13 May 2012 12:38:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1STbok-0006we-Ie for bug-gnu-emacs@gnu.org; Sun, 13 May 2012 12:38:47 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STbok-0006wX-3r for bug-gnu-emacs@gnu.org; Sun, 13 May 2012 12:38:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1STbp0-0000Tq-M2 for bug-gnu-emacs@gnu.org; Sun, 13 May 2012 12:39:02 -0400 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 7380-submit@debbugs.gnu.org id=B7380.13369271301828 (code B ref 7380); Sun, 13 May 2012 16:39:02 +0000 Original-Received: (at 7380) by debbugs.gnu.org; 13 May 2012 16:38:50 +0000 Original-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 Original-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 Original-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) Original-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= Original-Received: by web4.nyi.mail.srv.osa (Postfix, from userid 99) id 9C9E83C20B9; Sun, 13 May 2012 12:38:05 -0400 (EDT) X-Sasl-Enc: pRjYXx1L1fAYprWFOPOgmGwY3phd1D5bryBH5qps2lO6 1336927085 X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <1322043183.24352.140661002604425@webmail.messagingengine.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59993 Archived-At: 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