Gnus development mailing list
 help / color / mirror / Atom feed
From: Masaharu Onishi <onishi@nova.co.jp>
Subject: [sgnus-0.26] gnus-summary-refer-parent-article does not work
Date: Fri, 22 Dec 1995 14:55:01 +0900	[thread overview]
Message-ID: <199512220555.OAA19869@onsgw.nova.co.jp> (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


                 reply	other threads:[~1995-12-22  5:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=199512220555.OAA19869@onsgw.nova.co.jp \
    --to=onishi@nova.co.jp \
    /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).