G. Milde wrote, On 12/03/2007 10:21 AM:
On 3.12.07, Daniel Lohmann wrote:
Jean-Marc Lasgouttes wrote:
Daniel Lohmann <[EMAIL PROTECTED]> writes:
...
2) the document-specific state of each inset would no longer be stored
in the document file (fancydoc.lyx), but in some extra settings file
(such as fancydoc.lyxrc).
(It is kind of annoying to get version control conflicts just because
of the fact the me and my colleagues prefer different ways to display
the insets on screen.)
...
Maybe I have not explained myself well enough. I am mainly asking for
separation of concerns between the document content and the
editor-ui-related data associated with it, which is IMHO a good design
principle anyway.
...
otherwise the frequency of svn conflicts would go up significantly, which
is the (practical) reason for the request for separating content from
ui-data on the file system.
While I understand the reason and the rationale to separate content and
presentation, I would not like to see a separate file for every lyx file:
this would clutter my view on the file-system a lot.
OTOH, there is the design principle to keep together information that
belongs together: and type and status of a Note can be considered
information that belongs together -- it would become a more complicated
to specify which inset the "collapsed" status belongs to when stored in a
different file.
Maybe there is a way to tell SVN to ignore these settings?
Or how about an option that to me would make more sense:
A collapse|expand ALL button/setting/menu, that on collapse-able elements had
a similar effect to the View->Threads->"Expand All Threads"|"Collapse All
Threads" does on threads in Thunderbird.
I understand the issue with the version control, which is why when I am
preparing to check in my changes I always walk through the document and
collapse all the ERT&&FootNotes&&Notes...
If we had a big collapse|expand button it would be easier to explain as a
"coding convention" that `prior to committing changes the changer will
collapse|expand all collapse-able elements in the document.`
I don't know if it would make since to have multiple collapse|expand buttons
somewhere [one for each collapse-able type] or just one big toggle button.
(I remember faintly that SVN diffing ignores some specially formatted
tokens, so maybe a file format that stores these settings specially marked
up would help. Another option would be to use an external diff command and
customize it to ignore the line behind \begin_inset Note...)
Guenter
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter