Gnus development mailing list
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: ding@gnus.org
Subject: Re: nnml groups showing up with '*' at startup
Date: Mon, 23 Nov 2015 19:02:15 +0100	[thread overview]
Message-ID: <87fuzwegrc.fsf@tullinup.koldfront.dk> (raw)
In-Reply-To: <y9loael88eq.fsf@deinprogramm.de>

Michael writes:

> The other change - the one probably responsible for this problem -
> unbreaks the functionality of the per-group mail source.

I don't know what that means. Likely that I am not using it :-)

> If you're not using this feature, could you pinpoint the hunk (out of 2)
> that's causing it?  (Easily done by first removing the
> `nnml-retrieve-groups` defun.)  That'd help me find out where it's
> coming from.

Yup, this makes the symptom disappear:

---
 lisp/nnml.el | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/lisp/nnml.el b/lisp/nnml.el
index 33eae1c..a2947c0 100644
--- a/lisp/nnml.el
+++ b/lisp/nnml.el
@@ -268,23 +268,6 @@ non-nil.")
 			   (max (1+ (- (cdr active) (car active))) 0)
 			   (car active) (cdr active) group)))))))
 
-(deffoo nnml-retrieve-groups (groups &optional server)
-  (when nnml-get-new-mail
-    (if (nnmail-get-new-mail-per-group)
-	(dolist (group groups)
-	  (nnml-request-scan group server))
-      (nnml-request-scan nil server)))
-  (with-current-buffer nntp-server-buffer
-    (erase-buffer)
-    (dolist (group groups)
-      (let* ((entry (assoc group nnml-group-alist))
-	     (active (nth 1 entry)))
-	(if (consp active)
-	    (insert (format "211 %d %d %d %s\n"
-			    (max (1+ (- (cdr active) (car active))) 0)
-			    (car active) (cdr active) group))))))
-  'group)
-
 (deffoo nnml-request-scan (&optional group server)
   (setq nnml-article-file-alist nil)
   (nnml-possibly-change-directory group server)
-- 
2.6.2

-- 
 "It's not denial. I'm just very selective about the          Adam Sjøgren
  reality I accept."                                     asjo@koldfront.dk




  reply	other threads:[~2015-11-23 18:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-22 12:22 Adam Sjøgren
2015-11-22 19:08 ` Peter Münster
2015-11-22 19:18   ` Adam Sjøgren
2015-11-23  7:46 ` Michael Sperber
2015-11-23 18:02   ` Adam Sjøgren [this message]
2015-11-24  2:40     ` Katsumi Yamaoka
2015-11-24 10:40       ` Katsumi Yamaoka
2015-11-24 20:48         ` Peter Münster
2015-11-25  2:44           ` Katsumi Yamaoka
2015-11-25  8:02             ` Adam Sjøgren
2015-11-25  8:19               ` Katsumi Yamaoka
2015-11-25 10:08                 ` Adam Sjøgren
2015-12-02 22:02           ` groups with non-ASCII names (was: nnml groups showing up with '*' at startup) Peter Münster
2015-12-03  2:01             ` groups with non-ASCII names Katsumi Yamaoka
2015-12-03  8:13               ` Peter Münster
2015-11-29 12:12       ` nnml groups showing up with '*' at startup Michael Sperber

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=87fuzwegrc.fsf@tullinup.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=ding@gnus.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).