Gnus development mailing list
 help / color / mirror / Atom feed
* Group nnselect:... contains no messages
@ 2025-04-01 19:33 Peter Münster
  2025-04-01 20:15 ` e.fraga
  2025-04-02  3:16 ` Peter Münster
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Münster @ 2025-04-01 19:33 UTC (permalink / raw)
  To: ding

Hi,

gnus-group-read-ephemeral-search-group does not seem to work.

I’m using HEAD from the master branch and this config:

(setq gnus-select-method
  '(nnml "Email" (gnus-search-engine gnus-search-notmuch
                   (config-file "/home/peter/.notmuch-config"))))

When doing a search on the command line, I get:

notmuch search --output=files --duplicate=1 "identit*" | wc -l
-> 617

notmuch search --output=files --duplicate=1 "identit*" | grep Mail/tmp | wc -l
-> 1

So there is one message in the group tmp that matches the query.

But (with gnus-verbose = 8):

Doing notmuch query on (tmp)...
Search engine returned 619 results
Gnus search returning 0 results
Group nnselect:nnselect-87o6xfr8pd.fsf contains no messages

Could you help me please to get a working search?

TIA for any hints,
-- 
           Peter



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

* Re: Group nnselect:... contains no messages
  2025-04-01 19:33 Group nnselect:... contains no messages Peter Münster
@ 2025-04-01 20:15 ` e.fraga
  2025-04-02  3:16 ` Peter Münster
  1 sibling, 0 replies; 4+ messages in thread
From: e.fraga @ 2025-04-01 20:15 UTC (permalink / raw)
  To: ding

Response below/inline for email Peter Münster wrote:
> (original email sent  1 Apr 2025 at 21:33)
> 
> Hi,
>
> gnus-group-read-ephemeral-search-group does not seem to work.
>
> I’m using HEAD from the master branch and this config:
>
> (setq gnus-select-method
>   '(nnml "Email" (gnus-search-engine gnus-search-notmuch
>                    (config-file "/home/peter/.notmuch-config"))))

I have similar except that my config also includes this:

(remove-prefix "/HOMEDIRPATH/Mail")

before the (config...), adjusting for your own home directory.

-- 
Eric S Fraga via gnus (Emacs 30.1 2025-02-25) on Debian trixie/sid



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

* Re: Group nnselect:... contains no messages
  2025-04-01 19:33 Group nnselect:... contains no messages Peter Münster
  2025-04-01 20:15 ` e.fraga
@ 2025-04-02  3:16 ` Peter Münster
  2025-04-02  7:41   ` Eric S Fraga
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Münster @ 2025-04-02  3:16 UTC (permalink / raw)
  To: ding

On Tue, Apr 01 2025, Peter Münster wrote:

> Doing notmuch query on (tmp)...
> Search engine returned 619 results
> Gnus search returning 0 results

I’ve found it: it’s the group name. Gnus does not like "tmp"...

On line 1470 in gnus-search.el there is some sort of filtering of names
"new" "tmp" and "cur". I don’t understand it, but it’s ok for me,
because I use "tmp" only for testing.

-- 
           Peter



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

* Re: Group nnselect:... contains no messages
  2025-04-02  3:16 ` Peter Münster
@ 2025-04-02  7:41   ` Eric S Fraga
  0 siblings, 0 replies; 4+ messages in thread
From: Eric S Fraga @ 2025-04-02  7:41 UTC (permalink / raw)
  To: ding

Response below/inline for email Peter Münster wrote:
> (original email sent  2 Apr 2025 at 05:16)
> 
> On line 1470 in gnus-search.el there is some sort of filtering of names
> "new" "tmp" and "cur". I don’t understand it, but it’s ok for me,
> because I use "tmp" only for testing.

Ah, interesting.  Those names are the sub-directories used by maildir.

Glad you sorted things out!

-- 
Eric S Fraga via gnus (Emacs 31.0.50 2025-03-03) on Debian 12.9



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

end of thread, other threads:[~2025-04-02  7:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-01 19:33 Group nnselect:... contains no messages Peter Münster
2025-04-01 20:15 ` e.fraga
2025-04-02  3:16 ` Peter Münster
2025-04-02  7:41   ` Eric S Fraga

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 NNTP newsgroup(s).