From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61912 Path: news.gmane.org!not-for-mail From: Ted Stern Newsgroups: gmane.emacs.gnus.general Subject: Re: Total expiry not working -- is clock skew the problem? Date: Wed, 08 Feb 2006 12:49:09 -0800 Organization: The Boeing Company Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1139431933 29679 80.91.229.2 (8 Feb 2006 20:52:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2006 20:52:13 +0000 (UTC) Original-X-From: ding-owner+m10441@lists.math.uh.edu Wed Feb 08 21:52:11 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F6wI6-0006eV-AN for ding-account@gmane.org; Wed, 08 Feb 2006 21:51:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1F6wI1-0001W0-00; Wed, 08 Feb 2006 14:51:49 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1F6wGr-0001Vv-00 for ding@lists.math.uh.edu; Wed, 08 Feb 2006 14:50:37 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1F6wGn-0000ww-KT for ding@lists.math.uh.edu; Wed, 08 Feb 2006 14:50:37 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1F6wGi-0008PR-00 for ; Wed, 08 Feb 2006 21:50:28 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F6wGc-0006HW-UT for ding@gnus.org; Wed, 08 Feb 2006 21:50:23 +0100 Original-Received: from orca.drizzle.com ([216.162.192.15]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Feb 2006 21:50:22 +0100 Original-Received: from dodecatheon by orca.drizzle.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Feb 2006 21:50:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 87 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: orca.drizzle.com User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:e1TQEcxZ9P/3+qdKyFh5nOwCn0Y= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61912 Archived-At: On 7 Feb 2006 at 19:37 UTC-0800, Katsumi Yamaoka wrote: >>>>> In Ted Stern wrote: > >> One more note -- if I set expiry-wait to 0.0 on a topic, that works >> perfectly. It is only non-zero values that do not work. > >> On 7 Feb 2006 at 08:28 UTC-0800, Ted Stern wrote: > >>> I started a new job about 100 days ago and had to reconstitute my >>> entire Gnus setup, almost from scratch. In my old job, I had total >>> expiry turned on and articles expired with no problems. Now I have >>> total expiry turned on in the group parameters for an entire topic, >>> but nothing has expired automatically since day one. > > Well, you're talking about nnfolder groups, aren't you? Yes, sorry for not being more specific! > If so, how does the X-Gnus-Article-Number header in old articles > look? (You may need to type `t' in the summary buffer.) Here is one example: X-Gnus-Article-Number: 1 Mon Nov 7 12:45:27 2005 This looks like it should be in the right format, right? Other details: - I have threads sorted by date, not number. From ~/.gnus: (setq gnus-sort-gathered-threads-function 'gnus-thread-sort-by-date) (setq gnus-thread-sort-functions '( (not gnus-thread-sort-by-most-recent-date) )) - My mailing list email comes to me through a tortuous path: => gmail account, adding extra headers at beginning => fwd'd to company mail => goes through company mail filter that filters for spam and adds extra headers => procmail, in which I filter out gmail forwarding headers at beginning. So is it possible that Gnus is not seeing the X-Gnus-Article-Number header because it comes after a bunch of other headers? > For example, it should be something like: > > X-Gnus-Article-Number: 1234 Tue Feb 7 08:28:55 2006 > > Where 1234 is an article number and the rest is a timestamp. Gnus > will look at this timestamp to decide whether to expire the article, > so if there's no such header, the time stamp is corrupted or it > shows a future date, expiring will not take place. I have no more > idea if those are going well. > > BTW, expiring might be executed in your machine eight hours earlier > than the time specified with expiry-wait. It is because the > timestamp in the X-Gnus-Article-Number header is made by the > current-time-string function and doesn't have a timezone info. For > instance: > > (progn > (setenv "TZ" "PST8PDT") ;; -0800 > (/ (time-to-seconds (time-since (current-time-string))) 3600)) > => 8.000075615555556 Aha. This could be the problem. There is a problem with time-since input in my Emacs. (progn (setenv "TZ" "PST8PDT") ;; -0800 (time-since (current-time-string))) ,----[ lisp debugger output ] | Debugger entered--Lisp error: (wrong-type-argument listp "Wed Feb 8 12:45:24 2006") | time-since("Wed Feb 8 12:45:24 2006") | (progn (setenv "TZ" "PST8PDT") (time-since (current-time-string))) | eval((progn (setenv "TZ" "PST8PDT") (time-since (current-time-string)))) | eval-last-sexp-1(t) | eval-last-sexp(t) | eval-print-last-sexp() | call-interactively(eval-print-last-sexp) | recursive-edit() | byte-code("Æ @Ç=ƒ!