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: Sun, 7 Oct 2012 20:05:56 +0200

Hello.

In the trunk, it does behave much better:

 >>> aaaa = 4
aaaa = 4
>>> aaaaaa = 6
aaaaaa = 6
>>> aaaa


The first TAB on aa completes to aaaa, no garbage characters.
But on the second TAB, the completion buffer says:

Click <mouse-2> on a completion to select it.
In this buffer, type RET to select the completion near point.

Possible completions are:
aaaa
aaaaaa'^M

i.e. a trailing '^M is shown.  That is a real carriage return, not ^ and M btw.

        Jan D.


12 sep 2012 kl. 10:09 skrev martin rudalics <rudalics@gmx.at>:

> > 1. emacs -nw -q
> > 2. M-x run-python
> > 3. At the prompt, enter "aaaa = 4" followed by RETURN
> > 4. At the prompt, enter "aaaaaa = 6" followed by RETURN
> > 5. At the prompt enter "aa" followed by TAB to request a completion
> >
> > After step (4) the buffer contents look like:
> >>>> aaaa = 4
> >>>> aaaaaa = 6
> >>>>
> >
> > After step (5) it looks like:
> >
> >>>> aaaa = 4
> >>>> aaaaaa = 6
> >>>> 'aaaa;aaaaaa'
> >>>> aaaa
> 
> This could be related to the behavior of `complete-with-action'.  See
> also bug#10851.
> 
> martin
> 
> 






reply via email to

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