[Bug: 21.4.20] directory completion in shell not working
Vin Shelton
acs at xemacs.org
Wed Sep 26 15:27:11 EDT 2007
Hi, Aaron -
I had a few spare cycles and I decided to reopen my investigation.
On 8/21/07, Aaron Stambler <Aaron.Stambler at wnco.com> wrote:
> Well, it works better anyway.
>
> After I change directory a la "cd
> "GroundOps\AirportAppSuite\interfaces\"" and then do Ctrl-xf to find a
> file it defaults to "v:\GroundOps\".
>
This sounds like a separate problem from the annoying "space in the
directory name confuses comint" bug that you had previously reported,
right?
In any case, I don't see the behavior you described above in a current
XEmacs build. Can you try installing:
http://ftp.xemacs.org/pub/xemacs/windows/testing/XEmacs_Setup_21.4.20-2007-09-26.exe
and seeing how that works for you?
I've copied Jerry James, because he knows more about comint than
anyone else on the XEmacs team. Jerry, do you perhaps have a lead on
how comint becomes confused when the directory name contains a space?
And more importantly, how to fix it?
Regards,
Vin
> -----Original Message-----
> From: ethersoft at gmail.com [mailto:ethersoft at gmail.com] On Behalf Of Vin
> Shelton
> Sent: Saturday, August 18, 2007 5:11 PM
> To: Aaron Stambler
> Cc: Stephen J. Turnbull; xemacs-beta at xemacs.org
> Subject: Re: [Bug: 21.4.20] directory completion in shell not working
>
> Dear Aaron,
>
> On 1/11/07, Aaron Stambler <Aaron.Stambler at wnco.com> wrote:
> > The shell I am using is cmd.exe from \WINDOWS\system32\ on Windows XP
> > SP2. There was more information in my original e-mail about what
> > exactly happens:
> >
> > I start up a shell with M-x shell. The shell starts up on C drive.
> > Then at the prompt I type "cd Prog" and then press the Tab key. The
> > command is completed as "cd Program Files\" which is what I would
> > expect.
> > I press the Enter key. If I do a "dir" at this point I will see one
> > of the subdirectories is XEmacs.
> > At a prompt I type "cd XE" and press the Tab key. I get the error "No
>
> > completions of XE". However if again I type "cd Prog" and press Tab
> > it completes to "cd Program Files\" again. The shell buffer is no
> > longer keeping track of the current directory it seems.
> >
>
> Thanks for the accurate recipe - I'm sorry it's taken me so long to
> investigate this bug. I don't quite know what's going on yet, but I can
> offer you a (slightly? annoying) workaround. The problem has to do with
> comint (I think) parsing the current directory, and the space in
> "Program Files" is getting XEmacs confused. If you type:
>
> cd "Prog<TAB>"
>
> that is, type quotation marks before the Prog and after the <TAB> key,
> then XEmacs will be able to continue to track the current directory.
>
Regards,
Vin
--
The Journey by Mary Oliver
http://www.poemhunter.com/p/m/poem.asp?poet=6771&poem=30506
More information about the XEmacs-Beta
mailing list