emacs-devel
[Top][All Lists]
Advanced

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

Comint Completion Broken


From: Herbert Euler
Subject: Comint Completion Broken
Date: Tue, 16 May 2006 18:48:36 +0800

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/





reply via email to

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