home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!rudis
- From: rudis+@cs.cmu.edu (Rujith S DeSilva)
- Subject: Re: easy gnuemacs questions
- Message-ID: <1992Jul27.161716.77531@cs.cmu.edu>
- Date: Mon, 27 Jul 92 16:17:16 GMT
- Organization: School of Computer Science, Carnegie Mellon
- Nntp-Posting-Host: probacto.soar.cs.cmu.edu
- References: <1992Jul27.051435.16819@leland.Stanford.EDU> <RATINOX.92Jul27083452@splinter.coe.northeastern.edu>
- Lines: 36
-
- In article <RATINOX.92Jul27083452@splinter.coe.northeastern.edu>
- ratinox@splinter.coe.northeastern.edu (Richard Pieri/Stainless Steel Rat)
- writes:
- >>>>>> On 27 Jul 92 05:14:35 GMT, cmeyer@warp.Stanford.EDU (Craig Meyer)
- >>>>>> said:
- >CM> 1) Is there a way to specify two or more files when invoking gnuemacs,
- >CM> with each file ending up in its own window?
- >
- >Certainly: emacs file1 file2 file3 ... filen
-
- This doesn't make each file end up in its own window.
-
- >CM> 2) Is there a way to make . refer to the directory where gnuemacs was
- >CM> invoked instead of the default directory?
- >
- >Normally this behavior is... normal :-). Check your .emacs file and the
- >system configuration for a "cd" command. You may want to ask your sysadmin
- >if you didn't understand that.
-
- Useful advice, and probably addresses CM's particular problem. However, in
- emacs, `.' refers neither to the default directory, nor to the directory
- emacs was invoked in. Try it and see!
-
- Both the above would require some hacking to do.
-
- >CM> 3) What is a simple way to change the default directory? (This is
- >CM> a real beginner's question; I know that I have to set the variable
- >CM> default-directory, but I don't know the syntax for binding this to a key.)
- >
- >M-x cd RET directory RET
-
- Right. It doesn't help that `apropos directory' doesn't point to `cd', and
- who would expect the Unix command to work within emacs?
-
- Rujith de Silva.
- Carnegie-Mellon University.
-