ALT Linux repositórios
Group :: Desenvolvimento/Python
RPM: ipython
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: ipython-0.10-alt-bindings-fix.patch
Download
Download
--- ipython/IPython/Extensions/ipy_defaults.py.orig 2009-04-16 06:58:05 +0600
+++ ipython/IPython/Extensions/ipy_defaults.py 2009-08-11 23:45:31 +0600
@@ -43,9 +43,9 @@ tab: complete
"\C-l": possible-completions
set show-all-if-ambiguous on
"\C-o": tab-insert
-"\M-i": " "
-"\M-o": "\d\d\d\d"
-"\M-I": "\d\d\d\d"
+"\ei": " "
+"\eo": "\d\d\d\d"
+"\eI": "\d\d\d\d"
"\C-r": reverse-search-history
"\C-s": forward-search-history
"\C-p": history-search-backward
--- ipython/IPython/UserConfig/ipythonrc.orig 2009-04-16 06:58:05 +0600
+++ ipython/IPython/UserConfig/ipythonrc 2009-08-11 23:45:31 +0600
@@ -104,8 +104,8 @@ autoedit_syntax 0
# convenient (M-i indents, M-u unindents):
# $if Python
-# "\M-i": " "
-# "\M-u": "\d\d\d\d"
+# "\ei": " "
+# "\eu": "\d\d\d\d"
# $endif
# The feature is potentially a bit dangerous, because it can cause problems
@@ -414,9 +414,9 @@ readline_parse_and_bind "\C-o": tab-inse
# convention of the Python coding standards. Since IPython's internal
# auto-indent system also uses 4 spaces, you should not change the number of
# spaces in the code below.
-readline_parse_and_bind "\M-i": " "
-readline_parse_and_bind "\M-o": "\d\d\d\d"
-readline_parse_and_bind "\M-I": "\d\d\d\d"
+readline_parse_and_bind "\ei": " "
+readline_parse_and_bind "\eo": "\d\d\d\d"
+readline_parse_and_bind "\eI": "\d\d\d\d"
# Bindings for incremental searches in the history. These searches use the
# string typed so far on the command line and search anything in the previous
--- ipython/docs/dist/html/_sources/interactive/reference.txt.orig 2009-08-05 07:30:16 +0600
+++ ipython/docs/dist/html/_sources/interactive/reference.txt 2009-08-11 23:45:31 +0600
@@ -618,11 +618,11 @@ the following lines to your .inputrc fil
more convenient (M-i indents, M-u unindents)::
$if Python
- "\M-i": " "
- "\M-u": "\d\d\d\d"
+ "\ei": " "
+ "\eu": "\d\d\d\d"
$endif
-Note that there are 4 spaces between the quote marks after "M-i" above.
+Note that there are 4 spaces between the quote marks after "\ei" above.
Warning: this feature is ON by default, but it can cause problems with
the pasting of multi-line indented code (the pasted code gets
--- ipython/docs/dist/html/interactive/reference.html.orig 2009-08-05 07:30:16 +0600
+++ ipython/docs/dist/html/interactive/reference.html 2009-08-11 23:46:39 +0600
@@ -645,11 +645,11 @@ configuration (or whatever file your INP
the following lines to your .inputrc file can make indenting/unindenting
more convenient (M-i indents, M-u unindents):</p>
<div class="highlight-python"><pre>$if Python
-"\M-i": " "
-"\M-u": "\d\d\d\d"
+"\ei": " "
+"\eu": "\d\d\d\d"
$endif</pre>
</div>
-<p>Note that there are 4 spaces between the quote marks after “M-i” above.</p>
+<p>Note that there are 4 spaces between the quote marks after “\ei” above.</p>
<p>Warning: this feature is ON by default, but it can cause problems with
the pasting of multi-line indented code (the pasted code gets
re-indented on each line). A magic function %autoindent allows you to
--- ipython/docs/source/interactive/reference.txt.orig 2009-04-16 06:58:05 +0600
+++ ipython/docs/source/interactive/reference.txt 2009-08-11 23:45:31 +0600
@@ -618,11 +618,11 @@ the following lines to your .inputrc fil
more convenient (M-i indents, M-u unindents)::
$if Python
- "\M-i": " "
- "\M-u": "\d\d\d\d"
+ "\ei": " "
+ "\eu": "\d\d\d\d"
$endif
-Note that there are 4 spaces between the quote marks after "M-i" above.
+Note that there are 4 spaces between the quote marks after "\ei" above.
Warning: this feature is ON by default, but it can cause problems with
the pasting of multi-line indented code (the pasted code gets