all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Expand dir name with \ when on windows.
@ 2008-12-25 10:14 anhnmncb
  2008-12-31 22:56 ` anhnmncb
  2009-01-02  3:38 ` Stefan Monnier
  0 siblings, 2 replies; 6+ messages in thread
From: anhnmncb @ 2008-12-25 10:14 UTC (permalink / raw)
  To: emacs-devel

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.





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

* Re: Expand dir name with \ when on windows.
  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-02  3:38 ` Stefan Monnier
  1 sibling, 1 reply; 6+ messages in thread
From: anhnmncb @ 2008-12-31 22:56 UTC (permalink / raw)
  To: emacs-devel

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.

Ping... is it possible or not?


-- 
Regards,
anhnmncb





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

* Re: Expand dir name with \ when on windows.
  2008-12-31 22:56 ` anhnmncb
@ 2009-01-01  1:23   ` Jason Rumney
  2009-01-01  3:36     ` anhnmncb
  0 siblings, 1 reply; 6+ messages in thread
From: Jason Rumney @ 2009-01-01  1:23 UTC (permalink / raw)
  To: anhnmncb; +Cc: emacs-devel

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?






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

* Re: Expand dir name with \ when on windows.
  2009-01-01  1:23   ` Jason Rumney
@ 2009-01-01  3:36     ` anhnmncb
  0 siblings, 0 replies; 6+ messages in thread
From: anhnmncb @ 2009-01-01  3:36 UTC (permalink / raw)
  To: emacs-devel

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





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

* Re: Expand dir name with \ when on windows.
  2008-12-25 10:14 Expand dir name with \ when on windows anhnmncb
  2008-12-31 22:56 ` anhnmncb
@ 2009-01-02  3:38 ` Stefan Monnier
  2009-01-02 10:07   ` anhnmncb
  1 sibling, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2009-01-02  3:38 UTC (permalink / raw)
  To: anhnmncb; +Cc: emacs-devel

> Is there a varible that control the expanding behivior when on windows?

AFAIK, no.


        Stefan




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

* Re: Expand dir name with \ when on windows.
  2009-01-02  3:38 ` Stefan Monnier
@ 2009-01-02 10:07   ` anhnmncb
  0 siblings, 0 replies; 6+ messages in thread
From: anhnmncb @ 2009-01-02 10:07 UTC (permalink / raw)
  To: emacs-devel

On 2009-01-02, Stefan Monnier wrote:
>> Is there a varible that control the expanding behivior when on windows?
>
> AFAIK, no.
Thank you.


-- 
Regards,
anhnmncb





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

end of thread, other threads:[~2009-01-02 10:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2009-01-02  3:38 ` Stefan Monnier
2009-01-02 10:07   ` anhnmncb

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.