Nickolay Pakoulin <npak(a)ispras.ru> wrote:
XEmacs tries to simulate changes of directory in shell by parsing
shell commands and trying to predict the new directory and directory
stack.
Yup. I've always wondered why it doesn't look at the shell prompt
instead (at least if the prompt is set to include the current
directory), but anyway...
The patch below is a quick-wrong patch that solves the problem with
TAB completion for `cd' command.
I can confirm that the patch fixes part of the problem; now if I am
in directory 'c:\program files' I can type 'cd xem', hit Tab, and it
is correctly completed to 'xemacs'.
However tab-completion in general doesn't work properly, for example
from the root directory typing 'cd "program files\xem' and hitting Tab
does not work. But thanks for the patch.
--
Ed Avis <ed.avis(a)kbcfp.com>