Gnus development mailing list
 help / color / mirror / Atom feed
* [sgnus-0.26] gnus-summary-refer-parent-article does not work
@ 1995-12-22  5:55 Masaharu Onishi
  0 siblings, 0 replies; only message in thread
From: Masaharu Onishi @ 1995-12-22  5:55 UTC (permalink / raw)


"gnus-summary-refer-parent-article" does not work when actual
References header is used, because "gnus-parent-id" does not expect
references-string containing newlines.

Following patch is one solution.

--- gnus.el.org	Thu Dec 21 12:09:47 1995
+++ gnus.el	Fri Dec 22 14:32:13 1995
@@ -3478,7 +3478,7 @@
 (defun gnus-parent-id (references)
   "Return the last Message-ID in REFERENCES."
   (and references
-       (string-match "\\(<[^<>]+>\\) *$" references)
+       (string-match "\\(<[^<>]+>\\) *\n?\\'" references)
        (substring references (match-beginning 1) (match-end 1))))
 
 (defun gnus-ephemeral-group-p (group)

-- 
Masaharu Onishi		onishi@nova.co.jp


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-12-22  5:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-12-22  5:55 [sgnus-0.26] gnus-summary-refer-parent-article does not work Masaharu Onishi

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).