Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ihlpa.att.com!danj1 From: danj1@ihlpa.att.com Newsgroups: gnu.emacs.bug Subject: list-directory should also cd to that directory Message-ID: <9002140218.AA24144@life.ai.mit.edu> Date: 14 Feb 90 01:31:00 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 15 [this might have faild to reach you the first attempt] Don't you hate when you do a list-directory (C-x C-d) and then try to find a file (C-x C-f) from the "*Directory*" buffer? the "*Directory*" buffer's current default directory is the same as the one you were in when you first created the "*Directory*" buffer (when you first did a list-directory) (use M-x pwd to check it), and bears no relation to the directory it displays. Subsequent list-directory calls change the contents of the "*Directory*" buffer, but not its current default directory. I propose that when one does a list-directory, the "*Directory*" buffer should also do a "cd" to the directory it will display. Dan Jacobson AT&T Bell Labs, Naperville IL USA 708-979-6364 danj1@ihlpa.ATT.COM