help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: From Gnus to mu4e


From: Rainer M Krug
Subject: Re: From Gnus to mu4e
Date: Fri, 28 Aug 2015 10:21:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin)

Julien Cubizolles <address@hidden> writes:

> Rainer M Krug <address@hidden> 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:address@hidden 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: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]