all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexis Praga <alexis.praga@gmail.com>
To: Alexandr Vityazev <avityazev@posteo.net>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Gnus and notmuch
Date: Fri, 11 Jun 2021 20:00:19 +0200	[thread overview]
Message-ID: <86im2kcmdo.fsf@ecchi.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87czssgzle.fsf@posteo.net>

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	other threads:[~2021-06-11 18:00 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
2021-06-11 18:00   ` Alexis Praga [this message]
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

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

  git send-email \
    --in-reply-to=86im2kcmdo.fsf@ecchi.i-did-not-set--mail-host-address--so-tickle-me \
    --to=alexis.praga@gmail.com \
    --cc=avityazev@posteo.net \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.