all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Britt Anderson <britt@b3l.xyz>
Cc: 66885@debbugs.gnu.org
Subject: bug#66885: 29.1; gnus search with mu always returns empty
Date: Fri, 03 Nov 2023 16:32:39 -0700	[thread overview]
Message-ID: <87il6i8lbc.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <878r7egb4v.fsf@uwaterloo.ca> (Britt Anderson's message of "Fri,  03 Nov 2023 10:33:04 -0400")

Britt Anderson <britt@b3l.xyz> writes:

> Thank you for your efforts so far, but I still cannot get it working.
>
> Your recommendation for the remove-prefix didn't work for me. I
> essentially tried incrementally going through the directory hierarchy
> and never found a level that I could specify and it would work.

Bummer, in theory that should have done it.

> But even if I had, it would not be a very complete solution, because I
> have numerous accounts with numerous user names that live under
> ~/home/britt/.local/share/mail~
>
> there is a microsoft exchange email account, a protonmail account, a
> gandi account ( and I have a few more that I haven't even set up yet).

And each of these is a separate Gnus backend, right?

> I would really like to be able to search across those, and I can do this
> with mu where it will show up all the emails it finds that meet the
> search criteria.
>
> It seems like that even if I could find a "remove-prefix" that would
> have worked for that one particular search we tested that would not have
> been the necessary prefix for searches in other folders/groups.

The remove-prefix should delete the file path up to the level of the
server, meaning that the group/folder name will be read as the first
filepath segment _after_ the removal.

In theory, if you have multiple mail installations all indexed by mu,
and those installations are represented by multiple Gnus backends, it
could still work. If each backend was configured with a separate
remove-prefix, then it could only extract the results that were relevant
to that backend. I don't think that would currently work correctly,
though.

> For right now I have gone back to using a local dovecot server to use
> imap, and imap search is now good enough most of the time (with your
> excellent work on standardizing the search command to use a common
> structure).
>
> I am happy to try again if you have some suggestions, but otherwise it
> is probably reasonable to just close this and I will search with mu on
> the command line on those few occassions where I cannot find what I need
> with the built-in imap search functions.

I've got another outstanding bug report on indexed search engine
behavior, so I'll need to find some time to install a few dummy
maildir/notmuch/mu servers and experiment. I may come back to you with
more questions after that. Please leave the bug report open!

Thanks,
Eric





  reply	other threads:[~2023-11-03 23:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-01 15:01 bug#66885: 29.1; gnus search with mu always returns empty Britt Anderson
2023-11-01 19:19 ` Eric Abrahamsen
2023-11-01 19:28   ` Britt Anderson
2023-11-02 14:10     ` Eric Abrahamsen
2023-11-03 14:33       ` Britt Anderson
2023-11-03 23:32         ` Eric Abrahamsen [this message]
2023-11-06 21:33           ` Britt Anderson
2023-11-07  3:47             ` Eric Abrahamsen
2023-11-13 14:33               ` Britt Anderson
2023-11-19 19:46                 ` Eric Abrahamsen
2024-01-01  2:53                   ` Eric Abrahamsen
     [not found]                     ` <ZZgtJ8-cgJKEaE-D@joy>
2024-01-09 21:29                       ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87il6i8lbc.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=66885@debbugs.gnu.org \
    --cc=britt@b3l.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.