help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus and notmuch


From: Eric Abrahamsen
Subject: Re: Gnus and notmuch
Date: Fri, 11 Jun 2021 09:06:53 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Alexis Praga <alexis.praga@gmail.com> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>>> I think see the problem, it's yet more fragility in parsing the output
>>> of search results.
>>>
>>> Notmuch is returning all results in all directories, and Gnus filters
>>> out the results it wants depending on which paths match the group name.
>>> Because "archive" is a substring of "home.alex.mail.free.archive", it
>>> thinks it's a relevant search result.
>
> Here's a naïve suggestion: can the argument of "remove-prefix" be used
> to filter out the search results outside the maildir ?

Those are two separate issues: the remove-prefix gets rid of everything
from the root of your filesystem to the top-level of your mail store.
All remaining path segments are interpreted as a (potentially-nested)
group name. Then the filename itself is converted to an article number.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]