unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* file name Completion in Shell (cmd.exe) on Emacs (MS Windows)
@ 2004-07-19 21:11 Sandip Chitale
  2004-07-20  6:00 ` Carsten Weinberg
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Sandip Chitale @ 2004-07-19 21:11 UTC (permalink / raw)


Folks,

Is there any way to make the file name completion correctly in a shell in
Windows emacs?

When I start (default) shell i.e. cmd.exe I get:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\emacs\bin>ls e<tab>

At this point if I attempt file name completion by hitting tab I get files
in c:\emacs\bin.

Now I change the drive:

c:\emacs\bin>x:

X:\>ls e<tab>

At this point if I attempt file name completion by hitting tab I *still* get
files in c:\emacs\bin.

Now if I do:

X:\>cd x:\

and then do:

X:\>ls e<tab>

At this point if I attempt file name completion by hitting tab I do get
files from x:\

I have correctly set the shell-chdrive-regexp variable.

M-x shell-chdrive-regexp <RETURN> yields:

shell-chdrive-regexp's value is "[a-zA-Z]:"

Any ideas?

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

end of thread, other threads:[~2004-07-23 16:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-19 21:11 file name Completion in Shell (cmd.exe) on Emacs (MS Windows) Sandip Chitale
2004-07-20  6:00 ` Carsten Weinberg
2004-07-20  9:43 ` Mathias Dahl
2004-07-20 17:08   ` Sandip Chitale
2004-07-21  9:36     ` Mathias Dahl
     [not found] ` <mailman.685.1090303150.1960.help-gnu-emacs@gnu.org>
2004-07-20 17:07   ` Sandip Chitale
2004-07-21 17:47 ` Sandip Chitale
2004-07-21 19:03   ` FCC
2004-07-23  8:46   ` martin
2004-07-23 16:51     ` Sandip Chitale
2004-07-22  3:54 ` Bruce Ingalls
2004-07-22 17:24   ` Sandip Chitale

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).