From: anhnmncb <anhnmncb@sina.com>
To: emacs-devel@gnu.org
Subject: Re: Expand dir name with \ when on windows.
Date: Thu, 1 Jan 2009 03:36:58 +0000 (UTC) [thread overview]
Message-ID: <gjhdop$puh$1@ger.gmane.org> (raw)
In-Reply-To: 495C1B10.7050305@gnu.org
On 2009-01-01, Jason Rumney wrote:
> anhnmncb wrote:
>> On 2008-12-25, anhnmncb wrote:
>>
>>> Is there a varible that control the expanding behivior when on windows?
>>> I find that *shell* sometimes does strange thing when cd dir with /, the
>>> shell prompt is still the old dir, but actually I have changed to the new
>>> dir. With \, no strange happens.
>>>
>
> Have you tried changing the value of comint-completion-addsuffix?
I have tried (setq comint-completion-addsuffix '("\\" . " "))
Then
shell> cd ..\foo<tab>
you will find that emacs changes it to
shell> cd ../foo\
the result I want is
shell > cd ..\foo\.
--
Regards,
anhnmncb
next prev parent reply other threads:[~2009-01-01 3:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-25 10:14 Expand dir name with \ when on windows anhnmncb
2008-12-31 22:56 ` anhnmncb
2009-01-01 1:23 ` Jason Rumney
2009-01-01 3:36 ` anhnmncb [this message]
2009-01-02 3:38 ` Stefan Monnier
2009-01-02 10:07 ` anhnmncb
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='gjhdop$puh$1@ger.gmane.org' \
--to=anhnmncb@sina.com \
--cc=emacs-devel@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).