From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Can't build latest emacs on MSW + CRLF display issue Date: Sun, 25 Aug 2013 18:02:51 +0300 Message-ID: <83ob8lhkys.fsf@gnu.org> References: <807gfadm22.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1377443012 17192 80.91.229.3 (25 Aug 2013 15:03:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Aug 2013 15:03:32 +0000 (UTC) Cc: karl@freefriends.org, emacs-devel@gnu.org To: Vincent =?iso-8859-1?Q?Bela=EFche?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 25 17:03:35 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VDbqn-00074v-G5 for ged-emacs-devel@m.gmane.org; Sun, 25 Aug 2013 17:03:33 +0200 Original-Received: from localhost ([::1]:46415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDbqm-00032B-Ra for ged-emacs-devel@m.gmane.org; Sun, 25 Aug 2013 11:03:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDbq5-00029b-EP for emacs-devel@gnu.org; Sun, 25 Aug 2013 11:02:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDbq0-0007fJ-Mi for emacs-devel@gnu.org; Sun, 25 Aug 2013 11:02:49 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:44503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDbq0-0007f3-Ex for emacs-devel@gnu.org; Sun, 25 Aug 2013 11:02:44 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MS300G00DRXTZ00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sun, 25 Aug 2013 18:02:42 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MS300GCODSIO240@a-mtaout22.012.net.il>; Sun, 25 Aug 2013 18:02:42 +0300 (IDT) In-reply-to: <807gfadm22.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163013 Archived-At: > From: Vincent Bela=EFche =20 > Date: Sun, 25 Aug 2013 13:52:53 +0200 > Cc: Karl Berry >=20 > I have been trying to build the latest emacs on MSWindowsXP + MinGW= and > I came across the following issues: >=20 > - during the build I get the following error message >=20 > In toplevel form: > url/url-proxy.el:24:1:Error: Symbol's function definition is void: = cl-member >=20 >=20 > - during the make-install I get the following error message >=20 > gcc -o oo-spd/i386/profile.exe -gdwarf-2 -g3 oo-spd/i386/profil= e.o ../lib/oo-spd/i386/libgnu.a oo-spd/i386/ntlib.o -ladvapi32 > mingw32-make.exe[1]: Leaving directory `C:/Programme/GNU/installati= on/emacs-install/emacs/trunk/lib-src' > mingw32-make.exe[1]: *** No rule to make target `../lisp/internatio= nal/mule.elc', needed by `DOC'. Stop. > mingw32-make.exe: *** [all-other-dirs-gmake] Error 2 This method of building Emacs on Windows is deprecated and slowly bitrots. See nt/INSTALL.MSYS for the supported method. Or, if, as I'm guessing, you don't really want to build Emacs, just t= o try a recent development snapshot, use one of the places where precompiled binaries are available (they were announced on this list not too long ago). > Anyway, the build has gone far enough so that I have an emacs.exe w= ith > the latest source, and it confirmed a problem which I had with my > previous build, the display of ^M at ends of lines seems buggy: >=20 > Here are two pictures: >=20 > http://savannah.gnu.org/bugs/download.php?file_id=3D28919 > http://savannah.gnu.org/bugs/download.php?file_id=3D28920 >=20 > Both pictures concern visiting info files, but the first one (cr.in= fo) > has the ^M hidden, and the second one (bbdb.info) has the ^M shown. The first one, cr.info, doesn't have ^M characters at all, as evidenced by the "/" mnemonics at the left corner of the mode line. > My feeling is that there is some inconsistency, but maybe I > misunderstood the criterion that triggers ^M hiding. If Emacs shows the ^M characters, it means that either (a) the EOL is inconsistent, or (b) Emacs decided that the file is binary. In your case, the "=3D" at the left of the mode line suggests the latter possibility. Without looking at the file in its entirety, I cannot tell why that could be the case. > Both info files have consistent CRLF endings which I checked with t= he > attached eol_status.cpp tool. The best way of checking is to visit the file with "M-x find-file-literally", then looking for lines that end in ^J without a ^M. > I must say also that I met a problem on bbdb.info which then I coul= d > never reproduce: at some point of time it was displayed w/o the ^M = at > for almost the whole file except in the last few tens lines where t= he ^M > endings were displayed. I suspect that you are producing these Info files in some strange way. Perhaps you mix MSYS and MinGW programs, such as install-info and Perl, or something else. Mixing MSYS and native programs is know= n to produce strange effects wrt EOL format. Anyway, given the long thread on bug-texinfo about related issues, what exactly is the purpose of this discussion? If you think there's a bug in Emacs's Info reader, then please provide the shortest Info file that can be used to reproduce the problem, starting with "emacs = -Q". If your goal is something else, please state what that is. Thanks.