From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Sandip Chitale" Newsgroups: gmane.emacs.help Subject: file name Completion in Shell (cmd.exe) on Emacs (MS Windows) Date: Mon, 19 Jul 2004 14:11:19 -0700 Organization: SunSITE.dk - Supporting Open source Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <40fc38f9$0$23869$14726298@news.sunsite.dk> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1090271555 22185 80.91.224.253 (19 Jul 2004 21:12:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Jul 2004 21:12:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 19 23:12:25 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BmfQv-0007dG-00 for ; Mon, 19 Jul 2004 23:12:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BmfTc-00082F-PE for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Jul 2004 17:15:12 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news2.telebyte.nl!newshub2.home.nl!home.nl!sunsite.dk!dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Original-Lines: 44 Original-NNTP-Posting-Host: 208.135.53.4 Original-X-Trace: DXC=e?dZhdKRI?85hhZePnId6L[[1V3]E8F@; W4XYaCAZdL\:n9]ZFbBXH1k; O_ Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:124372 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19710 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19710 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 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 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 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 yields: shell-chdrive-regexp's value is "[a-zA-Z]:" Any ideas?