From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17814 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.user Subject: Re: Finding message by ID fails when message not visible Date: Wed, 16 Dec 2015 08:28:34 +0800 Message-ID: <87wpsfb5jh.fsf@ericabrahamsen.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1450225744 19763 80.91.229.3 (16 Dec 2015 00:29:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Dec 2015 00:29:04 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Dec 16 01:28:55 2015 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a8zxe-0003h0-V8 for gegu-info-gnus-english@m.gmane.org; Wed, 16 Dec 2015 01:28:55 +0100 Original-Received: from localhost ([::1]:39708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8zxe-0005HC-C7 for gegu-info-gnus-english@m.gmane.org; Tue, 15 Dec 2015 19:28:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8zxc-0005H4-AD for info-gnus-english@gnu.org; Tue, 15 Dec 2015 19:28:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8zxX-0006zp-Al for info-gnus-english@gnu.org; Tue, 15 Dec 2015 19:28:52 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:49834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8zxX-0006zk-4Y for info-gnus-english@gnu.org; Tue, 15 Dec 2015 19:28:47 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a8zxV-0003Lv-16 for info-gnus-english@gnu.org; Wed, 16 Dec 2015 01:28:45 +0100 Original-Received: from 114.248.1.146 ([114.248.1.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Dec 2015 01:28:45 +0100 Original-Received: from eric by 114.248.1.146 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Dec 2015 01:28:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.248.1.146 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:SPIt0AlYLVLC5XG6R7lnvTLi+I0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17814 Archived-At: Kai von Fintel 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