|
From: Ethan M. <merritt@u.washington.edu> - 2005-08-01 17:40:31
|
On Monday 01 August 2005 08:48 am, Hans-Bernhard Broeker wrote:
> Ethan A Merritt wrote:
> > So you expect restoring from a saved file to do an implicit `reset`?
> > There has been no guarantee of this in the past that I know of.
>
> But it's implicit consequence of what "save" does: it save all the
> settings. All of them. So yes, loading that file again should restore
> them all, otherwise, we can't really say we "saved" them.
In what way do you see this as different from the notion of
`reset, then apply explicit changes` ?
The latter approach is the one assumed by Petr's gpsavediff script,
for instance.
While we're on the topic, I have a related problem that I really don't
know how best to deal with. The "datastrings" and "histograms" modules
make heavy use of the ability to read tic-labels and key-titles from a
data file. Internally, these label structures are fed into the same
data structures that are loaded by explicit user commands like
set xtics ("foo" 1, "bar" 2, "etc" 3)
But this means that when you `save` the current state, you get a dump
of the most recent tic labels read from a data file. This is really
annoying if you don't remember to wipe the xtic entries clear, either
before saving or after restoring. What are your thoughts on this
issue?
--
Ethan A Merritt merritt@u.washington.edu
Biomolecular Structure Center
Mailstop 357742
University of Washington, Seattle, WA 98195
|