[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Expand dir name with \ when on windows.
From: |
anhnmncb |
Subject: |
Re: Expand dir name with \ when on windows. |
Date: |
Thu, 1 Jan 2009 03:36:58 +0000 (UTC) |
User-agent: |
slrn/0.9.9p1/mm/ao (Win32) |
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