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

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

Re: Gnus and notmuch


From: Alexandr Vityazev
Subject: Re: Gnus and notmuch
Date: Fri, 11 Jun 2021 16:01:17 +0000

On 2021-06-10, 10:35 +0200, Alexis Praga <alexis.praga@gmail.com> wrote:

> Hi guys,
>
> I've tried to setup Gnus to use notmuch as a search engine
> (configuration below) but running G G on the group buffer yields an
> error "(wrong-type-argument number-or-marker-p nil)" (backtrace below).
>
> My setup uses 2 maildir. If I set only the "gmail" one, I can run
> searches but there are never any results. Using the "free" one, I have
> the previous error.
>
> Any help appreciated !
>
> Configuration :
>>(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")
>>                   (get-new-mail nil)
>>                 )
>>      (nnmaildir "free" (directory "~/mail/free")
>>                 (gnus-search-engine gnus-search-notmuch)
>>                 (config-file "/home/alex/.notmuch-config")
>>                   (get-new-mail nil)
>>                 ))
>>      gnus-search-use-parsed-queries nil) ; Emacs 28
You can use the environment variable NOTMUCH_PROFILE and define
two different config files for each email address. 
-- 
Best regards,
Alexandr Vityazev



reply via email to

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