For example, when I run find or grep in a directory with plenty of files, the output of the subprocess may continue for 1 minute, while I can’t stop it. 在 2020年3月26日 +0800 PM10:38,Eli Zaretskii ,写道: > > Date: Thu, 26 Mar 2020 21:43:31 +0800 > > From: HaiJun Zhang > > Cc: monnier@iro.umontreal.ca, rpluim@gmail.com, emacs-devel@gnu.org > > > > If too many data arrives, emacs may be unresponsive. > > > > Unresponsive due to what processing? Are you saying that just > > _receiving_ the data takes most of the time? I think what takes most > > of the time is the processing by the filter function, in which case > > making the filter function process just the few first characters will > > do. > > > > Yes. I want to block the sender for some time. It is like to limit the bandwidth to 500KB/s or 10 packets/s. > > I don't see how this will help anything, sorry.