Ar an triú lá de mí Aibréan, scríobh Anders J. Munch:
>From Aidan Kehoe [mailto:kehoea@parhasard.net]
>
> 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.
Ah, okay, just saw that in the Recent Messages:
Process error: Running ShellExecute, "Den angivne fil blev ikke fundet.",
"open", "http://xemacs.org/"
That’s “The specified file could not be found”, right?
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.
Odd.
I see weirdness with ShellExecute and Firefox on a fairly regular basis,
personally; I have a VMWare where Start -> Run
http://www.google.com/ -> OK
opens the window, concurrently giving me an error message.
Can you try some of the integer values for SHOWFLAG in
#'mswindows-shell-execute, to see if they make a difference?
Does (mswindows-shell-execute "open" "www.xemacs.org") behave
differently?
It doesn’t for me, but start
http://www.xemacs.org/ and start
www.xemacs.org
from the command line do, so it might be worth tring. The usage string for
START mentions ASSOC and FTYPE, but they don’t seem to have anything to do
with URLs.
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta