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

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

Re: Gnus and notmuch


From: Alexis Praga
Subject: Re: Gnus and notmuch
Date: Fri, 11 Jun 2021 20:00:19 +0200

Alexandr Vityazev <avityazev@posteo.net> writes:

> You can use the environment variable NOTMUCH_PROFILE and define
> two different config files for each email address. 

Hi Alexandr,

So I've setup two maildirs and used 2 different notmuch
config (see below). No more errors now, but all my searches returns empty
results.

> (setq gnus-select-method '(nnnil "")
>       gnus-secondary-select-methods
>       '((nnmaildir "gmail" (directory "~/mail/gmail")
>                  (gnus-search-engine gnus-search-notmuch
>                                      (config-file 
> "/home/alex/.notmuch-config-gmail")
>                                      (remove-prefix "~/mail/gmail"))
>                  (get-new-mail nil))
>       (nnmaildir "free" (directory "~/mail/free")
>                  (gnus-search-engine gnus-search-notmuch
>                                      (config-file 
> "/home/alex/.notmuch-config-free")
>                                      (remove-prefix "~/mail/free"))
>                  (get-new-mail nil))
>       ))

-- 
Alexis Praga



reply via email to

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