[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python
From: |
Jan Djärv |
Subject: |
bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer |
Date: |
Mon, 8 Oct 2012 09:24:03 +0200 |
Hello.
7 okt 2012 kl. 21:51 skrev Fabián Ezequiel Gallina <fabian@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)
>
>
>
>
- bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer, Jan Djärv, 2012/10/07
- bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer, Fabián Ezequiel Gallina, 2012/10/07
- bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer,
Jan Djärv <=
- bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer, Fabián Ezequiel Gallina, 2012/10/08
- bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer, Andreas Schwab, 2012/10/08
- bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer, Jan Djärv, 2012/10/08
- bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer, Stefan Monnier, 2012/10/08
- bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer, Jan Djärv, 2012/10/08
- bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer, Fabián Ezequiel Gallina, 2012/10/08