unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* processes' filter functions and buffers -- data chunks
@ 2007-09-30 21:02 Peter Tury
  2007-10-01  9:36 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Tury @ 2007-09-30 21:02 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I read in (elisp)Filter Functions that "[A process'] output to the
[filter] function may come in chunks of any size.  A program that
produces the same output twice in a row may send it as one batch of
200 characters one time, and five batches of 40 characters the next."

What determines how and why this splitting happens? Is this an Emacs
feature? Or depends only on the process (e.g. the program what Emacs
connects to)? Or is this OS-dependent?

I see some similar thing happening in the process' buffer also:
sometimes I can't see the process' output until more output
arrives. It seems the output is buffered somewhere and it doesn't
displayed in the associated Emacs buffer until that (OS?) buffer is
filled up. (I use official GNU Emacs v22 on MS Windows XP.) However,
output is OK (=always showed up completely) in "Command/DOS windows",
thus it seems this is Emacs "feature"??

I found this "unpredictable" splitting quite annoying and I don't know
if I have chance to avoid this behaviour by modifying the peer program
or I absolutely have to live with this feature?

Thanks,
P

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-01  9:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-30 21:02 processes' filter functions and buffers -- data chunks Peter Tury
2007-10-01  9:36 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).