unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alexandr Vityazev <avityazev@posteo.net>
To: Alexis Praga <alexis.praga@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Gnus and notmuch
Date: Fri, 11 Jun 2021 16:01:17 +0000	[thread overview]
Message-ID: <87czssgzle.fsf@posteo.net> (raw)
In-Reply-To: <86h7i6yv59.fsf@mailoo.org> (Alexis Praga's message of "Thu, 10 Jun 2021 10:35:30 +0200")

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



  parent reply	other threads:[~2021-06-11 16:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-10  8:35 Gnus and notmuch Alexis Praga
2021-06-10 16:21 ` Eric Abrahamsen
     [not found]   ` <865yyly6bn.fsf@mailoo.org>
     [not found]     ` <87fsxpsgpk.fsf@ericabrahamsen.net>
2021-06-10 19:03       ` Alexis Praga
2021-06-10 21:05         ` Eric Abrahamsen
2021-06-10 21:09           ` Eric Abrahamsen
2021-06-11  8:05             ` Alexis Praga
2021-06-11 16:06               ` Eric Abrahamsen
2021-06-11 16:01 ` Alexandr Vityazev [this message]
2021-06-11 18:00   ` Alexis Praga
2021-06-11 18:06     ` Eric Abrahamsen
2021-06-12 14:45       ` Alexis Praga
2021-06-12 16:50         ` Alexandr Vityazev
2021-06-14  7:14           ` Alexis Praga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czssgzle.fsf@posteo.net \
    --to=avityazev@posteo.net \
    --cc=alexis.praga@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).