From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45146 Path: main.gmane.org!not-for-mail From: raeburn@raeburn.org Newsgroups: gmane.emacs.gnus.general Subject: most-recent-date sorting and broken date strings in ognus-0.05 Date: Thu, 06 Jun 2002 21:26:11 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1023413319 16929 127.0.0.1 (7 Jun 2002 01:28:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 7 Jun 2002 01:28:39 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17G8YQ-0004Ow-00 for ; Fri, 07 Jun 2002 03:28:38 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17G8WS-0007Kp-00; Thu, 06 Jun 2002 20:26:36 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 06 Jun 2002 20:26:54 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id UAA09318 for ; Thu, 6 Jun 2002 20:26:43 -0500 (CDT) Original-Received: (qmail 25043 invoked by alias); 7 Jun 2002 01:26:20 -0000 Original-Received: (qmail 25038 invoked from network); 7 Jun 2002 01:26:15 -0000 Original-Received: from fort-point-station.mit.edu (18.7.7.76) by gnus.org with SMTP; 7 Jun 2002 01:26:15 -0000 Original-Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id VAA26906 for ; Thu, 6 Jun 2002 21:26:14 -0400 (EDT) Original-Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by grand-central-station.mit.edu (8.9.2/8.9.2) with ESMTP id VAA11256 for ; Thu, 6 Jun 2002 21:26:13 -0400 (EDT) Original-Received: from all-in-one.mit.edu (ALL-IN-ONE.MIT.EDU [18.18.1.71]) by melbourne-city-street.mit.edu (8.9.2/8.9.2) with ESMTP id VAA05600 for ; Thu, 6 Jun 2002 21:26:12 -0400 (EDT) Original-Received: (from raeburn@localhost) by all-in-one.mit.edu (8.9.3) id VAA30037; Thu, 6 Jun 2002 21:26:11 -0400 Original-To: ding@gnus.org Original-Lines: 23 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45146 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45146 I've been trying to use gnus-thread-sort-by-most-recent-date, and aside from the gathered-threads problem I reported before, one other problem keeps coming up. I have a few messages with bad date lines. When ietf-drums-parse-date hits them, encode-time reports an error, the sorting blows out, and I get an empty summary buffer. "2/19/2002" by "Spyder Mailer 1.0" "Sun, 2 Jan 100 14:39:12 EST" and the like by elm The first is spam, and ELM has since been fixed, but the messages are still in my mailbox. I'd rather not resort to hand-editing the messages every time a broken message comes in. Using gnus-summary-sort-by-date doesn't have this problem, because it uses gnus-date-get-time. Indeed, things just seem much happier if I fset mail-header-parse-date to a function that uses gnus-date-get-time. Is there any reason not to redefine ietf-drums-parse-date to use it? Ken