Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <>
To: Eric S Fraga <>
Subject: Re: using nnmairix
Date: Sat, 04 Apr 2020 08:53:27 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <> (Eric S. Fraga's message of "Sat, 04 Apr 2020 16:24:26 +0100")

Eric S Fraga <> writes:

> On Saturday,  4 Apr 2020 at 15:51, Eric S Fraga wrote:
>> Do I maybe need to tell gnus to automatically subscribe to new groups?
>> gnus-auto-subscribed-groups is set to
>> ,----[ C-h v gnus-auto-subscribed-groups RET ]
>> | gnus-auto-subscribed-groups is a variable defined in ‘gnus-start.el’.
>> | Its value is
>> | "^nnml\\|^nnfolder\\|^nnmbox\\|^nnmh\\|^nnbabyl\\|^nnmaildir\\|^nnimap"
>> `----
>> which includes nnml but should it include nnmairix?
> I've added that but it seems to have only a little difference.
> When I search, I do see my nnmairix group appear in my group buffer but
> with "0" messages.  If I navigate to the line in the group buffer and
> hit M-G, it updates the count correctly and I can then enter the group.
> Rather clumsy... I'm obviously missing something.
> I have searched the mailing list etc.  I have the nnmairix group in my
> server buffer and I have this in my .gnus.el:
> #+begin_src emacs-lisp
>   (add-to-list 'gnus-secondary-select-methods
>                (quote (nnml "search" (nnml-get-new-mail nil))))
> #+end_src 
> where "search" is the name of my mairix server.

Well I'm sort of guessing here, but the end of `nnmairix-search' first
checks the active value of the new search group, and if it's equal to
'(1 . 0), it doesn't enter the group. The fact that you have to M-g on
the group to get the correct message count seems to confirm that the
active count is not getting set correctly when the group is first
created. The correct active value should be getting set in
`nnmairix-update-and-clear-marks', which is called right before the
group would be opened. So I guess something is going wrong in there?
Maybe you can step through that function with edebug?


  reply	other threads:[~2020-04-04 15:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-04 13:44 Eric S Fraga
2020-04-04 14:41 ` Eric Abrahamsen
2020-04-04 14:51   ` Eric S Fraga
2020-04-04 15:24     ` Eric S Fraga
2020-04-04 15:53       ` Eric Abrahamsen [this message]
2020-04-06  8:40         ` Eric S Fraga
2020-04-06 15:32           ` Eric Abrahamsen
2020-04-06 19:51             ` Eric S Fraga
2020-09-28 23:59           ` Angel de Vicente
2020-09-30 13:00             ` Eric S Fraga
2020-10-07 23:51             ` Eric Abrahamsen
2022-05-27 11:25               ` Angel de Vicente
2022-05-31 22:00                 ` Eric Abrahamsen
2022-05-31 23:31                   ` Emanuel Berg
2022-05-31 23:40                     ` Eric Abrahamsen

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* 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).