From: Harald Joerg <haj@oook.m.uunet.de>
Subject: Re: specifying Windows filenames
Date: Wed, 25 Jun 2003 09:55:59 +0200 [thread overview]
Message-ID: <kvu1aesi9c.fsf@mcp0147c.mch.fsc.net> (raw)
In-Reply-To: uhe6fmojg.fsf@jasonrumney.net
jasonr (Jason Rumney) @ f2s.com writes:
> Harald Joerg <haj@oook.m.uunet.de> writes:
>
>> Sorry, I really should have checked this before. I've been fooled by
>> the fact that cygwin _Emacs_ does not accept Windows notation.
>
> Really? The cygwin port is now merged into Emacs CVS, so
> M-x report-emacs-bug
>
I hesitate to report such things as "bugs", nevertheless, even if
every software which can be vanilla-installed from a cygwin mirror is
obligated to accept DOS paths (Is it? That's OT here, of course).
Here and then I install stuff from elsewhere and I have been
accustomed to "`cygpath -u`" DOS paths if I find them. I've learnt
now that I have been too careful for most cygwin stuff, but I think it
is sensible to be defensive as a general approach.
Just recently I have moved from NTEmacs to cygwin Emacs because I have
been unable to resolve the path misunderstandings (e.g. regarding
tempfiles) between NTEmacs and either Mailcrypt or bogofilter (the
latter two built on cygwin). Hmm... maybe I should have asked
here...?
> [...]
> I would expect the Cygwin version to have the following behaviour:
>
> (expand-file-name "c:/test") -> "/cygdrive/c/test"
> (expand-file-name "c:\\test") -> "/cygdrive/c/test"
>
>
> Does it do something different?
I should have reported my Emacs version:
GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit) of 2003-01-23 on DRACO,
running on Win2000.
(expand-file-name "c:/test") -> "/usr/haj/c:/test"
(expand-file-name "c:\\test") -> "/usr/haj/c:\\test"
(my cwd happens to be /usr/haj). Maybe CVS Emacs is different.
--
Cheers,
haj
next prev parent reply other threads:[~2003-06-25 7:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-23 14:57 specifying Windows filenames Gustaf Erikson
2003-06-23 16:18 ` Eli Zaretskii
[not found] ` <mailman.8475.1056385357.21513.help-gnu-emacs@gnu.org>
2003-06-23 19:50 ` Jason Rumney
2003-06-24 7:07 ` Harald Joerg
2003-06-24 7:11 ` Jason Rumney
2003-06-24 7:47 ` Harald Joerg
2003-06-24 14:52 ` Eli Zaretskii
2003-06-24 16:24 ` Jason Rumney
2003-06-25 7:55 ` Harald Joerg [this message]
2003-06-24 8:03 ` [solved] " Gustaf Erikson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=kvu1aesi9c.fsf@mcp0147c.mch.fsc.net \
--to=haj@oook.m.uunet.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).