diff options
author | Fabián Ezequiel Gallina <fgallina@gnu.org> | 2015-04-09 00:53:18 -0300 |
---|---|---|
committer | Fabián Ezequiel Gallina <fgallina@gnu.org> | 2015-04-09 00:53:18 -0300 |
commit | 911ed2eba4ad691b35e4b81bcd8b24f58b0375ca (patch) | |
tree | 3aa062e31c3e665f6e65a04c10d25da4c42d124b /lisp/emacs-lisp/cl-seq.el | |
parent | c44f5b046b3f8e9a742c583880ae3a3f78828944 (diff) | |
download | emacs-911ed2eba4ad691b35e4b81bcd8b24f58b0375ca.tar.gz emacs-911ed2eba4ad691b35e4b81bcd8b24f58b0375ca.tar.bz2 emacs-911ed2eba4ad691b35e4b81bcd8b24f58b0375ca.zip |
python.el: Increase native completion robustness
Fixes: debbugs:19755
Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
this and providing useful ideas.
* lisp/progmodes/python.el
(python-shell-completion-native-output-timeout): Increase value.
(python-shell-completion-native-try-output-timeout): New var.
(python-shell-completion-native-try): Use it.
(python-shell-completion-native-setup): New readline setup avoids
polluting current context, ensures output when no-completions are
available and includes output end marker.
(python-shell-completion-native-get-completions): Trigger with one
tab only. Call accept-process-output until output end is found or
python-shell-completion-native-output-timeout is exceeded.
Diffstat (limited to 'lisp/emacs-lisp/cl-seq.el')
0 files changed, 0 insertions, 0 deletions