From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexis Praga Newsgroups: gmane.emacs.help Subject: Re: Gnus and notmuch Date: Fri, 11 Jun 2021 20:00:19 +0200 Message-ID: <86im2kcmdo.fsf@ecchi.i-did-not-set--mail-host-address--so-tickle-me> References: <86h7i6yv59.fsf@mailoo.org> <87czssgzle.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29248"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Alexandr Vityazev Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 11 20:01:07 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lrlSt-0007TB-Ir for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 11 Jun 2021 20:01:07 +0200 Original-Received: from localhost ([::1]:38338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrlSs-0000Ss-HH for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 11 Jun 2021 14:01:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrlSD-0000Sg-6i for help-gnu-emacs@gnu.org; Fri, 11 Jun 2021 14:00:25 -0400 Original-Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:43570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrlSB-0004Hz-JY for help-gnu-emacs@gnu.org; Fri, 11 Jun 2021 14:00:24 -0400 Original-Received: by mail-wm1-x329.google.com with SMTP id 3-20020a05600c0243b029019f2f9b2b8aso9085401wmj.2 for ; Fri, 11 Jun 2021 11:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=3/v6T/bu9MkzeL7lzxkZ6MwxBGfDuhHLyJbTnhmHpf8=; b=a+spFCqXVIVqaV49acvN+yfNYkeyuF5P4sLe76dh99zVxEAiYFjQUbbu3ngiFrUowC 14vcXvDT5Si8SB+MQ5IMBO5y2BWlqDzOxUZiTHa43zZU4aVKshWIce+Na+5bvUnH5ruf A4ZtWqed/c/AakqvFge+M0xO3ESmYyIAtUElYbasznhvb9Aqru2X3b9T2gi2FYUONnor VunX1FrS3jEIDrEBC+rmjldu7hF9TywqOipk9QkyMz98oAD0iYjGfhFPrkCN1TSkJZKk zA7CvIFEMinuwXgH3Ca+znDj1X73g9umiDMUOLb2znL8MKTJIyNb5AZZ9tRLWnTPecNa bcxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=3/v6T/bu9MkzeL7lzxkZ6MwxBGfDuhHLyJbTnhmHpf8=; b=oW0rDm4tQbOHs5obrQ7Cpi+Bq8VkjJyi5WNPYTZArFz0QtccVGfMWbD6pAhjp43Cyg kTcLXorztc50HRjKZC1bg0wiyS4mDQzAI4zuV6HZocEZc9DssfBRfVOE/kzVuV4oYFZy yOTA8fN7ZR5rULy3RzLNORo6IMXxRKloW4dcdlB0FySEAWpL5NRvVWd1WACHQ11H0H0b tLwZWkKxf/9SUy0WHdSoJyqwTRMYMDApGUv8VseysFVTtczeltmcKvgM2L7KvSMp2WQl wMFyHIrLwIMSerSdOSdTy8M2QyXjqiGj36xDarY5dV191lHTgLm7Szla2+bvr3qfY9Ef teJQ== X-Gm-Message-State: AOAM5323MGufc7nYcGi25s8k3Tux50Sw9O0MhFig8Y+yyKXWupk8YAM/ PDHoGjbNHMjbEDR46t2x4CM= X-Google-Smtp-Source: ABdhPJyewhRqoQg3Ywp55ITWb68HVsTRIA9Hql6JmIRK8j5pRnT1pOSAvLTfkva9b1JZc0hrW2K1aw== X-Received: by 2002:a05:600c:4ecc:: with SMTP id g12mr21800193wmq.40.1623434421303; Fri, 11 Jun 2021 11:00:21 -0700 (PDT) Original-Received: from localhost (static-176-165-167-17.ftth.abo.bbox.fr. [176.165.167.17]) by smtp.gmail.com with ESMTPSA id h9sm6534680wmb.35.2021.06.11.11.00.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Jun 2021 11:00:20 -0700 (PDT) In-Reply-To: <87czssgzle.fsf@posteo.net> Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=alexis.praga@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:130767 Archived-At: Alexandr Vityazev 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