From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35000 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Better References: parsing Date: 26 Feb 2001 11:42:13 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035170816 668 80.91.224.250 (21 Oct 2002 03:26:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:26:56 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 7746CD049D for ; Mon, 26 Feb 2001 11:42:41 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAB13282; Mon, 26 Feb 2001 10:42:34 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 26 Feb 2001 10:41:55 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id KAA04504 for ; Mon, 26 Feb 2001 10:41:47 -0600 (CST) Original-Received: from multivac.cwru.edu (multivac.STUDENT.CWRU.Edu [129.22.96.25]) by mailhost.sclp.com (Postfix) with SMTP id 802DAD049D for ; Mon, 26 Feb 2001 11:42:14 -0500 (EST) Original-Received: (qmail 24846 invoked by uid 500); 26 Feb 2001 16:42:35 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 25 Xref: main.gmane.org gmane.emacs.gnus.general:35000 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35000 Some user agents truncate References: when it gets long, and not very intelligently, so it ends up as, e.g., "... ", which breaks gnus-split-references. This patch against current CVS helps. --- gnus-util.el~ Mon Feb 26 11:27:44 2001 +++ gnus-util.el Mon Feb 26 11:27:27 2001 @@ -382,7 +382,7 @@ "Return a list of Message-IDs in REFERENCES." (let ((beg 0) ids) - (while (string-match "<[^>]+>" references beg) + (while (string-match "<[^> \t]+>" references beg) (push (substring references (match-beginning 0) (setq beg (match-end 0))) ids)) (nreverse ids))) (Are ChangeLog entries desired for such small changes? If so: 2001-02-26 11:27:27 Paul Jarc * gnus-util.el (gnus-split-references): Handle malformed References:. ) paul