From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ross Patterson Subject: Re: Gnus nnimap links Date: Fri, 25 Jul 2008 13:00:28 -0700 Message-ID: <871w1h20pv.fsf@transitory.lefae.org> References: <87prp17qhr.fsf@transitory.lefae.org> <87k5f9eoqm.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMTT4-0005yf-OX for emacs-orgmode@gnu.org; Fri, 25 Jul 2008 16:00:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMTT3-0005xc-0z for emacs-orgmode@gnu.org; Fri, 25 Jul 2008 16:00:45 -0400 Received: from [199.232.76.173] (port=36063 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMTT2-0005xQ-PH for emacs-orgmode@gnu.org; Fri, 25 Jul 2008 16:00:44 -0400 Received: from main.gmane.org ([80.91.229.2]:53827 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KMTT2-0001o0-C4 for emacs-orgmode@gnu.org; Fri, 25 Jul 2008 16:00:44 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KMTSu-00020f-74 for emacs-orgmode@gnu.org; Fri, 25 Jul 2008 20:00:36 +0000 Received: from dsl-63-249-88-22.cruzio.com ([63.249.88.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jul 2008 20:00:36 +0000 Received: from me by dsl-63-249-88-22.cruzio.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jul 2008 20:00:36 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bernt Hansen writes: > Ross Patterson writes: > >> I find that my org-mode links to Gnus articles are very unstable, often >> breaking. Specifically, a link to an article will work when created and >> later be broken. >> >> Almost all the links I make to Gnus articles are to articles in an >> nnimap backend connecting to a local dovecot IMAP server that is synced >> with the remote dovecot IMAP server using OfflineIMAP. I don't know if >> its at all specific to nnimap or OfflineIMAPI. IOW, since the problem >> is intermittent and I don't link to many articles with other backends, >> the fact that I've only run into this problem with this stack doesn't >> mean it doesn't occur for a different stack. >> >> Has anyone run into this or a related problem? Does anyone have any >> suggestions for where I might start looking. > > I use Gnus with a local cyrus imap server on my network. Occasionally > links to mail fails when they are in subfolders of my INBOX. (i.e. a > link to [[gnus:INBOX.SomeFolder#12345][email description]] will fail. I > usually have Gnus session permanently open in a second frame all day > long and if I just open the SomeFolder group in Gnus then the link works > again. So far that's my workaround for this issue - it's not very > elegant but it Works For Me(tm). Thanks for the suggestion! I tried that in a couple ways and couldn't get it to work. On further inspection, I think maybe there may be something that is removing the message number within the group used in the link. For example, one broken link is #4922. When I look in the group, the message that is supposed to be linked now has number #4923. So I think somehow there's something in my setup that is duplicating and removing the original. I found a case of duplicated messages and noted that the Message-ID header *is* stable. Might there be a way to get org-mode links to use that header for lookup rather than Gnus' internal group message number? It seems like that might be better data to store anyways in that it's more portable. Ross