From: Frank Weinberg <frank@usenet-rundfahrt.de>
Subject: [Patch] gnus-article-refer-article
Date: Fri, 07 Feb 2003 21:05:40 +0100 [thread overview]
Message-ID: <4445@msgid.usenet-rundfahrt.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 330 bytes --]
Hi,
when faced with a message-ID of the form <news:$ID>
gnus-article-refer-article fails miserably. The following patch corrects
this.
Suggested ChangeLog entry:
2003-02-07 Frank Weinberg <frank@usenet-rundfahrt.de>
* gnus-art.el (gnus-article-refer-article): Strip leading "news:"
from message-ID
Frank
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnus-art.el.patch --]
[-- Type: text/x-patch, Size: 480 bytes --]
--- gnus-art.el.orig Fri Feb 7 20:18:45 2003
+++ gnus-art.el Fri Feb 7 20:22:35 2003
@@ -4741,7 +4741,7 @@
(let ((point (point)))
(search-forward ">" nil t) ;Move point to end of "<....>".
(if (re-search-backward "\\(<[^<> \t\n]+>\\)" nil t)
- (let ((message-id (match-string 1)))
+ (let ((message-id (replace-regexp-in-string "<news:" "<" (match-string 1))))
(goto-char point)
(set-buffer gnus-summary-buffer)
(gnus-summary-refer-article message-id))
next reply other threads:[~2003-02-07 20:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-07 20:05 Frank Weinberg [this message]
2003-02-07 20:28 ` Lars Magne Ingebrigtsen
2003-02-08 14:54 ` Reiner Steib
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=4445@msgid.usenet-rundfahrt.de \
--to=frank@usenet-rundfahrt.de \
/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).