From: Xavier Maillard <zedek@gnu-rox.org>
Subject: [PATCH]: Do not fetch nnrss url when unplugged
Date: Fri, 05 Mar 2004 08:58:06 +0100 [thread overview]
Message-ID: <plop87n06vrai9.fsf@gnu-rox.org> (raw)
Hello,
As discussed earlier this week, I had to "modify" nnrss.el to allow
offline reading of nnrss feeds.
The patch consists on checking 'gnus-plugged` value and if 't', let
fetch-nnrss function fetch the url.
Here is the patch:
--- nnrss.el.orig 2004-03-05 08:52:55.000000000 +0100
+++ nnrss.el 2004-03-03 08:24:56.000000000 +0100
@@ -259,7 +259,8 @@
(if local
(let ((coding-system-for-read 'binary))
(insert-file-contents url))
- (mm-url-insert url))
+ (if gnus-plugged
+ (mm-url-insert url)))
;; Because xml-parse-region can't deal with anything that isn't
;; xml and w3-parse-buffer can't deal with some xml, we have to
I don't think you need my FSF papers for such a so tiny patch ;-)
(though I should send 'em).
Regards,
zeDek
--
GNUSFR.ORG http://gnusfr.org/
EMACSFR.ORG http://emacsfr.org/
Xavier Maillard Tel: +33 6 68 04 64 37
next reply other threads:[~2004-03-05 7:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-05 7:58 Xavier Maillard [this message]
2004-03-08 15:31 ` Kevin Greiner
2004-03-09 15:41 ` Xavier Maillard
2004-03-10 2:50 ` Kevin Greiner
2004-03-10 10:06 ` Xavier Maillard
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=plop87n06vrai9.fsf@gnu-rox.org \
--to=zedek@gnu-rox.org \
/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).