"Andreas Goesele" <goes...@hfph.mwn.de> writes: > Eric Abrahamsen <e...@ericabrahamsen.net> writes: > >> Okay, I've reported this with a patch as bug#33122. The new option name >> is called `nnir-notmuch-filter-group-names-function'. >> >> In the end I decided a t value didn't make a lot of sense -- if users >> want to pass the group names through unchanged (which is almost >> certainly a bad idea), they can set the above option to #'identity. >> >> By default (assuming this patch is accepted with no change), the >> filtering *doesn't* do the transform you wanted. You can add your >> desired behavior (the docstring mentions this) like so: >> >> (add-function :filter-return nnir-notmuch-filter-group-names-function >> (lambda (g) (replace-regexp-in-string "\\." "/" g))) > > Thanks, this basically works great. There is just one small glitch: If > one marks different groups (let say three) the search becomes: > > search --format=text --output=files search-term path:<directory1> or > path:<directory2> or path:<directory3> > > This includes all mails in the directories 2 and 3 > > So it should be: > > search --format=text --output=files search-term (path:<directory1> or > path:<directory3> or path:<directory3>)
Aha! Thanks for the pointer. I've updated the patch on the bug report. Eric _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english