home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.lucid-emacs.help
- Sender: help-lucid-emacs-request@lucid.com
- Date: Wed, 29 Jul 92 10:27:03 PDT
- Message-ID: <9207291727.AA22139@thalidomide.lucid>
- X-Windows: Dissatisfaction guaranteed.
- From: Jamie Zawinski <jwz@lucid.com>
- Subject: Re: RPC protocols in LEmacs 19
- References: <4028@seti.UUCP>
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Lines: 20
-
- In message <4028@seti.UUCP> Chet Murthy wrote:
- >
- > Which incurs the allocation cost of the buffer/string list. Does
- > anybody out there have a better idea? Or, even better, has anybody
- > implemented this?
-
- There are two ways to deal with processes in emacs: one is to have a function
- be called with a string of the process output as it arrives: this conses a
- string. The other is to have the text automagically added to a buffer: this
- doesn't really cons anything, since buffers can easily be reused, but it
- doesn't give you any way of noticing when new output has arrived.
-
- I think there should be a third way, which puts the text into a buffer, and
- then calls a function to tell you that it's there. This seems to be what
- you're asking for.
-
- But unless you're dealing with really large amounts of data, the "call a
- function with a string" method should be fine.
-
- -- Jamie
-