GNU bug report logs -
#15128
24.3.50; python.el completion broken
Previous Next
Reported by: Rasmus Pank Roulund <rasmus <at> pank.eu>
Date: Mon, 19 Aug 2013 06:31:01 UTC
Severity: normal
Tags: confirmed, patch
Merged with 15240
Found in version 24.3
Fixed in version 24.3.50
Done: fgallina <at> gnu.org
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15128 in the body.
You can then email your comments to 15128 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15128
; Package
emacs
.
(Mon, 19 Aug 2013 06:31:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Rasmus Pank Roulund <rasmus <at> pank.eu>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 19 Aug 2013 06:31:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
With Christopher Schmidt's comint changes on 2013-08-08 python.el
completion breaks. To reproduce do
emacs -q
M-x run-python
x [TAB]
I've included a simple fix that may or may not be sufficient. Here's
the diff -c output
*** python.el 2013-08-19 02:13:21.822104349 +0200
--- python1.el 2013-08-19 02:13:52.323300415 +0200
***************
*** 2276,2283 ****
;; heuristic.
(with-current-buffer (process-buffer process)
(buffer-substring-no-properties
! (overlay-start comint-last-prompt-overlay)
! (overlay-end comint-last-prompt-overlay))))
(completion-context
;; Check whether a prompt matches a pdb string, an import
;; statement or just the standard prompt and use the
--- 2276,2283 ----
;; heuristic.
(with-current-buffer (process-buffer process)
(buffer-substring-no-properties
! (marker-position (car comint-last-prompt))
! (marker-position (cdr comint-last-prompt)))))
(completion-context
;; Check whether a prompt matches a pdb string, an import
;; statement or just the standard prompt and use the
Here's a changelog, if needed.
2013-08-19 Rasmus Pank Roulund <emacs <at> pank.eu>
* progmodes/python.el (python-shell-completion-get-completions):
Replace reference to comint-last-prompt-overlay with
comint-last-prompt.
Let me know if I did something wrong!
–Rasmus
In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.2)
of 2013-08-17 on pank
Bzr revision: eliz <at> gnu.org-20130817171807-fxigtkbc6yy8m9iw
Windowing system distributor `The X.Org Foundation', version 11.0.11402000
System Description: Arch Linux
Merged 15128 15240.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 02 Sep 2013 00:06:01 GMT)
Full text and
rfc822 format available.
Reply sent
to
fgallina <at> gnu.org
:
You have taken responsibility.
(Mon, 02 Sep 2013 13:16:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Rasmus Pank Roulund <rasmus <at> pank.eu>
:
bug acknowledged by developer.
(Mon, 02 Sep 2013 13:16:04 GMT)
Full text and
rfc822 format available.
Message #12 received at 15128-done <at> debbugs.gnu.org (full text, mbox):
Hello Rasmus,
I fixed this in revno 114094. I took a different approach, avoiding use
of the comint-last-prompt* vars in a way to keep compatiblity with Emacs
24.x.
Regards,
Fabián.
Reply sent
to
fgallina <at> gnu.org
:
You have taken responsibility.
(Mon, 02 Sep 2013 13:16:05 GMT)
Full text and
rfc822 format available.
Notification sent
to
Rodrigo Rodrigues <rrodrigues <at> poli.ufrj.br>
:
bug acknowledged by developer.
(Mon, 02 Sep 2013 13:16:05 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 11 Oct 2013 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 257 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.