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#10299: Emacs doesn't handle Unicode characters in keyboard layout on MS Windows Date: Fri, 16 Dec 2011 10:13:18 +0200 Message-ID: <83vcph0w9t.fsf@gnu.org> References: <8739clgapc.fsf@gnu.org> <83zket20xw.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1324023228 15925 80.91.229.12 (16 Dec 2011 08:13:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2011 08:13:48 +0000 (UTC) Cc: 10299@debbugs.gnu.org To: Joakim =?UTF-8?Q?H=C3=A5rsman?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 16 09:13:44 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RbSvH-0006D4-H3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Dec 2011 09:13:43 +0100 Original-Received: from localhost ([::1]:50771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbSvG-0005Tj-Sp for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Dec 2011 03:13:42 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbSv9-0005TP-21 for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 03:13:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbSv3-0005jD-84 for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 03:13:35 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbSv3-0005h3-6N for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 03:13:29 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RbSwY-00012k-DY for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 03:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Dec 2011 08:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10299 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10299-submit@debbugs.gnu.org id=B10299.13240232973985 (code B ref 10299); Fri, 16 Dec 2011 08:15:02 +0000 Original-Received: (at 10299) by debbugs.gnu.org; 16 Dec 2011 08:14:57 +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 1RbSwS-00012E-TO for submit@debbugs.gnu.org; Fri, 16 Dec 2011 03:14:57 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbSwP-000123-A0 for 10299@debbugs.gnu.org; Fri, 16 Dec 2011 03:14:55 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LWA00L00EOIQB00@a-mtaout23.012.net.il> for 10299@debbugs.gnu.org; Fri, 16 Dec 2011 10:13:17 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.54.125]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LWA00LIVEU2GD90@a-mtaout23.012.net.il>; Fri, 16 Dec 2011 10:13:15 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 16 Dec 2011 03:15:02 -0500 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:55004 Archived-At: > Date: Thu, 15 Dec 2011 22:47:17 +0100 > From: Joakim H=E5rsman > Cc: Jason Rumney , 10299@debbugs.gnu.org, handa@m17= n.org >=20 > > gcc -I. -c -gdwarf-2 -g3 =A0-mtune=3Dpentium4 -O2 =A0 =A0 =A0-Dem= acs=3D1 -DHAVE_CONFIG_H -I. > > ./lib -I../nt/inc -DHAVE_NTGUI=3D1 -DUSE_CRT_DLL=3D1 -DPURESIZE= =3D5000000 -DPURESIZE=3D5 > > 000000 -o oo-spd/i386/make-docfile.o make-docfile.c > > make-docfile.c:36:20: config.h: No such file or directory > > make-docfile.c:79: error: syntax error before "NO_RETURN" > > make-docfile.c:79: warning: data definition has no type or storag= e class > > make[8]: *** [oo-spd/i386/make-docfile.o] Error 1 > > make[8]: Leaving directory `D:/Dev_projects/emacs/trunk/lib-src' > > make[7]: *** [bootstrap-gmake] Error 2 > > make[7]: Leaving directory `D:/Dev_projects/emacs/trunk/nt' > > > > I'm not really sure what to make of this, config.h is in trunk/sr= c, > > but gcc doesn't seem to be looking there from what I can see. Are > > there more detailed build instructions available or is nt/INSTALL= all > > there is? > > > > All I'm doing is cd:ing into the nt directory, running configure = and > > then make bootstrap. >=20 > Never mind, I got the build to work. >=20 > It turns out I only got the above error the second time I ran "make > bootstrap", presumably because some environment variable lingers fr= om > the first invocation and messes things up. That compilation failed because -I../src is missing from the command line: > gcc -I. -c -gdwarf-2 -g3 -mtune=3Dpentium4 -O2 -Demacs=3D1 -DHAVE_C= ONFIG_H -I../lib -I../nt/inc -DHAVE_NTGUI=3D1 -DUSE_CRT_DLL=3D1 -DPUR= ESIZE=3D5000000 -DPURESIZE=3D5000000 -o oo-spd/i386/make-docfile.o ma= ke-docfile.c I have no idea why that happened; lib-src/makefile definitely include= s "-I../src" through the LOCAL_FLAGS variable. Could it be that you somehow set LOCAL_FLAGS in the environment? In general, the compilation should never leave anything in the environment, so I don't think your explanation is quite right. Also, there's no need to "make bootstrap" twice; once you ran bootstrap once, the subsequent builds should be doe with just "make" in the nt/ subdirectory. > To get the build to work I had to use a fresh shell and explicitly = set > SHELL=3Dcmd.exe when invoking make Do you have a sh.exe somewhere on PATH? Or do you have SHELL in your environment set to something other than cmd.exe? Otherwise, there should be no need to set SHELL. Not that all this matters, now that you've succeeded to build. The only thing that does matter is that you've compiled with optimizations (which is the default), which will make it hard to examine the code under the debugger. So I suggest to reconfigure and rebuild without optimizations, like this: cd nt configure --no-opt --enable-checking make You will then have an unoptimized emacs.exe in src/oo/i386/emacs.exe. If you want it in bin/, say "make install" after the last "make". Th= e old optimized build will still be available in src/oo-spd/i386. Sorry, I should have mentioned this to begin with. And thanks for working on this.