emacs-devel
[Top][All Lists]
Advanced

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

Re: Streams: add stream-delay and streams of directory files


From: Eli Zaretskii
Subject: Re: Streams: add stream-delay and streams of directory files
Date: Thu, 11 Feb 2016 22:48:23 +0200

> From: Michael Heerdegen <address@hidden>
> Date: Thu, 11 Feb 2016 14:32:13 +0100
> Cc: Nicolas Petton <address@hidden>
> 
> attached (at the end) is a patch for stream.el adding two things: (1) a
> new macro `stream-delay' and (2) a function `stream-of-directory-files'
> returning streams of directory files, optionally recursively.
> Especially in the recursive case, a stream of directory files is better
> to handle than a list: since it's delayed, it just encapsulates a
> directory search to do.  No huge list needs to be accumulated; you can
> stop when you have found what you have searched for, resume searching
> later, etc. - just as with any stream.

Thanks.

Would you please consider adding suitable changes to the documentation
for these patches?



reply via email to

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