"Lars Gullik Bjřnnes" wrote:
> 
> "R. Lahaye" <[EMAIL PROTECTED]> writes:
> 
> | Hi,
> |
> | The <Save> button in the Preferences dialog
> | does the save, but also closes the dialog.
> What if it said "Ok"?

I can't follow in what direction you are thinking.
Just adding an <Ok> button wouldn't solve the
confusion. My intuitive feelings tell me:

<Save> : save the current preferences settings to
         somewhere (is that ~/.lyx/lyxrc ?), such that
         I will have the save settings again when I restart
         LyX the next time.
         The <Save> should then perform an <Apply>, see
         next.

<Apply> : Apply the current preferences settings to
         the current document(s). They are NOT saved beyond
         the current session, so LyX won't use them when
         restarted the next time.
         When I open the dialog again (within the same
         session), the previously applied settings should
         be there. So the applied preferences have to be
         saved somewhere else temporarily until the end of
         this LyX-session (/tmp/lyx_tmp/lyxrc ?).

<Restore> : Restore old settings. But which old settings?
         The user ones in ~/.lyx/lyxrc ? Or system ones
         in /usr/local/LyX/share/lyxrc ?
         Or old settings elsewhere (e.g. /tmp/lyx_tmp/lyxrc) ?
         Obviously, I don't like such a ambiguous <Restore>
         button.

<Close> : Just close the dialog. Don't Apply or Save
         anything (in other words: forget about changes
         I've made since the last <Save> or <Apply>).

--------------------------------------------------

In the above I've used several times "document(s)".
Suddenly it pops in my mind that it is very probable
that I have several documents loaded, and some
of the preferences may not be the same for all documents.
This can be, for example:
- language vs. language setting in preferences.
- LaTeX preamble
  (I've heard rumours that this should be merged with
   Preferences. True?)

Regards,
Rob.

Reply via email to