emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Emacs from a new MinGW environment


From: Eli Zaretskii
Subject: Re: Building Emacs from a new MinGW environment
Date: Thu, 19 Sep 2013 13:11:51 +0300

> Date: Thu, 19 Sep 2013 12:04:06 +0200
> From: Dani Moncayo <address@hidden>
> Cc: Emacs development discussions <address@hidden>
> 
> > 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.
> 
> A more ambitious goal, IMO, would be to understand what is the problem
> with doing every conversion of MSYS paths to native w32 format with
> "pwd -W", so that the pattern-matching technique could be entirely
> replaced with that simpler and more elegant one.

That's a possibility, but note that "pwd -W" requires that you cd into
the directory first, which might be a problem in some rare cases.

Also msys_lisppath_to_w32 works on PATH-style directory lists, not on
single directories, and some of those directories might not exist, or
include %emacs_dir%, which will cause pwd to fail.

If these difficulties can be overcome, I have nothing against using
"pwd -W".



reply via email to

[Prev in Thread] Current Thread [Next in Thread]