unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Gnus and notmuch
@ 2021-06-10  8:35 Alexis Praga
  2021-06-10 16:21 ` Eric Abrahamsen
  2021-06-11 16:01 ` Alexandr Vityazev
  0 siblings, 2 replies; 13+ messages in thread
From: Alexis Praga @ 2021-06-10  8:35 UTC (permalink / raw)
  To: help-gnu-emacs


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] ["nnmaildir+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+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.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.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+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.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.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: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+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.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.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: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] ...])
>  nnselect-request-group("nnselect-864ke6gm6o.fsf" "nnselect-ephemeral" t ("nnselect:nnselect-864ke6gm6o.fsf" 3 nil nil (nnselect "nnselect-ephemeral" (nnselect-address "nnselect")) ((quit-config #<buffer *Group*> . group) (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-request-group("nnselect:nnselect-864ke6gm6o.fsf" t nil ("nnselect:nnselect-864ke6gm6o.fsf" 3 nil nil (nnselect "nnselect-ephemeral" (nnselect-address "nnselect")) ((quit-config #<buffer *Group*> . group) (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-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 nil nil)
>  gnus-group-read-group(t t "nnselect:nnselect-864ke6gm6o.fsf" nil)
>  gnus-group-read-ephemeral-group("nnselect-864ke6gm6o.fsf" (nnselect "nnselect") nil (#<buffer *Group*> . 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)

-- 
Alexis Praga



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-06-14  7:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).