From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59868 Path: main.gmane.org!not-for-mail From: =?utf-8?Q?Arne_J=C3=B8rgensen?= Newsgroups: gmane.emacs.gnus.general Subject: Re: Patch: Allow nnrss to be verbose Date: Mon, 21 Feb 2005 15:54:48 +0100 Organization: Arne Joergensen -- http://arnested.dk/ Message-ID: <87zmxyhsjr.fsf@seamus.arnested.dk> References: <87d5uuja1t.fsf@seamus.arnested.dk> <874qg6j7o7.fsf@seamus.arnested.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1108997713 11252 80.91.229.2 (21 Feb 2005 14:55:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Feb 2005 14:55:13 +0000 (UTC) Original-X-From: ding-owner+M8409@lists.math.uh.edu Mon Feb 21 15:55:13 2005 Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3ExT-0000h8-7f for ding-account@gmane.org; Mon, 21 Feb 2005 15:54:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1D3Eyu-0005KM-00; Mon, 21 Feb 2005 08:56:16 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1D3Eyp-0005KH-00 for ding@lists.math.uh.edu; Mon, 21 Feb 2005 08:56:11 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1D3Eyi-0006VF-6O for ding@lists.math.uh.edu; Mon, 21 Feb 2005 08:56:04 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1D3Eyh-0005pH-00 for ; Mon, 21 Feb 2005 15:56:03 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1D3Ev0-0000Dp-LK for ding@gnus.org; Mon, 21 Feb 2005 15:52:14 +0100 Original-Received: from 213.237.94.152 ([213.237.94.152]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Feb 2005 15:52:14 +0100 Original-Received: from arne by 213.237.94.152 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Feb 2005 15:52:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 66 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213.237.94.152 X-Face: 5t,7/Y$&<1A_t.$vC2{pWZ{m@3_06;kcm]no{hgEL/}Uz(>XV6cl4}xO\v?-h3%>znNaZtq `~rf,GY1T%r=a.zH`hOb(-]'x)nI088Z&|e;V^h;/TShou User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:vR54+6W1+d3xIrfEZElwG5jSlkQ= X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu X-MailScanner-From: ding-owner+m8409@lists.math.uh.edu X-MailScanner-To: ding-account@gmane.org Xref: main.gmane.org gmane.emacs.gnus.general:59868 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59868 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Arne Jørgensen 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 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=nnrss.patch 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) --=-=-=--