>>>>> "Asger" == Asger K Alstrup Nielsen <[EMAIL PROTECTED]> writes:

>> "Asger K. Alstrup Nielsen" <[EMAIL PROTECTED]> writes:
>> 
>> | What's wrong with offering to rename the directory?
>> 
>> That you suddenly might break all the other programs that used this
>> dir without your knowledge?

Asger> As long as it is the choice of the user, I don't see the
Asger> problem.

That's what a windows application would do. And then this will break
many other applications which work in the same directory.

Asger> To make the discussion more concrete, let me outline exactly
Asger> what I propose:

Asger> If the user has a document with a path with a space in it,
Asger> use-temp-dir is false, and LyX is about to invoke LaTeX on the
Asger> document, the following dialog appears:

Asger>   Ha! You fool! You are trying to typeset a document with a
Asger> space in the path to the document. If you did your homework,
Asger> you'd know that LaTeX is completely flawed and don't understand
Asger> such paths. Now, what are we gonna do?

You should now that people do not read popup windows anyway, so you
would basically do that behind their back. It seems reasonable to tell
people that they should rename the directory by themselves (people who
have spaces in dirnames are probably kde/gnome users; they did vreate
the directory, they know how to rename it).

Asger> But, personally, I think this problem is so rare in practice
Asger> that it would in fact be satisfactory if LyX just provided 1).
Asger> In fact, I would even be willing to just settle this by adding
Asger> a new FAQ and leaving the code alone.

Warning people is probably a good thing anyway. But I agree the FAQ
should address this problem.

JMarc

Reply via email to