#5177: Notebook keeps directories for deleted cells
-------------------------+--------------------------------------------------
Reporter: kcrisman | Owner: boothby
Type: defect | Status: needs_info
Priority: major | Milestone: sage-4.3.1
Component: notebook | Keywords:
Author: Tim Dumol | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------+--------------------------------------------------
Changes (by mpatel):
* cc: schilly (added)
* status: needs_review => needs_info
Comment:
If I evaluate
{{{
#!python
print 'Hello!'
plot(sin(x))
}}}
then "Delete All Output," "Save & quit" and reopen the worksheet, the plot
(not the text) reappears.
We could also delete the cells' files in `Worksheet.delete_all_output`.
But we may wish to do this synchronously; otherwise, a long-running or
simply delayed (e.g., on a busy server) thread might remove newly-written
files.
(For deleting just one cell, there might be a similar but less likely race
condition. For example, if after deleting a cell (with ID <id>) in the
browser, a user pastes and saves `{{{id=<id>|\n<updated code>///\n\n}}}`
in the "Edit" window, and re-evaluates the cell, a delayed `Deferred`
could delete new files.)
What do most users expect/prefer?
I'm adding `schilly` to the Cc: list, since he's almost certainly better
qualified than I on this (and many other) topics.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5177#comment:5>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.