Am Mittwoch, 1. November 2006 17:50 schrieb Peter Kümmel:
> Maybe here:
>
> Index: buffer.C
> ===================================================================
> --- buffer.C (revision 15674)
> +++ buffer.C (working copy)
> @@ -373,7 +373,7 @@
>
> void Buffer::setFileName(string const & newfile)
> {
> - pimpl_->filename = makeAbsPath(newfile);
> + pimpl_->filename =
makeAbsPath(support::os::internal_path(newfile));
> params().filepath = onlyPath(pimpl_->filename);
> setReadonly(fs::is_readonly(pimpl_->filename));
> updateTitles();
>
> Or more up in the calling tree?
More up. Buffer::setFileName should already take an internal file name.
internal_path has to be called
- when retrieving a filename from a qt dialog
- when reading a filename from the commandline
- when reading a filename from a file that was generated by external
programs
It is also done for reading filenames from lyxrc, but I don't think that
that is needed.
Georg