Sébastien Hinderer <[email protected]> writes:

> 1. With your solution the links contain the name of the folder where the
> message is stored. It's not that bad but I am still wondering whether
> one couldn't use only the message id, which wold mean that the solution
> would work even if the message is moved to a different folder. Of course
> that would require a kind of indexing to go frommessage ids to folders
> but does that look completely undoable?
>
> 2. If I understand you correctly, the part that has to be different when
> done fromMutt as compared to when done from Emacs is the store link
> stage, which is, if I understand you correctly, where your macro comes
> in. But I think if oneis using Emacs in server mode then it should be
> possible to call Org's store-link feature by running emacsclient, which
> would make the link available to all the other running instances of
> emacsclient.

Hi, Seb,

I'm not a Mutt user and haven't tested this, but maybe take a look at
Stefan van der Walt's setup, which seems to fit the bill: using
org-protocol, a python script to invoke from Neomutt, and getting
message IDs with notmuch.

- https://mentat.za.net/blog/2018/10/31/using-org-mode-with-neomutt/
- https://github.com/stefanv/org-neomutt

I don't know if Neomutt has any special affordances that makes this
easier. The above setup is based on an earlier one by Stefano Zacchiroli
for Mutt (you'll find the link in the blog post), but that one may be a
bit out of date.

It would be nice to have something on this in Worg; let me know how it
goes.

Regards,
Christian

Reply via email to