Julien Cubizolles writes: > Rainer M Krug writes: > > >> There is one program accessing the mail folder: dovecot - no conflicts, race >> conditions, no slightly different formats, standards, ... And you can >> also remotely access dovecot if you want to. > > Because otherwise, you would have Gnus and offlineimap competing for > access ? I have not actually experienced this, but I was afraid tat, especially simultaneous write access to the mailbox files cal lead to corruption or errors due to simultaneous access. > >> By the way: the dovecot daemon is not permanently running, as I am using >> the shell access from gnus: >> >> ,---- >> | (nnimap-shell-program "/usr/local/opt/dovecot/libexec/dovecot/imap -o mail_location=maildir:$HOME/Maildir"))) >> `---- >> >> The same from offlineimap: >> >> ,---- >> | preauthtunnel = /usr/local/opt/dovecot/libexec/dovecot/imap -o mail_location=maildir:$HOME/Maildir >> `---- >> >> and offlineimap only reads the emails from the maildir. > > That looks interesting, I'll try it. > >> And I have found the following two functions to open the same message >> which is open in gnus in notmuch and the other way around: >> >> ** In notmuch jump to gnus folder > > I think you forgot the other way around :-) Sorry - here is it: ,---- | ** In gnus jump to notmuch | Thanks to [[notmuch:id:87fvn4j45h.fsf@thinkpad-t61.fritz.box][Email from Tassilo Horn: Re: How to get message-id from]] | #+begin_src emacs-lisp | (defun rmk/gnus-goto-message-in-notmuch () | (interactive) | (unless (buffer-live-p gnus-summary-buffer) | (user-error "No open Gnus summary buffer!")) | (let ((message-id (substring (with-current-buffer gnus-summary-buffer | (mail-header-id (gnus-summary-article-header))) 1 -1))) | (message message-id) | (notmuch-tree (concatenate 'string "id:" message-id)) ;; Now do the notmuch stuff | )) | #+end_src `---- > >> Hope this helps, > > I'm sure it will, thanks a lot. Great. Cheers, Rainer > > Julien. > > -- Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982