#11235: Make the ipython edit magic command edit the right file and show both 
files
when doing ??
----------------------------+-----------------------------------------------
   Reporter:  mderickx      |          Owner:  jason                            
       Type:  defect        |         Status:  positive_review                  
   Priority:  major         |      Milestone:  sage-5.0                         
  Component:  misc          |       Keywords:  sd35 ipython source file location
Work_issues:                |       Upstream:  N/A                              
   Reviewer:  Marco Streng  |         Author:  Maarten Derickx                  
     Merged:                |   Dependencies:                                   
----------------------------+-----------------------------------------------

Comment(by jhpalmieri):

 No, it's the dollar sign.  Try this:
 {{{
 #!diff
 diff --git a/sage/misc/edit_module.py b/sage/misc/edit_module.py
 --- a/sage/misc/edit_module.py
 +++ b/sage/misc/edit_module.py
 @@ -299,7 +299,7 @@ def edit_devel(self, filename, linenum):
          sage: %ed gcd           # indirect doctest, not tested

      The above should open your favorite editor (as stored in the
 environment
 -    variable $EDITOR) with the file in which gcd is defined, and when
 your
 +    variable \$EDITOR) with the file in which gcd is defined, and when
 your
      editor supports it, also at the line in wich gcd is defined.
      """
      sageroot = sage.misc.sageinspect.SAGE_ROOT+'/'
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11235#comment:27>
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.

Reply via email to