From: Ken Brown <kbrown@cornell.edu>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Emacs <emacs-devel@gnu.org>, Jason Rumney <jasonr@gnu.org>
Subject: Re: browse-url/w32-shell-execute problems on cygwin
Date: Wed, 17 Jun 2009 21:29:59 -0400 [thread overview]
Message-ID: <4A399897.8050607@cornell.edu> (raw)
In-Reply-To: <87zlc67cxe.fsf@stupidchicken.com>
On 6/17/2009 5:44 PM, Chong Yidong wrote:
> Ken Brown <kbrown@cornell.edu> writes:
>
>> - (browse-url (browse-url-file-url file))
>> + (if (eq system-type 'cygwin)
>> + (shell-command (concat "cygstart " (shell-quote-argument file)))
>> + (browse-url (browse-url-file-url file)))
>>
>> Is there a better way to do this?
>
> The better way is probably to change browse-url-default-browser
I'm not sure I understand. I already have a good way of asking a
browser to load a URL via browse-url-default-windows-browser (as I
patched it). The issue here is that browse-url-file-url doesn't return
a suitable URL. Or am I misunderstanding you?
> (BTW, this is all post-23.1).
Yes, I wasn't expecting anything else.
Ken
next prev parent reply other threads:[~2009-06-18 1:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-17 15:47 browse-url/w32-shell-execute problems on cygwin Ken Brown
2009-06-17 16:06 ` Jason Rumney
2009-06-17 16:14 ` Ken Brown
2009-06-17 18:02 ` Ken Brown
2009-06-17 21:30 ` Ken Brown
2009-06-17 21:44 ` Chong Yidong
2009-06-18 1:29 ` Ken Brown [this message]
2009-06-17 22:23 ` David Robinow
2009-06-18 12:46 ` Ken Brown
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A399897.8050607@cornell.edu \
--to=kbrown@cornell.edu \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=jasonr@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.