[Bug: 21.5-b22] Backtrace with function `browse-url'

Stephen J. Turnbull stephen at xemacs.org
Tue Oct 18 22:33:04 EDT 2005


>>>>> "Franz" == Franz Haeuslschmid <lukrez at gmx.at> writes:

    Franz> Hm.  There is no program `open'.  I guess, it is supposed to work
    Franz> as follows on MS Windows: The action `open' is provided by the
    Franz> shell (Explorer ?).

Then you'll have to change either the specification in browse-url or
change your shell to one that provides "open".

Alternatively, it's probably trivial to implement "open" as a program
(I know that Mac OS X does, simply by passing the command-line
argument to the Finder).  If someone does, and it's not already part
of some well-known suite, I would certainly support adding it to
XEmacs's suite of external utilities.

    Franz> When called, the shell looks in the Windows
    Franz> registry for the program that can be used to open the specified
    Franz> resource.  Which program is started depends on the file type (or
    Franz> file extension) of the specified resource and this information is
    Franz> buried in the registry.  Therefore I think that the error
    Franz> message is misleading.

Sure, but it's not XEmacs's problem.  XEmacs currently doesn't do
message translation, so that message must have come from the shell.

Ie, XEmacs called a shell, and told it to execute the command "open".
The shell told it that no such program exists.  How is XEmacs supposed
to know that "open" is actually a builtin that only exists in certain shells?

-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.




More information about the XEmacs-Beta mailing list