Alan Schmitt <alan.schm...@polytechnique.org> writes:

> Eden Cardim <e...@insoli.de> writes:
>
>>>>>>> "Alan" == Alan Schmitt <alan.schm...@polytechnique.org> writes:
>>     Alan> Do you have a reliable system to link to emails? I've been
>>     Alan> working on this and I'm not too satisfied yet.
>>
>> Not sure what you mean by reliable. I use offlineimap to sync my mail
>> to a local dovecot which I access by tunneling gnus to it. This means
>> I can access emails anywhere, like on a plane.
>
> Sorry I wasn't clear. I have the same setup. My question is: how do you
> get a link from org to gnus that still works even if messages are moved
> around. I tried nnregistry but it stopped working after I upgraded to
> Emacs 24.2, so I'd be happy for other solutions.
>

I use a combination of "notmuch" and "notes".  It's reliable in the
sense that you mean about surviving file shuffling, because both link
based on a MailID.  The hybrid mail structure is forced on me by the
requirements of my employer (they require the use of Lotus Notes) and
separation of my personal mail.  I don't recommend it if you have any
alternative.

My "notmuch" is set up with mail in various MailDir structures.  That's
all covered in notmuch.el.  I think it would be equally robust for all
the different structures that notmuch can use.

I could add a link type for Lotus Notes because it has a command
line mode that you can invoke specifying the Notes mail ID.  Drag and drop
provides that information.  The invocation of:

/cygdrive/c/Program\ Files\ \(x86\)/Lotus/Notes/notes
notes:///852568800070EEAE/38D46BF5E8F08834852564B500129B2C/F462D53F85901A684E24D4139A7CDA52

will bring up that mail ID.  Setup and use is awkward, but not hopeless.
I drag the mail into an Emacs window, then run a bit of lisp to convert
the windows link into an org-mode link format.

R Horn

Reply via email to