From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84778 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: [Patch] tell expiry-hook functions where expired messages are going Date: Thu, 14 Aug 2014 20:30:54 +0900 Message-ID: References: <877g2w3596.fsf@ericabrahamsen.net> <871tsurooq.fsf@ericabrahamsen.net> <8761hvseiw.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1408015922 22277 80.91.229.3 (14 Aug 2014 11:32:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2014 11:32:02 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33021@lists.math.uh.edu Thu Aug 14 13:31:55 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XHtG4-0002Ts-6w for ding-account@gmane.org; Thu, 14 Aug 2014 13:31:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1XHtFT-0007nm-8D; Thu, 14 Aug 2014 06:31:15 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XHtFR-0007nX-Ni for ding@lists.math.uh.edu; Thu, 14 Aug 2014 06:31:13 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XHtFP-0008QA-Sp for ding@lists.math.uh.edu; Thu, 14 Aug 2014 06:31:13 -0500 Original-Received: from mail-hampton.hostforweb.net ([205.234.186.191] helo=hampton.hostforweb.net) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XHtFO-0004Qi-86 for ding@gnus.org; Thu, 14 Aug 2014 13:31:10 +0200 Original-Received: from localhost.localdomain ([127.0.0.1]:55225 helo=localhost) by hampton.hostforweb.net with esmtpa (Exim 4.82) (envelope-from ) id 1XHtFB-004LLI-Ga for ding@gnus.org; Thu, 14 Aug 2014 06:31:03 -0500 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:23JnyugIHuJNu2ToKoX5uWJ+x4k= X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84778 Archived-At: Eric Abrahamsen wrote: > Alan Schmitt writes: >> Hello, >> >> On 2014-08-06 20:14, Katsumi Yamaoka writes: >> >>> I've reverted the change in the Gnus git master and the Emacs trunk. >>> Please reinstall the feature if you get a good solution. I have >>> no idea for it so far, sorry. >> >> Here is an adaptation of Eric's patch that takes these problems into >> account. As the target is either a string, the 'delete symbol, or >> a function, I test those in turn. In the case it's a function, the >> result from the call should be either a string or a 'delete symbol or >> a string. In the case it's a 'delete symbole, the hook is called with >> 'nil' as target. >> >> Eric: I reused your log message, I hope you don't mind. >I don't mind at all, of course! This seems like the only solution that's >likely to work. The only sure-fire solution would be to have the expiry >functions return a list of articles they expired, and where they expired >them to, but that's the opposite of what they do now -- they return a >list of article that *weren't* expired. Installed. Thanks!