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: Building Emacs from a new MinGW environment Date: Thu, 19 Sep 2013 12:38:42 +0300 Message-ID: <8361txm9r1.fsf@gnu.org> References: <83sixwfdjk.fsf@gnu.org> <834n9nhhp6.fsf@gnu.org> <83ppsbfoe7.fsf@gnu.org> <83mwnffkom.fsf@gnu.org> <83k3ijfhk0.fsf@gnu.org> <83hadnf7gs.fsf@gnu.org> <83hadmqvql.fsf@gnu.org> <83txhkpszv.fsf@gnu.org> <83pps8pnc9.fsf@gnu.org> <83ob7splia.fsf@gnu.org> <83k3ifq5o5.fsf@gnu.org> <83d2o7q28r.fsf@gnu.org> <8338p3pded.fsf@gnu.org> <83r4cmo9m2.fsf@gnu.org> <83bo3pmc8b.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1379583702 7486 80.91.229.3 (19 Sep 2013 09:41:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Sep 2013 09:41:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dani Moncayo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 19 11:41:46 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 1VMak4-0006u6-T2 for ged-emacs-devel@m.gmane.org; Thu, 19 Sep 2013 11:41:45 +0200 Original-Received: from localhost ([::1]:50335 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMak4-00087A-4H for ged-emacs-devel@m.gmane.org; Thu, 19 Sep 2013 05:41:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMahc-0004GO-Qk for emacs-devel@gnu.org; Thu, 19 Sep 2013 05:39:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMahX-0003Zv-SQ for emacs-devel@gnu.org; Thu, 19 Sep 2013 05:39:12 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:61422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMahX-0003ZJ-Kc for emacs-devel@gnu.org; Thu, 19 Sep 2013 05:39:07 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MTD00900946PK00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Thu, 19 Sep 2013 12:38:40 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MTD0085G9GGULB0@a-mtaout22.012.net.il>; Thu, 19 Sep 2013 12:38:40 +0300 (IDT) In-reply-to: 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:163458 Archived-At: > Date: Thu, 19 Sep 2013 10:56:42 +0200 > From: Dani Moncayo > Cc: Emacs development discussions > > Just one comment: what about this: > > >> But the general principle is that, it is conceptually wrong to do > >> conversions of pathnames from MSYS format to native windows format > >> based on pattern substitution, assuming that the MSYS paths will > >> always be either in "/X/whatever" format or in "X:/whatever" format. > > > > If the change in configure.ac works, we will be able to remove almost > > all of that stuff in top-level Makefile. > > ? I'd appreciate if someone else could work on this. I'm trying to finish up my work on TTY menus, which is dragging for more than a year now. In a nutshell, srcdir is now guaranteed to be in /d/foo/bar format, and should be edited into d:/foo/bar when it is placed in src/epaths.h. The job is to remove anything from top-level Makefile.in that is required for file names in format other than /d/foo/bar, and still allow using %emacs_dir% in '--enable-locallisppath=PATH' option to configure. So I think msys_to_w32 should stay intact, but msys_lisppath_to_w32 could be simplified.