[Bug: 21.5-b28] browse-url fails to start default browser on
MSWin
Anders J. Munch
ajm at flonidan.dk
Thu Apr 3 10:56:43 EDT 2008
>From Aidan Kehoe [mailto:kehoea at parhasard.net]
> Ar an cúigiú lá is fiche de mí Márta, scríobh Anders J. Munch:
>
> > Dear Bug Team!
> >
> > browse-url fails to start the default windows browser in 21.5b28.
> >
> > M-x browse-url RET http://xemacs.org/ RET works as expected
> > in 21.4p19, launching an external browser, but not in 21.5b28.
> >
> > regards, Anders
>
> This works for me with -vanilla. What do you have configured
> as the default Windows browser?
Firefox.
>What happens when you evaluate
>
> (mswindows-shell-execute "open" "http://www.xemacs.org/")
>
> in *scratch* ?
Exactly the same error message. Using -vanilla.
For a point of reference, if I invoke Win32 ShellExecute some other
way, Firefox launches as expected:
Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import win32api
>>> win32api.ShellExecute(0, "open", "http://www.xemacs.org", None, None, 0)
42
>>>
Also, if I try to open a local file using
(mswindows-shell-execute "open" filename)
that works fine (just tried it with a few different file types). If I
name a file that doesn't exist, the error message that I get is
exactly the same as for the URL.
- Anders
More information about the XEmacs-Beta
mailing list