From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2852 Path: news.gmane.org!not-for-mail From: #pranav@cisco.com (Pranav K. Tiwari) Newsgroups: gmane.emacs.gnus.user Subject: Re: expiry-target Date: Wed, 13 Aug 2003 12:04:13 +0530 Organization: Cisco Systems Inc. Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669133 16575 80.91.229.2 (31 Jan 2006 00:58:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:58:53 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:31:19 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (windows-nt) Cancel-Lock: sha1:wdpukBATwAUtvja0rQOvIzDNoio= Cache-Post-Path: sj-nntpcache-3!unknown@dhcp-64-104-147-85.cisco.com X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Original-X-Complaints-To: abuse@supernews.com Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2992 Original-Lines: 35 X-Gnus-Article-Number: 2992 Tue Jan 17 17:31:19 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2852 Archived-At: > >> Found a diff in my CVS tree which I think could be useful to others too. >> >> There are two places where nnmail-expiry-target is used. On gnus-group.el, >> it's run through format-time-string, but in gnus-sum.el, it's not. The >> following diffs fix the discrepancy. >> >> -p >> >> >> Index: gnus-sum.el >> =================================================================== >> RCS file: /usr/local/cvsroot/gnus/lisp/gnus-sum.el,v >> retrieving revision 6.356 >> diff -r6.356 gnus-sum.el >> 9192a9193,9196 >>> (nnmail-expiry-target >>> (if (stringp nnmail-expiry-target) >>> (format-time-string nnmail-expiry-target) >>> nnmail-expiry-target)) > > In my gnus, format-time-string is not invoked on *-expiry-target in > neither file? Sorry - my bad .. Looked more carefully, and realized that format-time-string was added into both files by me in my local CVS tree. I remember I was looking for the ability to archive expired mails from different months into different folders, and using a function as expiry-target didn't work very well on nnimap groups. So, I had hacked this code to run format-time-string to achieve that purpose. -p