GNU bug report logs -
#12409
24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer
Previous Next
Reported by: Dan Davison <dandavison7 <at> gmail.com>
Date: Tue, 11 Sep 2012 06:45:02 UTC
Severity: normal
Found in version 24.2.50
Done: Chong Yidong <cyd <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello.
7 okt 2012 kl. 21:51 skrev Fabián Ezequiel Gallina <fabian <at> anue.biz>:
> Does the attached patch fix that?
>
>
No, unfortunately it does not.
The value of python-shell-output-filter-buffer is:
';'.join(__COMPLETER_all_completions('''aaaa'''))^M
'aaaa;aaaaaa'^M
>>>
Jan D.
> === modified file 'lisp/progmodes/python.el'
> *** lisp/progmodes/python.el 2012-10-07 19:37:37 +0000
> --- lisp/progmodes/python.el 2012-10-07 19:47:52 +0000
> ***************
> *** 1887,1893 ****
> python-shell-output-filter-buffer
> (concat python-shell-output-filter-buffer string))
> (when (string-match
> ! (format "\n\\(?:%s\\|%s\\|%s\\)$"
> python-shell-prompt-regexp
> python-shell-prompt-block-regexp
> python-shell-prompt-pdb-regexp)
> --- 1887,1895 ----
> python-shell-output-filter-buffer
> (concat python-shell-output-filter-buffer string))
> (when (string-match
> ! ;; It seems on OSX an extra carriage return might be attached
> ! ;; to the end of output.
> ! (format " ?\n\\(?:%s\\|%s\\|%s\\)$"
> python-shell-prompt-regexp
> python-shell-prompt-block-regexp
> python-shell-prompt-pdb-regexp)
>
>
>
>
This bug report was last modified 12 years and 265 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.