On Thu, 10 Sep 2009, Allin Cottrell wrote:
On Thu, 10 Sep 2009, Summers, Peter wrote:
> I don't know if this is a bug or a reflection of my relative
> inexperience with session files. I opened a previous session &
> did some further work, then when I tried to save the data set
> (ctrl-s), I got an error message saying "couldn't open [my data
> set] for writing."
Perhaps, with a session open, Ctrl-S should be reinterpreted as
"save the session"? Either that, or you should get a "Save as"
dialog for the data. (Or does anyone have a better suggestion?)
I came up with a different provisional fix (in CVS and Windows
snapshot). When you have reopened a saved session, Ctrl-S or
"Save data" now saves the dataset "inside" the session.
In addition, when you make a change to the dataset in a previously
saved session, you no longer see a "*" (unsaved change flag) next
to the datafile name, although you should see a "*" next to the
session name in the gretl title-bar. That is, changes to the
datafile and now in a sense subsumed under changes to the session
(in the context of a reopened session only).
Allin Cottrell