From: "Bjørn Mork" <bmork@dod.no>
Subject: Re: Server variables in ~/News/agent/lib/servers
Date: Sun, 16 Jun 2002 21:48:47 +0200 [thread overview]
Message-ID: <hvlm9fhun4.fsf@rasputin.ws.nextra.no> (raw)
In-Reply-To: <hvsn3nhuwi.fsf@rasputin.ws.nextra.no>
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
Bjørn Mork <bmork@dod.no> writes:
> I've attached a new version of the patch using your code.
Which could have been better tested. Sorry. This one should be
correct.
Bjørn
--
Stupid underpriviledged fool!
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: agent-servers.diff --]
[-- Type: text/x-patch, Size: 1166 bytes --]
Index: lisp/gnus-agent.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-agent.el,v
retrieving revision 6.72
diff -u -r6.72 gnus-agent.el
--- lisp/gnus-agent.el 2002/05/29 13:25:56 6.72
+++ lisp/gnus-agent.el 2002/06/16 20:11:51
@@ -628,8 +628,12 @@
(defun gnus-agent-read-servers ()
"Read the alist of covered servers."
(setq gnus-agent-covered-methods
- (gnus-agent-read-file
- (nnheader-concat gnus-agent-directory "lib/servers"))))
+ (mapcar (lambda (m)
+ (gnus-server-get-method
+ nil
+ (or m "native")))
+ (gnus-agent-read-file
+ (nnheader-concat gnus-agent-directory "lib/servers")))))
(defun gnus-agent-write-servers ()
"Write the alist of covered servers."
@@ -637,7 +641,8 @@
(let ((coding-system-for-write nnheader-file-coding-system)
(file-name-coding-system nnmail-pathname-coding-system))
(with-temp-file (nnheader-concat gnus-agent-directory "lib/servers")
- (prin1 gnus-agent-covered-methods (current-buffer)))))
+ (prin1 (mapcar 'gnus-method-simplify gnus-agent-covered-methods)
+ (current-buffer)))))
;;;
;;; Summary commands
next prev parent reply other threads:[~2002-06-16 19:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-06 10:49 Bjørn Mork
2002-06-11 19:56 ` Simon Josefsson
2002-06-14 16:43 ` Bjørn Mork
2002-06-15 17:34 ` Kai Großjohann
2002-06-16 19:43 ` Bjørn Mork
2002-06-16 19:48 ` Bjørn Mork [this message]
2002-06-16 20:47 ` Kai Großjohann
2002-06-16 20:56 ` Simon Josefsson
2002-06-16 21:14 ` Bjørn Mork
2002-06-17 7:27 ` Simon Josefsson
2002-06-17 9:09 ` Bjørn Mork
2002-06-17 9:55 ` Simon Josefsson
2002-06-24 11:50 ` Steinar Bang
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=hvlm9fhun4.fsf@rasputin.ws.nextra.no \
--to=bmork@dod.no \
/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).