From: Lluís <xscript@gmx.net>
To: emacs-devel@gnu.org
Subject: Completion bug in gud or comint
Date: Fri, 16 Dec 2011 16:14:10 +0100 [thread overview]
Message-ID: <87r5041rct.fsf@ginnungagap.bsc.es> (raw)
I didn't find any related bug report, but I'm not sure if this has been reported
before in this list.
Steps to reproduce it:
M-x gdb
gdb -i=mi<RET>
>> (gdb) _
s<TAB>
>> (gdb) s_
>> <completion buffer output>
o<TAB>
>> source_
<TAB>
>> (gdb) _source
As you can see, the comint prompt ('(gdb)') "disappears" (already strange
enough) and the point moves accordingly when there is a common completion prefix
available, but performing a new completion makes the prompt "reappear".
The most annoying thing is that while the last completion restored the prompt,
point is kept in its position before the prompt restoration, which means not
having point at the end of the line.
I'm using emacs-snapshot 1:20111206-1+squeeze, but I also tried to evaluate
'comint.el' and 'gud.el' from the latest trunk before the test.
Thanks,
Lluis
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
next reply other threads:[~2011-12-16 15:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-16 15:14 Lluís [this message]
2011-12-17 0:55 ` Completion bug in gud or comint Stefan Monnier
2011-12-18 19:07 ` Lluís
2011-12-21 14:40 ` Lluís Vilanova
2011-12-25 7:54 ` Chong Yidong
2011-12-25 10:48 ` Chong Yidong
2012-01-02 12:22 ` Lluís
2011-12-21 15:03 ` Lluís Vilanova
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=87r5041rct.fsf@ginnungagap.bsc.es \
--to=xscript@gmx.net \
--cc=emacs-devel@gnu.org \
/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.