Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!HSCFVAX.HARVARD.EDU!lloyd!sunfs3!geoff From: lloyd!sunfs3!geoff@HSCFVAX.HARVARD.EDU (Geoffrey Knauth) Newsgroups: gnu.emacs.bug Subject: shell mode & $cdpath Message-ID: <8902092136.AA16863@sunfs3.camex.uucp> Date: 9 Feb 89 21:36:33 GMT References: <8902092130.AA18134@sunfs2.camex.uucp> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 18 Date: Thu, 9 Feb 89 16:30:46 EST From: tod@sunfs2 (Tod Hagan) The manual indicates that in shell mode emacs goes to great lengths to recognize cd, pushd and popd commands so that it may keep the '*shell*' buffer's default directory the same as the working directory of the shell. I see that it can deal with aliases for those commands but I see nothing about handling the 'cdpath' variable in the c-shell. Is there an undocumented feature for handling 'cdpath'? Emacs recognizes all my cd / pushd / popd commands, so long as they are typed right after the prompt. I don't know about $cdpath. I'll have to look or ask. Note that: % do_something_here_and_then; cd somewhere_else leaves emacs thinking it's still in the old directory. (Try "M-x pwd".)