Mail Archives: djgpp-workers/2002/03/03/12:38:11
According to Eli Zaretskii:
> I tried this now, and I cannot reproduce the problem, I think. This
> sequence of commands:
Try adding "cd /djgpp; pushd /hackery/foo" here.
> set SHELL=c:/djgpp/bin/bash.exe
> emacs -q foo/f.c
> C-z
>
> lands me in a shell, where "pwd" reports `foo', and "ls" indeed
> prints the files in `foo'.
>
> Note that Emacs puts a PWD variable into the environment when it
> spawns a shell, and the value of PWD should state the directory of the
> file you were editing when you shelled out. Does this happen for you?
Yes and no. PWD is present but points at
e:/hackery/bash_emacs_confusion not at
e:/hackery/bash_emacs_confusion/a (/hackery, /hackery/foo in
your case).
> Could this be a result of some local customizations, either in Emacs
> or in Bash init files?
I don't think so. I haven't configured emacs at all and I don't think
I've configured bash.
> > Actually I think I found a way to reproduce it. I stand in
> > e:/hackery/bash_emacs_confusion and do "emacs a/c" where a/c doesn't
> > exist (a exists and is a directory), then I press C-Z the first thing
> > I do (after waiting some seconds).
>
> Can't reproduce this, either. Is this on DOS or on Windows?
Windows 98.
> Also, what version of Bash?
2.04.7(1)-release says $BASH_VERSION
Right,
MartinS
- Raw text -