Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!jpayne From: jpayne@rochester.ARPA (Jonathan Payne) Newsgroups: comp.emacs Subject: notion of current directory (GNUemacs) Message-ID: <23621@rochester.ARPA> Date: Tue, 6-Jan-87 16:57:14 EST Article-I.D.: rocheste.23621 Posted: Tue Jan 6 16:57:14 1987 Date-Received: Tue, 6-Jan-87 23:26:34 EST Organization: U of Rochester, CS Dept., Rochester, NY Lines: 14 Is the notion of current directory in GNU emacs PER BUFFER? And is that what gets changed when you do a cd? Lots of times I want to find a file in the current directory, namely the one in which I fired up emacs in the first place. But unless the file currently being visited is in that directory, you have to retype the entire pathname (or whatever's necessary). You can't just say "./" and you can't delete the entire supplied path name (say in find-file) and say "./" either. What I really want to do is find out what the current directory is - I don't care about find-file. But as far as I can tell, there's no way to find out what the current directory is, short of running /bin/pwd into a buffer. And I'm not even sure if THAT will work (but it probably would). Am I confused, or is there really no other way to do this?