problem with changing directories in Xemacs shell

Jerry James james at xemacs.org
Thu Aug 3 11:37:11 EDT 2006


Robert Abad <Robert_Abad at Trimble.com> wrote:
> So I run a shell in Xemacs.  When I attempt to change directories, I
> use the TAB key to auto-fill the name of the directory.  However, the
> Xemacs shell appends a forward slash ('\') to the end of the directory
> name instead of a backslash ('/'), essentially behaving as if the
> shell were a DOS command line instead of a unix environment.  So what
> should look like this:
>  
> $cd  c:/projects/code
>  
> ends up looking like this:
>  
> $cd c:\projects\code
>  
> And, of course, the command doesn't actually execute because its
> formatted incorrectly.

You might try setting the value of directory-sep-char, as follows:

(setq directory-sep-char ?/)

but I'm afraid that may have other consequences, since it affects system
calls as well.
-- 
Jerry James, Assistant Professor        james at xemacs.org
Computer Science Department             http://www.cs.usu.edu/~jerry/
Utah State University




More information about the XEmacs-Beta mailing list