home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / next / misc / 18134 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  1.4 KB

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!usc!noiro.acs.uci.edu!nntpsrv
  2. From: cedman@714-725-3165.nts.uci.edu (Carl Edman)
  3. Subject: Re: Emacs 2.1 (Re: How to get an emacs META key?)
  4. Nntp-Posting-Host: 714-725-3165.nts.uci.edu
  5. Message-ID: <2A7063C8.26137@noiro.acs.uci.edu>
  6. Newsgroups: comp.sys.next.misc
  7. Reply-To: cedman@golem.ps.uci.edu (Carl Edman)
  8. Lines: 21
  9. Date: 24 Jul 92 20:10:48 GMT
  10. References: <HARDY.92Jul24102914@golem.ps.uci.edu>
  11.  
  12. Meinhard E. Mayer (Hardy) writes
  13. > Otto J. Makela writes:
  14. > ?   Just a silly question.  Is it possible to specify a filename on the
  15. > ?   "Emacs" command line like it is with normal emacs ?
  16. > You can but it won't read the file into the buffer (Emacs just
  17. > launches the front end, which in turn calls emacs but does not seem to
  18. > pass along arguments). Once you get used to the fact
  19. > thatmouse-selected regions are not highlighted (as in emacs running
  20. > under X), it certainly beats using emacs in a terminal window. 
  21.  
  22. Well, you shouldn't ever launch a NeXTstep application directly from the  
  23. command line. Instead use open(1) from the command line to use the window  
  24. server to do it.
  25.  
  26. Some time ago I hacked my version of Emacs to (among other things) accept the  
  27. openFile message. This allows you to open files in a running Emacs with 'open  
  28. -a Emacs <filename>' or even to set the Workspace DefaultOpenApp to Emacs so  
  29. that you can just double click on any file and it will come up in Emacs instead  
  30. of Edit.
  31.  
  32.     Carl Edman
  33.