On 6/17/2009 2:02 PM, Ken Brown wrote: > On 6/17/2009 12:06 PM, Jason Rumney wrote: >> Ken Brown wrote: >>> In browse-url.el, browse-url-browser-function is set to >>> browse-url-default-windows-browser on cygwin. >> That is wrong, feel free to change it to a better default. > > I don't agree. Since cygwin doesn't provide its own browser, the > natural default for a cygwin user is the default windows browser. What > I think is wrong (and easy to fix) is that > browse-url-default-windows-browser doesn't do the right thing on cygwin. To focus the discussion more, let me propose the attached patch. The second hunk fixes what I believe to be a bug in browse-url-default-windows-browser. The first hunk is uglier in the way it makes cygwin a special case. Is there a better way to do this? Ken