Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: info-gnus-english@gnu.org
Subject: Re: Finding message by ID fails when message not visible
Date: Wed, 16 Dec 2015 08:28:34 +0800	[thread overview]
Message-ID: <87wpsfb5jh.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <m24mfjfidh.fsf@mit.edu>

Kai von Fintel <fintel@mit.edu> writes:

> I'm puzzled by the following behavior: if I search in an nnimap group
> for a message with a particular message-ID, the search fails unless the
> message is visible. If for example, only new messages are shown, the
> search for an old message with a particular ID fails but the same
> message is found when "/o" has made the old messages appear.
>
> This is relevant because I use links to gnus messages from org-mode and
> more often than not the link fails: I get taken to the nnimap group that
> contains the message, but I get the error "No such article (may have
> expired or been canceled)", even though the message is in fact in the
> group.
>
> I suppose org-gnus.el might have to be amended to work around this, but
> first I'd like to understand whether this is expected behavior in gnus.
>
> Can anybody enlighten me or help me trouble-shoot this?

No, it's not expected, and I haven't seen it before -- sorry for the
unhelpful reply! I just tried it (dovecot imap server), and it worked
both with and without angle brackets on the ID (sometimes brackets can
be an issue).

To be sure everyone's on the same page, how exactly are you searching?
If you're in the *Group* buffer and you hit "G G" on the group, and
paste in the message ID, is the message found? If you're already in the
*Summary* buffer, there isn't really any way to "search" as such,
there's only "limiting" what messages are shown by some criteria -- in
those cases it's true you won't be able to get to unseen messages.

But that should never affect following links from org mode...

Eric



  reply	other threads:[~2015-12-16  0:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-15 22:37 Kai von Fintel
2015-12-16  0:28 ` Eric Abrahamsen [this message]
2015-12-16  1:43   ` Kai von Fintel
2015-12-16 15:34     ` Kai von Fintel
2015-12-17  2:08       ` Eric Abrahamsen
2015-12-17 18:56         ` Kai von Fintel
2015-12-18 14:34           ` Eric Abrahamsen
2015-12-19 16:07             ` Kai von Fintel
2015-12-20  3:28               ` 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=87wpsfb5jh.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=info-gnus-english@gnu.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).