On 11/02/2010 02:31 AM, Stephan Witt wrote:

After my last commit in readFile() it's "only" the issue with file_found_hook 
being called with the wrong file name in case of autosave and emergency.
I'd like to fix it before (2) or maybe Vincent does it... For users of VCS I'd 
rate it as a serious problem - but not critical.

Are you sure that's still an issue? We have e.g.:

Buffer::ReadStatus Buffer::loadAutosave(FileName const & fn)
{
    // Now check if autosave file is newer.
    FileName const autosaveFile = getAutosaveFileNameFor(fn);
....
        if (ret_llf == ReadSuccess) {
            markDirty();
            lyxvc().file_found_hook(fn);
            return ReadSuccess;
        }
...
}

And fn here is the file we're trying to load. That's why we calculate the autosave name. The same structure is in the emergency one.

rh

Reply via email to