#17482: Fix load and save session in notebook
-------------------------------------+-------------------------------------
Reporter: kcrisman | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.5
Component: notebook | Resolution:
Keywords: | Merged in:
Authors: Karl-Dieter | Reviewers:
Crisman | Work issues:
Report Upstream: N/A | Commit:
Branch: | 7bc450bd0142af62e7393e6c65df25af365a901a
u/kcrisman/loadsavesagenb | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by kcrisman):
> I actually think the current situation with the message is better then:
it ''educates'' the user about the fact that their file will not be
universally accessible. It explains how to work around it (use `DATA`).
This advice is useful in other situations besides `save_session()`.
But in the other cases, there ''is'' no default. This is how William
designed it. Perhaps that is dumb design. I tend to think it is helpful
to users. The notebook 'feels like' the command line with this automatic
usage of `DATA`.
> In other words: I think it's better to ''warn'' the user that they might
be doing stupid instead of guessing that they wanted to do something else.
What if I really wanted to save it just in the current cell? With this
branch, I cannot do that.
I hope you are not serious about wanting to save a ''session'' in just the
current cell. Such a concept doesn't even make sense in the command line.
> Also: the current branch will break `save_session()` in cases where
`data` is inaccessible (that could be solved with a `try/except`).
''That'' is a good point, since you have identified such cases. Would you
think it would be better to have it not save to `DATA` silently, or give a
message, or ... ? It should still already save in the cell directory, as
noted.
--
Ticket URL: <http://trac.sagemath.org/ticket/17482#comment:16>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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/sage-trac.
For more options, visit https://groups.google.com/d/optout.