I wrote:
>
> Zhaocong Jia wrote:
> >
> > > I think this should be 'false' so that initialization is redone
> > > when needed. Of course, given that we should have better
> > > name for the variable...
> >
> > Yes, that should be 'false'. How about name the variable ''SaveSystemFlag"?
>
> That is OK. Now we need to disable ')savesystem' for ecl. AFAICS
> changing line is 'setq.lisp' to
>
> #-:ecl(|savesystem| . |interpreter|)
>
> should do.
I tested the patch with indicated changes and there still is
problem. Namely, interpreter has concept of frames. During
early startup FriCAS is in 'initial' frame. But normal use
is via 'sman', and in such case different frame is in use.
Variables in different frames are considered different.
The problem is that patch keeps existing frames (and variables),
but user ends up in a new frame, so variables from old
session are not visible. There is possibility to change
frame, but the user must know that this is possible
and how to do this. ATM I do not see how to cleanly
restore active frame (there are hacky ways, but they
still may lead to confusion under some circumstances).
I admit that I have reservation commiting code that from
point of view of naive user is not working.
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.