bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Andreas Schwab
Subject: bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer
Date: Mon, 08 Oct 2012 18:44:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Fabián Ezequiel Gallina <fabian@anue.biz> writes:

> === 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,7 +1887,9 @@
>     python-shell-output-filter-buffer
>     (concat python-shell-output-filter-buffer string))
>    (when (string-match
> -         (format "\n\\(?:%s\\|%s\\|%s\\)$"
> +         ;; It seems on OSX an extra carriage return might be attached
> +         ;; to the end of output.
> +         (format "?\n\\(?:%s\\|%s\\|%s\\)$"
                     \r

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]