On Mon, Apr 24, 2006 at 08:41:14AM -0500, Bo Peng wrote:

> >   2) iterate over the viewer/editor list and overwrite all those for
> >      which canOpenFile (see other message) returns true the command
> >      with "auto"
> 
> I still do not understand why you insist on a 'canOpenFile' approach.
> Let *windows* do this! it is none of Lyx' business. If a user wants to
> view a file, fine, let he/she view it. Windows will use the
> appropriate viewer, or let the user choose/install another viewer.

Indeed. In case, the user is informed that no default viewer exists
for that file format and he can setup one in Windows. No more problems
with paths with spaces and so on... Or, if he insists, he can setup
an overriding viewer in LyX preferences.

-- 
Enrico

Reply via email to