#7586: develoers' guide: document features of attach, load, iload, ed, %ed,
%edit,
edit()
-----------------------------+----------------------------------------------
Reporter: mvngu | Owner: mvngu
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.3
Component: documentation | Keywords:
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
-----------------------------+----------------------------------------------
From this [http://groups.google.com/group/sage-
devel/browse_thread/thread/c0543314ff9c15cb sage-devel] thread:
{{{
By the way, I discovered accidentally that from the command line (not
the notebook) if you type:
sage: ed # or %ed or %edit
then it opens up your favorite editor (whatever is set by the $EDITOR
shell variable). Then in the editor you can type
def FF(x):
long definition here
which would be really annoying
to type on the command line
then save it -- it gets written to a temporary file -- and the code
gets executed and you have thus redefined FF. Then later you can do
sage: ed FF
and it will let you modify your code. This is an ipython feature, it
seems. Should it be described somewhere in the Sage documentation?
}}}
The following commands should at least be documented in the Developers'
Guide together with explanation on how to use them for interactive
development:
1. `load`
1. `attach`
1. `iload`
1. `ed`
1. `%ed`
1. `%edit`
1. `edit()`
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7586>
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.