unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Comint Completion Broken
@ 2006-05-16 10:48 Herbert Euler
  2006-05-19  2:39 ` Herbert Euler
  0 siblings, 1 reply; 6+ messages in thread
From: Herbert Euler @ 2006-05-16 10:48 UTC (permalink / raw)


Hello,

Comint in the newest Unicode 2 CVS Emacs is broken.  In the past, if
comint shows a completion window, this window will be automatically
deleted after the user types a complement supplied in it or just types
space.  Now it won't be deleted even if the user types SPC directly,
contradicts to what is said in echo area: "Type space to flush".

Comparing the current source code and the latest working source code,
I found the following change for `comint-dynamic-list-completions' in
lisp/comint.el:

2945,2948c2980,2982
<       (unless (eq first ?\s)
<         (setq unread-command-events (listify-key-sequence key)))
<       (unless (eq first ?\t)
<         (set-window-configuration 
comint-dynamic-list-completions-config))))))

---
>       (if (eq first ?\s)
>           (set-window-configuration 
>comint-dynamic-list-completions-config)
>         (setq unread-command-events (listify-key-sequence key)))))))

The above one is the correct code, the below one is the wrong code.
Note that these two code aren't equal.  If the current source is
substituted with the above one, comint will act correctly.

There's no such entry in changelog shows
`comint-dynamic-list-completions' is changed recently.  Why do someone
alter the behavior of `comint-dynamic-list-completions'?

Regards,
Guanpeng Xu

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

end of thread, other threads:[~2006-05-19  7:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-16 10:48 Comint Completion Broken Herbert Euler
2006-05-19  2:39 ` Herbert Euler
2006-05-19  2:55   ` Miles Bader
2006-05-19  6:03     ` Romain Francoise
2006-05-19  6:18       ` Miles Bader
2006-05-19  7:03         ` Herbert Euler

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).