[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Completion bug in gud or comint

From: Lluís
Subject: Completion bug in gud or comint
Date: Fri, 16 Dec 2011 16:14:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

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) _
  >> (gdb) s_
  >> <completion buffer output>
  >> source_
  >> (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.


 "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

reply via email to

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