Gnus development mailing list
 help / color / mirror / Atom feed
From: Mark Thomas <pgh_mthomas@yahoo.com>
Subject: patch for gnus-parent-id
Date: Mon, 18 Feb 2002 13:33:27 -0500	[thread overview]
Message-ID: <wf14rkewspv.fsf@svelte.home> (raw)


2002-02-18  Mark Thomas  <mthomas@cmu.edu>

	* gnus-util.el (gnus-parent-id): Ignore trailing whitespace in the
	References: header

Index: lisp/gnus-util.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-util.el,v
retrieving revision 6.48
diff -u -r6.48 gnus-util.el
--- lisp/gnus-util.el	2002/02/15 13:17:53	6.48
+++ lisp/gnus-util.el	2002/02/18 18:43:23
@@ -484,8 +484,8 @@
 	  (while (nthcdr n ids)
 	    (setq ids (cdr ids)))
 	  (car ids))
-      (when (string-match "<[^<]+\\'" references)
-	(match-string 0 references)))))
+      (when (string-match "\\(<[^<]+>\\)[ \t]*\\'" references)
+	(match-string 1 references)))))
 
 (defun gnus-buffer-live-p (buffer)
   "Say whether BUFFER is alive or not."



             reply	other threads:[~2002-02-18 18:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-18 18:33 Mark Thomas [this message]
2002-02-18 18:45 ` Paul Jarc
2002-02-18 19:09   ` Mark Thomas
2002-02-18 19:20     ` Paul Jarc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wf14rkewspv.fsf@svelte.home \
    --to=pgh_mthomas@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).