all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Completion bug in gud or comint
@ 2011-12-16 15:14 Lluís
  2011-12-17  0:55 ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Lluís @ 2011-12-16 15:14 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-01-02 12:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-16 15:14 Completion bug in gud or comint Lluís
2011-12-17  0:55 ` 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

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.