From: "Sandip Chitale" <sandipchitale@fairisaac.com>
Subject: Re: file name Completion in Shell (cmd.exe) on Emacs (MS Windows)
Date: Thu, 22 Jul 2004 10:24:34 -0700 [thread overview]
Message-ID: <40fff853$0$66470$14726298@news.sunsite.dk> (raw)
In-Reply-To: xTGLc.38724$F8.19654@nwrdny02.gnilink.net
"Bruce Ingalls" <ingallsb@verizon._NO.SPAM_.net> wrote in message
news:xTGLc.38724$F8.19654@nwrdny02.gnilink.net...
> Sandip Chitale wrote:
> > Is there any way to make the file name completion correctly in a shell
in
> > Windows emacs?
>
> Windows NT, 2000 & XP have an undocumented registry setting.
> Go into Regedit (after backing it up, and be sure you know what you are
> doing)
> Change
> HKEY_CURRENT_USER\Software\Microsoft\Command Processor\CompletionChar
> to
> 9
> hex
> This will set the command completion to TAB.
>
> Note that Microsoft cmd completion is not as good as Gnu.
Thanks for the info. I already knew about the completion char registry
setting. That is not the problem.
When cmd.exe runs as a shell under emacs, the completion functionality is
provided by emacs. In other words emacs intercepts the tab key to perform
the completion. The completion is performed relative to the
default-directory of shell buffer. The problem is emacs does not correctly
track the default-directory after a command to switch the drive (e.g. C: or
D:) is issued.
Anyhow I have solved the problem by hacking shell.el as described in my
other post.
Sandip
prev parent reply other threads:[~2004-07-22 17:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='40fff853$0$66470$14726298@news.sunsite.dk' \
--to=sandipchitale@fairisaac.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).