GNU bug report logs - #12409
24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer

Previous Next

Package: emacs;

Reported by: Dan Davison <dandavison7 <at> gmail.com>

Date: Tue, 11 Sep 2012 06:45:02 UTC

Severity: normal

Found in version 24.2.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 12409 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: martin rudalics <rudalics <at> gmx.at>,
	Fabián Ezequiel Gallina <fabian <at> anue.biz>
Cc: 12409 <at> debbugs.gnu.org, Dan Davison <dandavison7 <at> gmail.com>
Subject: Re: 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 <at> 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
> 
> 





This bug report was last modified 12 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.