Lennart Borgman <[EMAIL PROTECTED]> writes:

> In that example there are paths in MSYS format (ie unix
> format). However you can replace `pwd` with `pwd -W` and get those in
> w32 format. Then you get the problem I am thinking of. But thinking
> about it again this could perhaps be solved (worked around) by writing
> just a small exe that provides path info in Emacs style and compile
> this in configure.bat? Would that be possible?
>
>>emacs --eval '(do-something-with (pop command-line-args-left))' "$FILENAME"
>>  
>>
> The problem is the strings are inside the eval in my example.

Well, then move them out.  That's the whole point of the above
construct: getting a string _verbatim_ from the environment without
any interpretation of quotes or backslashes or similar.  The above has
not been written as

emacs --eval "(do-something-with \"$FILENAME\")"

for good reason.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to