From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11732: 24.1; Microsoft IME Japanese input problem Date: Mon, 09 Mar 2015 18:30:07 +0200 Message-ID: <83lhj65e28.fsf@gnu.org> References: <87obohkxga.fsf@XAVIER-PC.i-did-not-set--mail-host-address--so-tickle-me> <83h9uj5jwv.fsf@gnu.org> <83k2ze4czy.fsf@gnu.org> <8361ay3z36.fsf@gnu.org> <83pp8lna2w.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1425918689 30870 80.91.229.3 (9 Mar 2015 16:31:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Mar 2015 16:31:29 +0000 (UTC) Cc: 11732@debbugs.gnu.org To: Fujii Hironori Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 09 17:31:19 2015 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 1YV0aJ-0007yh-MG for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Mar 2015 17:31:15 +0100 Original-Received: from localhost ([::1]:44224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV0aJ-0006eU-0N for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Mar 2015 12:31:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV0aF-0006cJ-M7 for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2015 12:31:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YV0a6-0004pw-E3 for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2015 12:31:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV0a6-0004pr-A2 for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2015 12:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YV0a5-0006Xg-Qm for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2015 12:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Mar 2015 16:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11732 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 11732-submit@debbugs.gnu.org id=B11732.142591862925098 (code B ref 11732); Mon, 09 Mar 2015 16:31:01 +0000 Original-Received: (at 11732) by debbugs.gnu.org; 9 Mar 2015 16:30:29 +0000 Original-Received: from localhost ([127.0.0.1]:40880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YV0ZZ-0006Wj-04 for submit@debbugs.gnu.org; Mon, 09 Mar 2015 12:30:29 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:53893) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YV0ZW-0006WW-6d for 11732@debbugs.gnu.org; Mon, 09 Mar 2015 12:30:27 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NKY00B00DQD7000@a-mtaout20.012.net.il> for 11732@debbugs.gnu.org; Mon, 09 Mar 2015 18:30:19 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKY00BXBDUJ6U00@a-mtaout20.012.net.il>; Mon, 09 Mar 2015 18:30:19 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:100328 Archived-At: > Date: Mon, 9 Mar 2015 11:13:43 +0900 > From: Fujii Hironori > Cc: 11732@debbugs.gnu.org > > On Sat, Mar 7, 2015 at 5:29 AM, Eli Zaretskii wrote: > > Unfortunately, it looks like that change has a devastating effect on > > dialog boxes. Try clicking File->Open File, and then click anywhere > > inside the file selection dialog that opens: the dialog will disappear > > from the display! > > I don't see such problem. I'm testing on Windows 7. > Could you tell me your Windows version. I originally saw this on 32-bit XP, but now tried on 64-bit Windows 7, and I see the same problem there. So I don't think the Windows version is a factor here. > This is my environment: > > In GNU Emacs 25.0.50.2 (x86_64-unknown-cygwin) > of 2015-03-09 on win7-pc > Repository revision: 6b134bcba9de5605086ee9382c0be13174480cac > Windowing system distributor `Microsoft Corp.', version 6.1.7601 > Configured using: > `configure --prefix=/cygdrive/c/home/fujii/opt/emacs --with-w32' You are using a 64-bit Cygwin-w32 build. I'm using a 32-bit MinGW build: In GNU Emacs 25.0.50.232 (i686-pc-mingw32) of 2015-03-07 on HOME-C4E4A596F7 Repository revision: 35e2b6ab4d28547ec079de18cf1cf65623e6909a Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --prefix=/d/usr --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB So either the way Cygwin implements reading of Windows messages from /dev/windows, or the 64- vs 32-bit difference, is somehow responsible for the differences in behavior. Yet another difference is that I compiled without optimizations, but I doubt if that could cause such an effect. > I applied a following patch to test: > > diff --git a/src/w32fns.c b/src/w32fns.c > index 6abb433..685d30c 100644 > --- a/src/w32fns.c > +++ b/src/w32fns.c > @@ -3330,7 +3330,7 @@ w32_wnd_proc (HWND hwnd, UINT msg, WPARAM > wParam, LPARAM lParam) > dialog boxes, such as the file selection dialog or font > selection dialog. So something else is needed to fix the > former without breaking the latter. See bug#11732. */ > - break; > + goto dflt; Me too.