From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Gnus: Thread notes? Date: Thu, 14 Dec 2017 15:41:23 -0800 Message-ID: <87ind8q3mk.fsf@ericabrahamsen.net> References: <87o9pc359b.fsf@web.de> <874lr3pz2q.fsf@ericabrahamsen.net> <87o9p6zy4f.fsf@web.de> <878tgavoio.fsf@ericabrahamsen.net> <87fu93ulhz.fsf@web.de> <87o9nq50hi.fsf@ericabrahamsen.net> <877eudsj2x.fsf@web.de> <874lpfjgb2.fsf@ericabrahamsen.net> <87indv6iup.fsf@web.de> <87wp2agxo5.fsf@ericabrahamsen.net> <87mv2om8tj.fsf@web.de> <874lovrhl1.fsf@ericabrahamsen.net> <87o9n27q9z.fsf@web.de> <87po7io691.fsf@ericabrahamsen.net> <87po7hlf4p.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513294934 2835 195.159.176.226 (14 Dec 2017 23:42:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Dec 2017 23:42:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 15 00:42:11 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePd8k-0000Sk-RR for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2017 00:42:10 +0100 Original-Received: from localhost ([::1]:43450 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePd8q-0003XJ-71 for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Dec 2017 18:42:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePd8D-0003WC-2Y for help-gnu-emacs@gnu.org; Thu, 14 Dec 2017 18:41:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePd8A-00083J-1S for help-gnu-emacs@gnu.org; Thu, 14 Dec 2017 18:41:37 -0500 Original-Received: from [195.159.176.226] (port=40228 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePd89-0007zX-CY for help-gnu-emacs@gnu.org; Thu, 14 Dec 2017 18:41:33 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ePd7z-0006nq-KC for help-gnu-emacs@gnu.org; Fri, 15 Dec 2017 00:41:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:Xc7Ez0W8VVSgkqKG9trgGcz7B1I= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115362 Archived-At: Michael Heerdegen writes: > Eric Abrahamsen 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. Erm, I don't quite know what you mean. Post a bit of code?