From: "Arne Jørgensen" <arne@arnested.dk>
Subject: Re: Patch: Allow nnrss to be verbose
Date: Mon, 21 Feb 2005 15:54:48 +0100 [thread overview]
Message-ID: <87zmxyhsjr.fsf@seamus.arnested.dk> (raw)
In-Reply-To: <874qg6j7o7.fsf@seamus.arnested.dk>
[-- Attachment #1: Type: text/plain, Size: 373 bytes --]
Arne Jørgensen <arne@arnested.dk> writes:
> I use nnrss, but have no clue about which level to use either. What
> are other backends using for similar messages?
5 or 6 it seems.
And it looks like the normal thing to write would be
nnrss: Requesting Foo...
nnrss: Requesting Foo...done
Patch attached.
Kind regards,
--
Arne Jørgensen <http://arnested.dk/>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: nnrss.patch --]
[-- Type: text/x-patch, Size: 1350 bytes --]
Index: lisp/nnrss.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/nnrss.el,v
retrieving revision 7.25
diff -u -p -r7.25 nnrss.el
--- lisp/nnrss.el 20 Feb 2005 11:42:56 -0000 7.25
+++ lisp/nnrss.el 21 Feb 2005 14:53:11 -0000
@@ -66,9 +66,6 @@
(defvar nnrss-use-local nil)
-(defvar nnrss-verbose t
- "Write messages when requesting group.")
-
(defvar nnrss-description-field 'X-Gnus-Description
"Field name used for DESCRIPTION.
To use the description in headers, put this name into `nnmail-extra-headers'.")
@@ -148,8 +145,7 @@ ARTICLE is the article number of the cur
'nov)
(deffoo nnrss-request-group (group &optional server dont-check)
- (if nnrss-verbose
- (message (concat "nnrss requesting " group "...")))
+ (nnheader-message 6 (concat "nnrss: Requesting " group "..."))
(setq group (nnrss-decode-group-name group))
(nnrss-possibly-change-group group server)
(prog1
@@ -161,8 +157,7 @@ ARTICLE is the article number of the cur
"211 %d %d %d %s\n" nnrss-group-max nnrss-group-min nnrss-group-max
(prin1-to-string group)
t))
- (when nnrss-verbose
- (message (concat "nnrss done with " group ".")))))
+ (nnheader-message 6 (concat "nnrss: Requesting " group "...done"))))
(deffoo nnrss-close-group (group &optional server)
t)
next prev parent reply other threads:[~2005-02-21 14:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-19 18:23 Mark Plaksin
2005-02-20 0:47 ` Katsumi Yamaoka
2005-02-20 10:42 ` Mark Plaksin
2005-02-20 11:43 ` Katsumi Yamaoka
2005-02-21 13:51 ` Arne Jørgensen
2005-02-21 14:34 ` Reiner Steib
2005-02-21 14:42 ` Arne Jørgensen
2005-02-21 14:54 ` Arne Jørgensen [this message]
2005-02-21 16:05 ` Reiner Steib
2005-02-21 22:52 ` Katsumi Yamaoka
2005-02-21 23:25 ` Katsumi Yamaoka
2005-03-02 16:48 ` Fixes for nnrss.el (and rfc2047.el) in the v5-10 branch (was: Patch: Allow nnrss to be verbose) Reiner Steib
2005-04-05 0:43 ` Fixes for nnrss.el (and rfc2047.el) in the v5-10 branch Katsumi Yamaoka
2005-04-06 8:37 ` Katsumi Yamaoka
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=87zmxyhsjr.fsf@seamus.arnested.dk \
--to=arne@arnested.dk \
/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).