home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / emacs / help / 3509 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.9 KB  |  48 lines

  1. Newsgroups: gnu.emacs.help
  2. 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
  3. From: rudis+@cs.cmu.edu (Rujith S DeSilva)
  4. Subject: Re: easy gnuemacs questions
  5. Message-ID: <1992Jul27.161716.77531@cs.cmu.edu>
  6. Date: Mon, 27 Jul 92 16:17:16 GMT
  7. Organization: School of Computer Science, Carnegie Mellon
  8. Nntp-Posting-Host: probacto.soar.cs.cmu.edu
  9. References: <1992Jul27.051435.16819@leland.Stanford.EDU> <RATINOX.92Jul27083452@splinter.coe.northeastern.edu>
  10. Lines: 36
  11.  
  12. In article <RATINOX.92Jul27083452@splinter.coe.northeastern.edu>
  13. ratinox@splinter.coe.northeastern.edu (Richard Pieri/Stainless Steel Rat)
  14. writes:
  15. >>>>>> On 27 Jul 92 05:14:35 GMT, cmeyer@warp.Stanford.EDU (Craig Meyer)
  16. >>>>>> said:
  17. >CM> 1) Is there a way to specify two or more files when invoking gnuemacs,
  18. >CM> with each file ending up in its own window?
  19. >
  20. >Certainly: emacs file1 file2 file3 ... filen
  21.  
  22. This doesn't make each file end up in its own window.
  23.  
  24. >CM> 2) Is there a way to make . refer to the directory where gnuemacs was 
  25. >CM> invoked instead of the default directory?
  26. >
  27. >Normally this behavior is... normal :-). Check your .emacs file and the
  28. >system configuration for a "cd" command. You may want to ask your sysadmin
  29. >if you didn't understand that.
  30.  
  31. Useful advice, and probably addresses CM's particular problem.  However, in
  32. emacs, `.'  refers neither to the default directory, nor to the directory
  33. emacs was invoked in.  Try it and see!
  34.  
  35. Both the above would require some hacking to do.
  36.  
  37. >CM> 3) What is a simple way to change the default directory?  (This is 
  38. >CM> a real beginner's question; I know that I have to set the variable
  39. >CM> default-directory, but I don't know the syntax for binding this to a key.)
  40. >
  41. >M-x cd RET directory RET
  42.  
  43. Right.  It doesn't help that `apropos directory' doesn't point to `cd', and
  44. who would expect the Unix command to work within emacs?
  45.  
  46. Rujith de Silva.
  47. Carnegie-Mellon University.
  48.