help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Gnus: Thread notes?


From: Michael Heerdegen
Subject: Re: Gnus: Thread notes?
Date: Thu, 14 Dec 2017 12:31:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> The following feels awkward to me, but I can't find any sort of "reverse
> reduce" function in the libs. Is there a sexier way of doing this?

> +              (let ((ret articles))
> +                (dolist (f gnus-alter-articles-to-read-function)
> +                  (setq ret (funcall f gnus-newsgroup-name ret)))))

Hmm - you would need to reduce with a lambda.  That still counts as sexy
enough, I think.


Michael.



reply via email to

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