Gnus development mailing list
 help / color / mirror / Atom feed
From: "Adam Sjøgren" <asjo@koldfront.dk>
To: ding@gnus.org
Subject: Re: Args out of range when quitting search buffer with recent Emacs/Gnus
Date: Sun, 13 Sep 2020 15:11:28 +0200	[thread overview]
Message-ID: <871rj5es8v.fsf@tullinup.koldfront.dk> (raw)
In-Reply-To: <87ft7lq23s.fsf@ust.hk>

Andrew writes:

> I am a bit puzzled by the set of groups in the error message. How did
> you initiate the search? On a particular group? Or a server search?

I put mark on the group "nnml:normal" under the topic "email" in the
group buffer, and pressed G G to search.

I use search so little that I usually don't remember how it works, but I
have a vague memory that it is a requirement to have point over an
email-group when G G'ing.

> Once you entered the search group did you do anything?

I scrolled up and down a little, but I didn't open any articles. It is
completely reproducable.

> Can you try a few things to narrow the error down a bit:

> 1. Try a regular search on a single group in your normal email method
> (with the cursor on a group try (G G "query" RET)). After entering the
> group, immediately exit to see if you get an error.

This is what I did orginally, but I'll do it again. This time I did
exactly what you wrote, put point on nnml:normal and G G query RET.

q immediately gave this message:

  Args out of range: [["nnml:ferie" 25 0] ["nnml:never-sent" 10 0] ["nnml:never-sent" 72 0] ["nnml:never-sent" 85 0] ["nnml:never-sent" 88 0] ["nnml:never-sent" 118 0] ["nnml:dde" 8 0] ["nnml:archive.mail-1997" 158 0] ["nnml:archive.mail-1997" 164 0] ["nnml:lasseoe" 51 0] ...], 999

I have my normal email in ~/Mail and archive email in ~/Mail/archive,
and notmuch indexes both in one index - it looks like the hits in
~/Mail/archive are assigned a dot-group in nnml: rather than a group in
nnml+archive: - might that be causing the problem?

My archive method is defined like this:

  (setq asjo-archive-method '(nnml "archive"
                                   (nnml-directory "~/Mail/archive")
                                   (nnml-active-file "~/Mail/archive/active")
                                   (nnml-get-new-mail nil)
                                   (nnir-search-engine notmuch)
                                   (nnml-inhibit-expiry t)))
  (setq gnus-message-archive-method asjo-archive-method)

and my normal email server is:

  (setq asjo-local-mail-method '(nnml ""
                                      (nnir-search-engine notmuch)))
    [...]
  (setq gnus-secondary-select-methods
        `(
          ,asjo-local-mail-method
    [...]

Which I realize, now, is confusing, as the nnml+archive: files are
located underneath the nnml: ~/Mail path.

> 2. Try the same thing on an archive group.

If I put point on nnml+archive:mail-2020 and go G G Adam RET for
instance, I get: Group nnselect:nnselect-87363lesot.fsf contains no messages

All the emails in the archive group contain the word "Adam", I'm not
sure what is going on with that, but it might be something like that I
was remembering when I taught myself to always be on a normal email
group when initiating a search.

Maybe because all the hits are interpreted to belong to nnml: and not
nnml+archive: (I'm guessing even more, now).

(In other words: this last thing might not be new. The Args out of range
definitely is.)


  Best regards,

    Adam

-- 
 "Carsten Jensens ånd hjemsøger motorkontoret i             Adam Sjøgren
  Rødovre!"                                            asjo@koldfront.dk



  reply	other threads:[~2020-09-13 13:12 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-12 18:53 Adam Sjøgren
2020-09-13 12:43 ` Andrew Cohen
2020-09-13 13:11   ` Adam Sjøgren [this message]
2020-09-13 13:53     ` Andrew Cohen
2020-09-13 14:06       ` Adam Sjøgren
2020-09-13 14:20         ` Andrew Cohen
2020-09-13 14:27           ` Adam Sjøgren
2020-09-13 15:51             ` Andrew Cohen
2020-09-13 16:13               ` Adam Sjøgren
2020-09-13 19:27                 ` Eric Abrahamsen
2020-09-13 19:45                   ` Adam Sjøgren
2020-09-13 20:26                     ` Eric Abrahamsen
2020-09-13 20:46                       ` Adam Sjøgren
2020-09-13 21:01                         ` Eric Abrahamsen
2020-09-13 23:30                           ` Andrew Cohen
2020-09-13 23:48                             ` Andrew Cohen
2020-09-14 16:02                               ` Adam Sjøgren
2020-09-14 20:28                                 ` Eric Abrahamsen
2020-09-14 23:27                                   ` Andrew Cohen
2020-09-14 15:47                             ` Adam Sjøgren
2020-09-13 16:48         ` 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:
  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=871rj5es8v.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).