From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <5071DD38.1060907@anue.biz> <5072DE3E.4010300@anue.biz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1349714745 4151 80.91.229.3 (8 Oct 2012 16:45:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Oct 2012 16:45:45 +0000 (UTC) Cc: 12409@debbugs.gnu.org To: =?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 08 18:45:49 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TLGSj-0008Lu-5l for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Oct 2012 18:45:49 +0200 Original-Received: from localhost ([::1]:54131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLGSc-0004qI-Ue for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Oct 2012 12:45:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLGSV-0004mP-Qj for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 12:45:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLGSU-0002rg-Hy for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 12:45:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLGSU-0002rK-Ep for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 12:45:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TLGSw-0003zS-Jj for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 12:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Oct 2012 16:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12409 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12409-submit@debbugs.gnu.org id=B12409.134971473815306 (code B ref 12409); Mon, 08 Oct 2012 16:46:02 +0000 Original-Received: (at 12409) by debbugs.gnu.org; 8 Oct 2012 16:45:38 +0000 Original-Received: from localhost ([127.0.0.1]:33928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLGSU-0003yj-6e for submit@debbugs.gnu.org; Mon, 08 Oct 2012 12:45:38 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:57897) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLGSR-0003yb-PA for 12409@debbugs.gnu.org; Mon, 08 Oct 2012 12:45:33 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Xb6qx5wQmz3hhcC; Mon, 8 Oct 2012 18:45:01 +0200 (CEST) X-Auth-Info: /Wu1os08c+oicjaNDwYxgHvh0TXhUtjMCXBmxx9qSaw= Original-Received: from igel.home (ppp-88-217-116-133.dynamic.mnet-online.de [88.217.116.133]) by mail.mnet-online.de (Postfix) with ESMTPA id 3Xb6qw5j68zbbgt; Mon, 8 Oct 2012 18:45:00 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 3232ECA2A4; Mon, 8 Oct 2012 18:45:00 +0200 (CEST) X-Yow: YOW!! Now I understand advanced MICROBIOLOGY and th' new TAX REFORM laws!! In-Reply-To: <5072DE3E.4010300@anue.biz> ("=?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina"'s message of "Mon, 08 Oct 2012 11:07:58 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65394 Archived-At: Fabi=C3=A1n Ezequiel Gallina writes: > =3D=3D=3D 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. --=20 Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different."