all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: terminal-emulator breaking functions?
       [not found]   ` <87vcv0ofr6.fsf@yun.yagibdah.de>
@ 2011-07-18  4:13     ` Stefan Monnier
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2011-07-18  4:13 UTC (permalink / raw)
  To: help-gnu-emacs

>> `terminal-emulator' is a very round-about way to run a program, unless
>> you really want the program's output to be displayed according to the
>> rules of a terminal (i.e. interpreting the various escape code for
>> cursor motion and things like that).  Otherwise, you'll want things like
>> call-process, start-process, and shell-command.

> The problem lies in not being able to pipe the contents of a buffer to
> an external program.  How do I do that?

Take a look at process-send-region and process-send-string.


        Stefan


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-18  4:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <878vs5ao4j.fsf@yun.yagibdah.de>
     [not found] ` <jwvzkke5jaj.fsf-monnier+gnu.emacs.help@gnu.org>
     [not found]   ` <87vcv0ofr6.fsf@yun.yagibdah.de>
2011-07-18  4:13     ` terminal-emulator breaking functions? Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.