From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Britt Anderson Newsgroups: gmane.emacs.bugs Subject: bug#66885: 29.1; gnus search with mu always returns empty Date: Mon, 06 Nov 2023 16:33:11 -0500 Message-ID: <87ttpymuib.fsf@b3l.xyz> References: <87sf5ppkx9.fsf@b3l.xyz> <877cn19t93.fsf@ericabrahamsen.net> <87jzr18e5z.fsf@b3l.xyz> <871qd89rft.fsf@ericabrahamsen.net> <878r7egb4v.fsf@uwaterloo.ca> <87il6i8lbc.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23215"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.4; emacs 29.1 Cc: 66885@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 06 22:40:50 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 1r07Kw-0005og-SF for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Nov 2023 22:40:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r07Kg-0002qo-B8; Mon, 06 Nov 2023 16:40:30 -0500 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 1r07Ka-0002po-I9 for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2023 16:40:25 -0500 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 1r07Ka-0001te-AJ for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2023 16:40:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r07LB-0006eg-M7 for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2023 16:41:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Britt Anderson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Nov 2023 21:41: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.169930682925514 (code B ref 66885); Mon, 06 Nov 2023 21:41:01 +0000 Original-Received: (at 66885) by debbugs.gnu.org; 6 Nov 2023 21:40:29 +0000 Original-Received: from localhost ([127.0.0.1]:40820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r07Ke-0006dR-IE for submit@debbugs.gnu.org; Mon, 06 Nov 2023 16:40:28 -0500 Original-Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:34597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r07Kb-0006d7-7q for 66885@debbugs.gnu.org; Mon, 06 Nov 2023 16:40:27 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 72BE51C0002; Mon, 6 Nov 2023 21:39:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=b3l.xyz; s=gm1; t=1699306781; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=flvbYJ+EQC358n0nO/isyOeQiZm0jKtG8i6pCzxIUT0=; b=N/LIc/U6ZvOhg66wDuhT3MxlcfzqiMVTOuraf/EBcucTc9n/+r1CvPgj+oVTIYf1i8/3+6 OZ99qBa19em/4ctfKzJ+7zQeAHKspZMKoD3pq9aeUN8TjhvETv1WfJkBtuGXHc4epF6HsW SIzs5I3Ww5gTszI9lKqKC4MEuE2po51tMM/csVV2amou7BxNhL5MJmM6V3GOdTunZeg8m9 nr9D+0A0akM90SQTlcPnZv4iSMbXwDI/9rEYgNCZhde1JSwV9DngUOIAkCJq1I+mwVTgtb uiAxEs5CCHvM1feM/JNSZ8623eEeFvlHocqfEWS4o5aeDsL1mM/Sew6l6MzG9A== In-reply-to: <87il6i8lbc.fsf@ericabrahamsen.net> X-GND-Sasl: britt@b3l.xyz 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:273900 Archived-At: Eric Abrahamsen writes: > > 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. > Eric, I don't if this helps, but I have kept fiddling around with this. I decided to watch the ~gnus-search-mu-remove-prefix~ variable with this in my .gnus.el file: (nnmaildir "b3l-archives" (directory "/home/britt/.local/share/mail/b3l.xyz/britt/archives") (gnus-search-engine gnus-search-mu (remove-prefix "/home/britt/.local/share/mail/b3l.xyz/britt/archives"))) There is a maildir "y2023" that lives in archives. Using gnus I can read the mail in there. Before I start gnus none of the gnus-* variables are available from C-h v. After I start gnus I can see many of them, but not the gnus-search-* variables. After I go into gnus and try to perform a search on that directory then the gnus-search variables become visible. When I do C-h v gnus-search-mu-remove-prefix it still shows "/home/britt/Mail" even though the remove prefix was set above. Is my syntax bad somehow? I have tried manually to setq that variable to remove the prefix you advised in an earlier email. But search still doesn't work even though C-h v shows that my new value is the variable's current value. Just hoping this may give you an idea where the trouble lies. Still working hard to get back to gnus again. Thanks, Britt