all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: "martin rudalics" <rudalics@gmx.at>,
	"Fabián Ezequiel Gallina" <fabian@anue.biz>
Cc: 12409@debbugs.gnu.org, Dan Davison <dandavison7@gmail.com>
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	[thread overview]
Message-ID: <9E057099-063A-47E0-9493-3C51CCFEF671@swipnet.se> (raw)
In-Reply-To: <50504336.6090006@gmx.at>

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	other threads:[~2012-10-07 18:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-11  5:22 bug#12409: 24.2.50; OS X Python completion leaks junk to inferior-python-mode buffer Dan Davison
2012-09-12  8:09 ` martin rudalics
2012-10-07 18:05   ` Jan Djärv [this message]
2012-09-24 18:32 ` Fabián Ezequiel Gallina
2012-10-01  1:00 ` Fabián Ezequiel Gallina
2012-10-07 19:51 ` Fabián Ezequiel Gallina
2012-10-08  7:24   ` Jan Djärv
2012-10-08 14:07     ` Fabián Ezequiel Gallina
2012-10-08 16:44       ` Andreas Schwab
2012-10-08 18:46       ` Jan Djärv
2012-10-08 19:07         ` Stefan Monnier
2012-10-08 19:49           ` Jan Djärv
2012-10-08 21:57             ` Fabián Ezequiel Gallina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9E057099-063A-47E0-9493-3C51CCFEF671@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=12409@debbugs.gnu.org \
    --cc=dandavison7@gmail.com \
    --cc=fabian@anue.biz \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.