home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / emacs / 2934 < prev    next >
Encoding:
Text File  |  1992-08-22  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.emacs
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!foxtail!blkhole!don
  3. From: don@blkhole.resun.com (Don Phillips)
  4. Subject: Re: ??? Standard output into a buffer
  5. Sender: news@blkhole.resun.com (Usenet administrator)
  6. Message-ID: <DON.92Aug22212902@blkhole.resun.com>
  7. In-Reply-To: burky@austin.ibm.com's message of 19 Aug 92 16:12:17 GMT
  8. Date: Sun, 23 Aug 1992 02:29:02 GMT
  9. References: <1992Aug19.161217.16223@awdprime.austin.ibm.com>
  10. Nntp-Posting-Host: blkhole.resun.com
  11. Organization: Research Unlimited, Escondido, CA
  12. Lines: 19
  13.  
  14. >>>>> In article <1992Aug19.161217.16223@awdprime.austin.ibm.com>, burky@austin.ibm.com writes:
  15.  
  16.     burky> I'm trying to find a way to execute a program from
  17.     burky> within my emacs buffer such that the standard output of
  18.     burky> that program is directed to the insertion point in my
  19.     burky> buffer.
  20.  
  21. From the on-line documentation:
  22.  
  23. shell-command:
  24. Execute string COMMAND in inferior shell; display output, if any.
  25. Optional second arg non-nil (prefix arg, if interactive)
  26. means insert output in current buffer after point (leave mark after it).
  27.  
  28. Hope this helps
  29. --
  30.   Don Phillips         don@blkhole.resun.com  or don%blkhole.resun.com@nosc.mil
  31.   Research Unlimited   or ...!ncr-sd!blkhole!don
  32.   Escondido, Calif.    My opinions are just that, and no more.
  33.