#14687: Extra readline commands not working
----------------------------------+-----------------------------------------
Reporter: klee | Owner: was
Type: defect | Status: needs_work
Priority: minor | Milestone: sage-5.11
Component: user interface | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Kwankyu Lee | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by dimpase):
Replying to [comment:9 klee]:
> The specific location for the IPython configuration file is
> {{{
> .sage/ipython-0.12/profile_sage/ipython_config.py
> }}}
> and you need to create the configuration file if it is absent.
>
> I was reluctant to be this specific about the location since it seems to
me that the directory name "ipython-0.12" is doomed to change someday, and
the exact location, I think, should be documented elsewhere.
Well, replace lines 26-27 of your patch of `readline_extra_commands.pyx`
with the following.
{{{
To bind these commands with keys, insert the relevant lines into the
IPython config file
``$DOT_SAGE/ipython-<version_number>/profile_sage/ipython_config.py``.
Note that ``$DOT_SAGE`` is ``$HOME/.sage`` by default. At the time of this
patch,
in Sage 5.11, ``<version_number>`` is 0.12. For example,
}}}
After this, I'll be happy to give it positive review (it actually works
just fine).
Feel free to open a ticket on documenting the location of
`ipython_config.py` properly.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14687#comment:10>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.