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: 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 21:49:45 +0200

Hello.

Python does not write them, using dtruss i see:

write_nocancel(0x1, "'aaaa;aaaaaa'\n\0", 0xE)            

No \r in sight.

        Jan D.

8 okt 2012 kl. 21:07 skrev Stefan Monnier <monnier@iro.umontreal.ca>:

>> (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.
> 
> 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?).
> 
> 
>        Stefan






reply via email to

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