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: Gnus and notmuch Date: Thu, 10 Jun 2021 10:35:30 +0200 Message-ID: <86h7i6yv59.fsf@mailoo.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31140"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 10 10:37:37 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 1lrGC1-0007pG-7J for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Jun 2021 10:37:37 +0200 Original-Received: from localhost ([::1]:53200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrGBz-0005k3-7l for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Jun 2021 04:37:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrGA5-0004Cy-W3 for help-gnu-emacs@gnu.org; Thu, 10 Jun 2021 04:35:38 -0400 Original-Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:33533) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrGA3-0002Cx-VI for help-gnu-emacs@gnu.org; Thu, 10 Jun 2021 04:35:37 -0400 Original-Received: by mail-wm1-x32a.google.com with SMTP id s70-20020a1ca9490000b02901a589651424so4352295wme.0 for ; Thu, 10 Jun 2021 01:35:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=h+mfMsR/z8tL+q/+RNZKy0zYV4d50B96LsfYpt7kdIY=; b=bibmSE1vktXy2QMG6tm/4RYoIx1oLRBIXaWjjd04YzReS0Je4w4xVYroGoAzYaGKqi X+pajcX9alLC/2SL5fGwkKzaGuhYmNxu6900uBJQTLrb4cWnK9mKrrUnSrDmovWjU/0b LrKQIzWkQZAsOxt+ANhgRsuuy8XbuDwzXWZsI6f70MVbMTupVYXB4O4O+Zh0vOejn7F9 4FnWx9OQwh5s02mJlH6xj3Ro7qnMg2givwrQeN2DHTVS2a7QmpUP8DBEwe9vxQT81E0a 1RgIoSlxLMcXwdVZpSmF4u3C/c2plfG5zE/0v9yjc/CiYNWO92JIXTXB8QezFwtv0gd6 qamQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=h+mfMsR/z8tL+q/+RNZKy0zYV4d50B96LsfYpt7kdIY=; b=Vzvwu2V4PdRQEGfeDcRgcqKsRM4CQMYK1/hlcBZrl/usC7PWDqj61bqpi+a0vYj81+ XOLpPrbNUgmEHm1Rr5iuKC8961pL4TDYnACUkU3cxDENvgaSasBnDWfSKLdb4xkavt5U 3z00O6dHd6groyOfOGb0924+RP3WzdoEI5W7m6R4b5dkd8/IMsChxi3Q/ig/Jbqwk16j SQYkscNUJB7glQCkmsvPT7/Xah5UnECeVH767yAhWs/i8uHmDk8tSvzW2sbUI1VZvsLI X2C7JOgu3EjRn1ebNgQlJus1JrJ3L+QMFJ1ugiaozsjbNrZfFFpRPE0Tsw571CKYXTS8 iKbA== X-Gm-Message-State: AOAM533Uo0RnBfjtnCF43OxSWsH+tF2gPDxUCN0yWXHhofl2ld66D1Lw 3ALC4NzOgeXmC9UJW3jEoydRoucQFSs= X-Google-Smtp-Source: ABdhPJw+i5eHjDNMnrfdeX6qUrjMGkyc6sX6uVo+JYwpKU7RRf3XKL+zLxw5d7KqT75sPk5UJ/5v4A== X-Received: by 2002:a7b:c10b:: with SMTP id w11mr13966962wmi.186.1623314133349; Thu, 10 Jun 2021 01:35:33 -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 b135sm9083043wmb.5.2021.06.10.01.35.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 01:35:31 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=alexis.praga@gmail.com; helo=mail-wm1-x32a.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:130696 Archived-At: 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 Config: GNU Emacs 28.0.50 Backtrace: > <(nil nil) > nnselect-compress-artlist([["nnmaildir+free:home.alex.mail.gmail.archive= " nil 100] ["nnmaildir+free:home.alex.mail.gmail.archive" nil 100] ["nnmail= dir+free:home.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:home.alex.= mail.free.archive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.archive" = nil 100] ["nnmaildir+free:home.alex.mail.free.archive" nil 100] ["nnmaildir= +free:home.alex.mail.free.archive" nil 100] ["nnmaildir+free:home.alex.mail= .gmail.archive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.archive" nil= 100] ["nnmaildir+free:home.alex.mail.gmail.archive" nil 100] ["nnmaildir+f= ree:home.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:home.alex.mail.= gmail.archive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.archive" nil = 100] ["nnmaildir+free:home.alex.mail.gmail.archive" nil 100] ["nnmaildir+fr= ee:home.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:home.alex.mail.g= mail.archive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.archive" nil 1= 00] ["nnmaildir+free:home.alex.mail.free.archive" nil 100] ["nnmaildir+free= :home.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:home.alex.mail.gma= il.archive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.archive" nil 100= ] ["nnmaildir+free:home.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:= home.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:home.alex.mail.gmai= l.archive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.archive" nil 100]= ["nnmaildir+free:home.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:h= ome.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:home.alex.mail.gmail= .archive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.archive" nil 100] = ["nnmaildir+free:home.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:ho= me.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.= archive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.archive" nil 100] [= "nnmaildir+free:home.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:hom= e.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.a= rchive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.archive" nil 100] ["= nnmaildir+free:home.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:home= .alex.mail.gmail.archive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.ar= chive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.archive" nil 100] ["n= nmaildir+free:home.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:home.= alex.mail.gmail.archive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.arc= hive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.archive" nil 100] ["nn= maildir+free:home.alex.mail.gmail.archive" nil 100] ["nnmaildir+free:home.a= lex.mail.gmail.archive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.arch= ive" nil 100] ["nnmaildir+free:home.alex.mail.gmail.archive" nil 100] ["nnm= aildir+free:home.alex.mail.gmail.archive" nil 100] ...]) > nnselect-request-group("nnselect-864ke6gm6o.fsf" "nnselect-ephemeral" t = ("nnselect:nnselect-864ke6gm6o.fsf" 3 nil nil (nnselect "nnselect-ephemeral= " (nnselect-address "nnselect")) ((quit-config # . group) (= nnselect-specs (nnselect-function . gnus-search-run-query) (nnselect-args (= search-query-spec (query . "soutenance") (raw)) (search-group-spec ("nnmail= dir:free" "nnmaildir+free:archive")))) (nnselect-artlist)))) > gnus-request-group("nnselect:nnselect-864ke6gm6o.fsf" t nil ("nnselect:n= nselect-864ke6gm6o.fsf" 3 nil nil (nnselect "nnselect-ephemeral" (nnselect-= address "nnselect")) ((quit-config # . group) (nnselect-spe= cs (nnselect-function . gnus-search-run-query) (nnselect-args (search-query= -spec (query . "soutenance") (raw)) (search-group-spec ("nnmaildir:free" "n= nmaildir+free:archive")))) (nnselect-artlist)))) > gnus-select-newsgroup("nnselect:nnselect-864ke6gm6o.fsf" t nil) > gnus-summary-read-group-1("nnselect:nnselect-864ke6gm6o.fsf" t t nil nil= nil) > gnus-summary-read-group("nnselect:nnselect-864ke6gm6o.fsf" t t nil nil n= il nil) > gnus-group-read-group(t t "nnselect:nnselect-864ke6gm6o.fsf" nil) > gnus-group-read-ephemeral-group("nnselect-864ke6gm6o.fsf" (nnselect "nns= elect") nil (# . group) nil nil ((nnselect-specs (nnselect-= function . gnus-search-run-query) (nnselect-args (search-query-spec (query = . "soutenance") (raw)) (search-group-spec ("nnmaildir:free" "nnmaildir+free= :archive")))) (nnselect-artlist))) > gnus-group-read-ephemeral-search-group(nil) > funcall-interactively(gnus-group-read-ephemeral-search-group nil) > command-execute(gnus-group-read-ephemeral-search-group) --=20 Alexis Praga