>>>>> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:

Bo> The problem is also that you may miss the correctly associated
Bo> viewer (like acrobat reader, which does not change $PATH), because
Bo> of an indecent viewer.

Let me repeat again: if there is a correctly associated viewer, any
autodetected indecent viewer will be ignored. fixCommand starts like

        // configure.py says we do not want a viewer/editor
        if (cmd.empty())
                return cmd;

        // Does the OS manage this format?
        if (canAutoOpenFile(ext, mode))
                return "auto";

it is only later than we look whether the cmd is "none" or something
else.

JMarc

Reply via email to