[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109238: Consistent completion in inf
From: |
Fabián Ezequiel Gallina |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109238: Consistent completion in inferior python with emacs -nw. |
Date: |
Fri, 27 Jul 2012 13:42:19 -0300 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109238
committer: Fabián Ezequiel Gallina <address@hidden>
branch nick: trunk
timestamp: Fri 2012-07-27 13:42:19 -0300
message:
Consistent completion in inferior python with emacs -nw.
* progmodes/python.el (inferior-python-mode): replace "<tab>"
binding in inferior-python-mode-map with "\t".
(python-shell-completion-complete-at-point)
(python-completion-complete-at-point): Remove interactive spec.
modified:
lisp/ChangeLog
lisp/progmodes/python.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-07-27 15:05:13 +0000
+++ b/lisp/ChangeLog 2012-07-27 16:42:19 +0000
@@ -1,3 +1,11 @@
+2012-07-27 Fabián Ezequiel Gallina <address@hidden>
+
+ Consistent completion in inferior python with emacs -nw.
+ * progmodes/python.el (inferior-python-mode): replace "<tab>"
+ binding in inferior-python-mode-map with "\t".
+ (python-shell-completion-complete-at-point)
+ (python-completion-complete-at-point): Remove interactive spec.
+
2012-07-27 Jay Belanger <address@hidden>
* calc/calccomp.el (math-compose-expr): Undo previous change.
=== modified file 'lisp/progmodes/python.el'
--- a/lisp/progmodes/python.el 2012-07-27 12:38:19 +0000
+++ b/lisp/progmodes/python.el 2012-07-27 16:42:19 +0000
@@ -1545,7 +1545,7 @@
'python-shell-completion-complete-at-point nil 'local)
(add-to-list (make-local-variable 'comint-dynamic-complete-functions)
'python-shell-completion-complete-at-point)
- (define-key inferior-python-mode-map (kbd "<tab>")
+ (define-key inferior-python-mode-map "\t"
'python-shell-completion-complete-or-indent)
(when python-shell-enable-font-lock
(set (make-local-variable 'font-lock-defaults)
@@ -1948,7 +1948,6 @@
(defun python-shell-completion-complete-at-point ()
"Perform completion at point in inferior Python process."
- (interactive)
(and comint-last-prompt-overlay
(> (point-marker) (overlay-end comint-last-prompt-overlay))
(python-shell-completion--do-completion-at-point
@@ -2063,7 +2062,6 @@
For this to work the best as possible you should call
`python-shell-send-buffer' from time to time so context in
inferior python process is updated properly."
- (interactive)
(let ((process (python-shell-get-process)))
(if (not process)
(error "Completion needs an inferior Python process running")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109238: Consistent completion in inferior python with emacs -nw.,
Fabián Ezequiel Gallina <=