Workaround for browse-url and friends on Windows

Pete Forman pete.forman at westerngeco.com
Tue Jan 8 04:03:40 EST 2008


[retry]

I've just updated from 21.5.17 to 21.5.28 on XP native using the
pre-built binary kit.  I found that clicking on links no longer opened
them in my external browser.  A simple illustration in *scratch* is:

(mswindows-shell-execute "open" "http://www.xemacs.org/")

21.5.17 successfully opens the page in my external browser.  21.5.28
gives the following error:

Process error: Running ShellExecute, "The system cannot find the file
specified.  ", "open", "http://www.xemacs.org/"

Ben Wing put his hand up for this in a message of 2005-10-20:

http://article.gmane.org/gmane.emacs.xemacs.beta/20772


So a workaround is to set mswindows-shortcuts-are-symlinks to nil.
Links now work.


Another example that needs the workaround is:

(mswindows-shell-execute "explore" "c:")

-- 
Pete Forman                -./\.-  Disclaimer: This post is originated
WesternGeco                  -./\.-   by myself and does not represent
pete.forman at westerngeco.com    -./\.-   the opinion of Schlumberger or
http://petef.port5.com           -./\.-   WesternGeco.



More information about the XEmacs-Beta mailing list