Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: nnml groups showing up with '*' at startup
Date: Tue, 24 Nov 2015 11:40:59 +0900	[thread overview]
Message-ID: <b4mlh9oxgp0.fsf@jpl.org> (raw)
In-Reply-To: <87fuzwegrc.fsf@tullinup.koldfront.dk>

On Sun, 22 Nov 2015 13:22:36 +0100, Adam Sjøgren wrote:
> After a change recently, every time I start Gnus, all my
> nnml+archive:-groups show up with '*' in front of them, along with 3 of
> my (many more) nnml:-groups.

I found that my "nnml:テスト" group doesn't show up.  That is
the group I used to use for testing non-ASCII group names.
Only the `L' command is able to show it up in the group buffer,
but it indicates `*' for the number of articles even if its
group level is 1.

On Mon, 23 Nov 2015 19:02:15 +0100, Adam Sjøgren wrote:
> --- 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)

Removing this made Gnus work as before, too.  So far I don't
know why/how it does wrong, but I think we should remove it if
it is nonessential and nonurgent.  The function has already been
in the emacs-25 branch (for releasing Emacs 25.1).

WDYT Michael?



  reply	other threads:[~2015-11-24  2:40 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
2015-11-24  2:40     ` Katsumi Yamaoka [this message]
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=b4mlh9oxgp0.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --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).