From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: w32-shell-execute and Cygwin
Date: Tue, 21 Apr 2020 05:24:33 +0300 [thread overview]
Message-ID: <83sggxfue6.fsf@gnu.org> (raw)
In-Reply-To: <86o8rmlyxv.fsf@duenenhof-wilhelm.de> (dieter@duenenhof-wilhelm.de)
> From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm)
> Cc: help-gnu-emacs@gnu.org
> Date: Mon, 20 Apr 2020 21:49:48 +0200
>
> But now there is the problem that w32-shell-execute seemingly doesn't
> recognise cygwin paths. (here: "/cygwin/c/...")
>
> error "ShellExecute failed: The system cannot find the file..."
>
> It seems to me as if w32-shell-execute is not literate for cygwin paths
> and one needs to normalise them to the Windows standard ("c:/...")?
Yes. There's a function for that already in Emacs:
cygwin-convert-file-name-to-windows.
next prev parent reply other threads:[~2020-04-21 2:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-20 9:59 w32-shell-execute and Cygwin H. Dieter Wilhelm
2020-04-20 15:12 ` Jakub Jankiewicz
2020-04-20 19:09 ` H. Dieter Wilhelm
2020-04-21 8:27 ` Jakub Jankiewicz
2020-04-20 15:28 ` Eli Zaretskii
2020-04-20 19:49 ` H. Dieter Wilhelm
2020-04-21 2:24 ` Eli Zaretskii [this message]
2020-04-21 8:53 ` H. Dieter Wilhelm
2020-04-21 14:20 ` Eli Zaretskii
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=83sggxfue6.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/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).