Subject: Re: bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer

From: Jan Djärv <[email-masked]>
Date: Mon, 8 Oct 2012 20:46:10 +0200

8 okt 2012 kl. 16:07 skrev Fabián Ezequiel Gallina <[email-masked]>:

> On 10/08/2012 04:24 AM, Jan Djärv wrote:
>> (format " ?\n\\(?:%s\\|%s\\|%s\\)$"
> Unfortunately it seems the patch I copied here lost the carriage return because of my email client or something, attaching the file instead. Please try this one and let me know.
> 
> 
> Thanks!,
> Fabián
> 
> <python-osx-output.diff>

(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.

Thanks,

	Jan D.