From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer Date: Mon, 8 Oct 2012 21:49:45 +0200 Message-ID: <864920C4-FDBB-4AAB-8146-42CAAA3B3AEF@swipnet.se> References: <5071DD38.1060907@anue.biz> <5072DE3E.4010300@anue.biz> <58092581-B530-421B-8B25-97D0D09C7D4F@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1349725840 8477 80.91.229.3 (8 Oct 2012 19:50:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Oct 2012 19:50:40 +0000 (UTC) Cc: 12409@debbugs.gnu.org, =?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 08 21:50:46 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 1TLJLh-0007OA-E9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Oct 2012 21:50:45 +0200 Original-Received: from localhost ([::1]:51050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLJLb-0006Tu-8h for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Oct 2012 15:50:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLJLW-0006SN-Mj for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 15:50:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLJLV-0004wd-Gc for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 15:50:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLJLV-0004vb-CL for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 15:50:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TLJLx-0000jx-TG for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2012 15:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Oct 2012 19:51:01 +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.13497258222798 (code B ref 12409); Mon, 08 Oct 2012 19:51:01 +0000 Original-Received: (at 12409) by debbugs.gnu.org; 8 Oct 2012 19:50:22 +0000 Original-Received: from localhost ([127.0.0.1]:34190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLJLK-0000j5-2i for submit@debbugs.gnu.org; Mon, 08 Oct 2012 15:50:22 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:38860) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLJLI-0000io-Sp for 12409@debbugs.gnu.org; Mon, 08 Oct 2012 15:50:21 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 7D45F9273 for <12409@debbugs.gnu.org>; Mon, 8 Oct 2012 21:49:44 +0200 (CEST) Original-Received: (qmail 10989 invoked by uid 89); 8 Oct 2012 19:49:11 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 8 Oct 2012 19:49:11 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 14B137FA05E; Mon, 8 Oct 2012 21:49:44 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.1499) 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:65402 Archived-At: Hello. Python does not write them, using dtruss i see: write_nocancel(0x1, "'aaaa;aaaaaa'\n\0", 0xE) =20 No \r in sight. Jan D. 8 okt 2012 kl. 21:07 skrev Stefan Monnier : >> (format "\r?\n\\(?:%s\\|%s\\|%s\\)$" works. It is a bad idea to use = literal >> ^M in files, so take Andreas advice and use \r. >=20 > BTW, could someone investigate into the cause of these ^M? > IOW, we need to look at the actual bytes that Python sends to Emacs, > then figure out why Emacs's EOL-conversion doesn't handle them (are > the bytes wrong, or is the process's coding-system set incorrectly?). >=20 >=20 > Stefan