emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to change the recv buffer size dynamically for networ


From: Stefan Monnier
Subject: Re: Is it possible to change the recv buffer size dynamically for network process or subprocess?
Date: Thu, 26 Mar 2020 13:34:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Doesn't setting the process-filter to t do this? (except for the
> override part, I guess)
>
> (set-process-filter PROCESS FILTER)
>
> Give PROCESS the filter function FILTER; nil means default.
> A value of t means stop accepting output from the process.
> [....]

Ah, indeed you're right.

It's a bit clunky (it means you need to temporarily store the filter
elsewhere and other code that may want to change the filter needs to
know where to find it), but that should be good enough for a start.

HaiJun?


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]