emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ross Patterson <me@rpatterson.net>
To: emacs-orgmode@gnu.org
Subject: Re: Gnus nnimap links
Date: Fri, 25 Jul 2008 13:00:28 -0700	[thread overview]
Message-ID: <871w1h20pv.fsf@transitory.lefae.org> (raw)
In-Reply-To: 87k5f9eoqm.fsf@gollum.intra.norang.ca

Bernt Hansen <bernt@norang.ca> writes:

> Ross Patterson <me@rpatterson.net> 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

      reply	other threads:[~2008-07-25 20:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-25 18:44 Gnus nnimap links Ross Patterson
2008-07-25 19:40 ` Bernt Hansen
2008-07-25 20:00   ` Ross Patterson [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=871w1h20pv.fsf@transitory.lefae.org \
    --to=me@rpatterson.net \
    --cc=emacs-orgmode@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).