Bernhard Roider <[EMAIL PROTECTED]> writes: >> Does the new libFileSearch have to build a vector<pair>>? We do not >> really care about "user_lyxdir" and such identifiers, IMO. > > This used is only for the message.
Good point, but I suspect an enum would be better, and could be used to put the messages in a better shape. >> insist on keeping this, a map<string, FileName> would make more sense. > > That was also my first thought when i implemented this method, but > with that approach we lose the order of the entries, which is > essential for the logic. Good point too. >> I am not sure the notion of build_dir is useful anymore, > > I don't know that either but i added it because it is used in the > other libFileSearch method too. Good idea. > I think we need some kind of information for the user what is > happening in this case, because if there is a problem because of one > template hides another one the user should be able to find a hint > about what's going on. I agree with that, but people who launch LyX from a GUI will not see anything, so it is no of much use as it is. JMarc