From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#66885: 29.1; gnus search with mu always returns empty Date: Fri, 03 Nov 2023 16:32:39 -0700 Message-ID: <87il6i8lbc.fsf@ericabrahamsen.net> References: <87sf5ppkx9.fsf@b3l.xyz> <877cn19t93.fsf@ericabrahamsen.net> <87jzr18e5z.fsf@b3l.xyz> <871qd89rft.fsf@ericabrahamsen.net> <878r7egb4v.fsf@uwaterloo.ca> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20883"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 66885@debbugs.gnu.org To: Britt Anderson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 04 00:33:51 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qz3fj-0005Br-2n for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Nov 2023 00:33:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qz3fM-0005NC-9D; Fri, 03 Nov 2023 19:33:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qz3fK-0005Mq-4F for bug-gnu-emacs@gnu.org; Fri, 03 Nov 2023 19:33:26 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qz3fJ-0000rb-Rg for bug-gnu-emacs@gnu.org; Fri, 03 Nov 2023 19:33:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qz3ft-0007Y7-KE for bug-gnu-emacs@gnu.org; Fri, 03 Nov 2023 19:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Nov 2023 23:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66885 X-GNU-PR-Package: emacs Original-Received: via spool by 66885-submit@debbugs.gnu.org id=B66885.169905440628969 (code B ref 66885); Fri, 03 Nov 2023 23:34:01 +0000 Original-Received: (at 66885) by debbugs.gnu.org; 3 Nov 2023 23:33:26 +0000 Original-Received: from localhost ([127.0.0.1]:60043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qz3fK-0007XB-AI for submit@debbugs.gnu.org; Fri, 03 Nov 2023 19:33:26 -0400 Original-Received: from mail.ericabrahamsen.net ([52.70.2.18]:55832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qz3fI-0007Wu-1k for 66885@debbugs.gnu.org; Fri, 03 Nov 2023 19:33:25 -0400 Original-Received: from localhost (97-113-37-151.tukw.qwest.net [97.113.37.151]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 98523FA12D; Fri, 3 Nov 2023 23:32:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1699054360; bh=GkGFCHJgG6sTW1BwDaqWHYusmu0CSwl9eycVQKe4UZk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=XthiA3qNnOWyFgJfxbqPmlVfK4AmyuP461dgxKfb0fM4+na5u+r68agdnu3c5pXF7 foZobRix/sX7Eafiny9EW2jEhNGva4q18921fLpF9V6uJNHjSqDso7r3sXG57v/5xk Zog9wzwDARQk20Hzr5MKG6bryNDmT3tnHiC9fUQw= In-Reply-To: <878r7egb4v.fsf@uwaterloo.ca> (Britt Anderson's message of "Fri, 03 Nov 2023 10:33:04 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273733 Archived-At: Britt Anderson 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