From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 01 12:03:31 2023 Received: (at submit) by debbugs.gnu.org; 1 Nov 2023 16:03:31 +0000 Received: from localhost ([127.0.0.1]:52223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyDgk-0007mT-TB for submit@debbugs.gnu.org; Wed, 01 Nov 2023 12:03:31 -0400 Received: from lists.gnu.org ([2001:470:142::17]:34040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyD2L-0006Mr-0h for submit@debbugs.gnu.org; Wed, 01 Nov 2023 11:21:45 -0400 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 1qyD1f-0006ff-Lj for bug-gnu-emacs@gnu.org; Wed, 01 Nov 2023 11:20:59 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qyD1a-00024G-Po for bug-gnu-emacs@gnu.org; Wed, 01 Nov 2023 11:20:59 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 71E1520008 for ; Wed, 1 Nov 2023 15:20:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=b3l.xyz; s=gm1; t=1698852050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=WQMQQQB9/Fz3206o0tUJxUxTYwor+jb0SyOCgxKa5GI=; b=Gw5cUGMHro3c7yHqUV5+tQ7B3fj3UluD5ptEABomRu1ult/KMHf3oXc4Pni9XYy30NVbt/ 2ThiySBzkwA6Yt3nQYFtDl0BbDjFetDneGU48mGtJTIqb+jKpuTbHpWoiQlMKTDI6HpJo2 2VnfPfJprshU/JxZXmHf2aMpD31hwwt6NXPFsQnWD3rT5pjBmI6eZd/1+bOZ8PVNwrzZ99 AZEmcS6GOokxybtp/7Tkku7FyL332IOxtAGTu/iR15ccqwCPHg4geblE85AwITh1IYX4tP QBrl1rB3Ttn0JgizB5rbAi9MKgMEH12J/UEUKx4v19YojY56XU6XN9aLlncUZQ== From: Britt Anderson To: bug-gnu-emacs@gnu.org Subject: 29.1; gnus search with mu always returns empty Date: Wed, 01 Nov 2023 11:01:02 -0400 Message-ID: <87sf5ppkx9.fsf@b3l.xyz> User-agent: mu4e 1.10.4; emacs 29.1 MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: britt@b3l.xyz Received-SPF: pass client-ip=217.70.183.200; envelope-from=britt@b3l.xyz; helo=relay7-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 01 Nov 2023 12:03:26 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Using gnus and the mu search engine always returns an empty search. This is despite the fact that mu on the command line works, and that search in mu4e works. I noted that there was a bug report for something similar in #54162 for notmuch search, but that was apparently due to an empty server name, which is not the case for me. I will note that if I run from the command line a command like: mu find --clearlinks --format=links --linksdir=/home/britt/.local/share/mail/search/ 55214 It will populate a "search" group in Gnus that I manually added, and all the links work to take me to the emails. I can live with that for now, but it would be nice to get this working. I did look at how mu search is handled in gnus-search.el.gz (that is why I tried adding a config-directory), but was not able to detect what is broken. Thank you for your help and support -- Britt My current version of the ~gnus.el~ file is: (setq user-mail-address "britt@uwaterloo.ca") (setq user-full-name "Britt Anderson") (setq gnus-agent-synchronize-flags t) (setq gnus-search-use-parsed-queries t) (setq gnus-select-method '(nnnil "")) (setq message-sendmail-f-is-evil 't) (setq message-sendmail-extra-arguments '("--read-envelope-from")) (setq message-send-mail-function 'message-send-mail-with-sendmail) (setq sendmail-program "msmtp") (setq gnus-gcc-mark-as-read t) (setq gnus-agent nil) (setq gnus-summary-line-format "%U%R%z %(%&user-date; %-15,15f %B%s%)\n" gnus-user-date-format-alist '((t . "%Y-%m-%d %H:%M"))) (setq gnus-secondary-select-methods '((nnmaildir "mail" (directory "/home/britt/.local/share/mail") (gnus-search-engine gnus-search-mu) (config-directory "/home/britt/.cache/mu")))) In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) Windowing system distributor 'The X.Org Foundation', version 11.0.12101009 System Description: Arch Linux Configured using: 'configure --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib --with-tree-sitter --localstatedir=/var --with-cairo --disable-build-details --with-harfbuzz --with-libsystemd --with-modules --with-x-toolkit=gtk3 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/emacs/src=/usr/src/debug/emacs -flto=auto' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: mu4e-modeline-mode: t global-evil-surround-mode: t evil-surround-mode: t org-roam-bibtex-mode: t helm-mode: t helm-minibuffer-history-mode: t shell-dirtrack-mode: t helm--remap-mouse-mode: t async-bytecomp-package-mode: t org-roam-db-autosync-mode: t server-mode: t pdf-occur-global-minor-mode: t override-global-mode: t straight-use-package-mode: t straight-package-neutering-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/britt/.emacs.d/straight/build/emacsql-sqlite/emacsql-sqlite hides /home/britt/.emacs.d/straight/build/emacsql/emacsql-sqlite /home/britt/.emacs.d/straight/build/transient/transient hides /usr/share/emacs/29.1/lisp/transient /home/britt/.emacs.d/straight/build/use-package/use-package-bind-key hides /usr/share/emacs/29.1/lisp/use-package/use-package-bind-key /home/britt/.emacs.d/straight/build/use-package/use-package-core hides /usr/share/emacs/29.1/lisp/use-package/use-package-core /home/britt/.emacs.d/straight/build/use-package/use-package-delight hides /usr/share/emacs/29.1/lisp/use-package/use-package-delight /home/britt/.emacs.d/straight/build/use-package/use-package-lint hides /usr/share/emacs/29.1/lisp/use-package/use-package-lint /home/britt/.emacs.d/straight/build/use-package/use-package-jump hides /usr/share/emacs/29.1/lisp/use-package/use-package-jump /home/britt/.emacs.d/straight/build/use-package/use-package-ensure hides /usr/share/emacs/29.1/lisp/use-package/use-package-ensure /home/britt/.emacs.d/straight/build/use-package/use-package hides /usr/share/emacs/29.1/lisp/use-package/use-package /home/britt/.emacs.d/straight/build/use-package/use-package-diminish hides /usr/share/emacs/29.1/lisp/use-package/use-package-diminish /home/britt/.emacs.d/straight/build/bind-key/bind-key hides /usr/share/emacs/29.1/lisp/use-package/bind-key /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-octave hides /usr/share/emacs/29.1/lisp/org/ob-octave /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-julia hides /usr/share/emacs/29.1/lisp/org/ob-julia /home/britt/.emacs.d/straight/build/org-plus-contrib/org-footnote hides /usr/share/emacs/29.1/lisp/org/org-footnote /home/britt/.emacs.d/straight/build/org-plus-contrib/ox-koma-letter hides /usr/share/emacs/29.1/lisp/org/ox-koma-letter /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-makefile hides /usr/share/emacs/29.1/lisp/org/ob-makefile /home/britt/.emacs.d/straight/build/org-plus-contrib/org-attach hides /usr/share/emacs/29.1/lisp/org/org-attach /home/britt/.emacs.d/straight/build/org-plus-contrib/org-crypt hides /usr/share/emacs/29.1/lisp/org/org-crypt /home/britt/.emacs.d/straight/build/org-plus-contrib/org-capture hides /usr/share/emacs/29.1/lisp/org/org-capture /home/britt/.emacs.d/straight/build/org-plus-contrib/oc-csl hides /usr/share/emacs/29.1/lisp/org/oc-csl /home/britt/.emacs.d/straight/build/org-plus-contrib/org-compat hides /usr/share/emacs/29.1/lisp/org/org-compat /home/britt/.emacs.d/straight/build/org-plus-contrib/ox-man hides /usr/share/emacs/29.1/lisp/org/ox-man /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-ref hides /usr/share/emacs/29.1/lisp/org/ob-ref /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-groovy hides /usr/share/emacs/29.1/lisp/org/ob-groovy /home/britt/.emacs.d/straight/build/org-plus-contrib/ol-rmail hides /usr/share/emacs/29.1/lisp/org/ol-rmail /home/britt/.emacs.d/straight/build/org-plus-contrib/org-num hides /usr/share/emacs/29.1/lisp/org/org-num /home/britt/.emacs.d/straight/build/org-plus-contrib/ol-bibtex hides /usr/share/emacs/29.1/lisp/org/ol-bibtex /home/britt/.emacs.d/straight/build/org-plus-contrib/ox-icalendar hides /usr/share/emacs/29.1/lisp/org/ox-icalendar /home/britt/.emacs.d/straight/build/org-plus-contrib/org-id hides /usr/share/emacs/29.1/lisp/org/org-id /home/britt/.emacs.d/straight/build/org-plus-contrib/ox-beamer hides /usr/share/emacs/29.1/lisp/org/ox-beamer /home/britt/.emacs.d/straight/build/org-plus-contrib/org-macro hides /usr/share/emacs/29.1/lisp/org/org-macro /home/britt/.emacs.d/straight/build/org-plus-contrib/org-fold hides /usr/share/emacs/29.1/lisp/org/org-fold /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-tangle hides /usr/share/emacs/29.1/lisp/org/ob-tangle /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-awk hides /usr/share/emacs/29.1/lisp/org/ob-awk /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-org hides /usr/share/emacs/29.1/lisp/org/ob-org /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-calc hides /usr/share/emacs/29.1/lisp/org/ob-calc /home/britt/.emacs.d/straight/build/org-plus-contrib/org-feed hides /usr/share/emacs/29.1/lisp/org/org-feed /home/britt/.emacs.d/straight/build/org-plus-contrib/oc-biblatex hides /usr/share/emacs/29.1/lisp/org/oc-biblatex /home/britt/.emacs.d/straight/build/org-plus-contrib/oc-bibtex hides /usr/share/emacs/29.1/lisp/org/oc-bibtex /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-python hides /usr/share/emacs/29.1/lisp/org/ob-python /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-gnuplot hides /usr/share/emacs/29.1/lisp/org/ob-gnuplot /home/britt/.emacs.d/straight/build/org-plus-contrib/org-duration hides /usr/share/emacs/29.1/lisp/org/org-duration /home/britt/.emacs.d/straight/build/org-plus-contrib/ox hides /usr/share/emacs/29.1/lisp/org/ox /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-maxima hides /usr/share/emacs/29.1/lisp/org/ob-maxima /home/britt/.emacs.d/straight/build/org-plus-contrib/ol-bbdb hides /usr/share/emacs/29.1/lisp/org/ol-bbdb /home/britt/.emacs.d/straight/build/org-plus-contrib/ol-w3m hides /usr/share/emacs/29.1/lisp/org/ol-w3m /home/britt/.emacs.d/straight/build/org-plus-contrib/org-loaddefs hides /usr/share/emacs/29.1/lisp/org/org-loaddefs /home/britt/.emacs.d/straight/build/org-plus-contrib/org-habit hides /usr/share/emacs/29.1/lisp/org/org-habit /home/britt/.emacs.d/straight/build/org-plus-contrib/ol-info hides /usr/share/emacs/29.1/lisp/org/ol-info /home/britt/.emacs.d/straight/build/org-plus-contrib/ox-md hides /usr/share/emacs/29.1/lisp/org/ox-md /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-fortran hides /usr/share/emacs/29.1/lisp/org/ob-fortran /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-ruby hides /usr/share/emacs/29.1/lisp/org/ob-ruby /home/britt/.emacs.d/straight/build/org-plus-contrib/ol-gnus hides /usr/share/emacs/29.1/lisp/org/ol-gnus /home/britt/.emacs.d/straight/build/org-plus-contrib/org-cycle hides /usr/share/emacs/29.1/lisp/org/org-cycle /home/britt/.emacs.d/straight/build/org-plus-contrib/ol-docview hides /usr/share/emacs/29.1/lisp/org/ol-docview /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-sql hides /usr/share/emacs/29.1/lisp/org/ob-sql /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-lob hides /usr/share/emacs/29.1/lisp/org/ob-lob /home/britt/.emacs.d/straight/build/org-plus-contrib/org-timer hides /usr/share/emacs/29.1/lisp/org/org-timer /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-processing hides /usr/share/emacs/29.1/lisp/org/ob-processing /home/britt/.emacs.d/straight/build/org-plus-contrib/ox-odt hides /usr/share/emacs/29.1/lisp/org/ox-odt /home/britt/.emacs.d/straight/build/org-plus-contrib/org-faces hides /usr/share/emacs/29.1/lisp/org/org-faces /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-exp hides /usr/share/emacs/29.1/lisp/org/ob-exp /home/britt/.emacs.d/straight/build/org-plus-contrib/org-inlinetask hides /usr/share/emacs/29.1/lisp/org/org-inlinetask /home/britt/.emacs.d/straight/build/org-plus-contrib/oc-basic hides /usr/share/emacs/29.1/lisp/org/oc-basic /home/britt/.emacs.d/straight/build/org-plus-contrib/org-element hides /usr/share/emacs/29.1/lisp/org/org-element /home/britt/.emacs.d/straight/build/org-plus-contrib/ox-org hides /usr/share/emacs/29.1/lisp/org/ox-org /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-screen hides /usr/share/emacs/29.1/lisp/org/ob-screen /home/britt/.emacs.d/straight/build/org-plus-contrib/ol-eww hides /usr/share/emacs/29.1/lisp/org/ol-eww /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-js hides /usr/share/emacs/29.1/lisp/org/ob-js /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-clojure hides /usr/share/emacs/29.1/lisp/org/ob-clojure /home/britt/.emacs.d/straight/build/org-plus-contrib/org-pcomplete hides /usr/share/emacs/29.1/lisp/org/org-pcomplete /home/britt/.emacs.d/straight/build/org-plus-contrib/ox-latex hides /usr/share/emacs/29.1/lisp/org/ox-latex /home/britt/.emacs.d/straight/build/org-plus-contrib/org-entities hides /usr/share/emacs/29.1/lisp/org/org-entities /home/britt/.emacs.d/straight/build/org-plus-contrib/org-archive hides /usr/share/emacs/29.1/lisp/org/org-archive /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-scheme hides /usr/share/emacs/29.1/lisp/org/ob-scheme /home/britt/.emacs.d/straight/build/org-plus-contrib/ob hides /usr/share/emacs/29.1/lisp/org/ob /home/britt/.emacs.d/straight/build/org-plus-contrib/ol hides /usr/share/emacs/29.1/lisp/org/ol /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-ocaml hides /usr/share/emacs/29.1/lisp/org/ob-ocaml /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-emacs-lisp hides /usr/share/emacs/29.1/lisp/org/ob-emacs-lisp /home/britt/.emacs.d/straight/build/org-plus-contrib/org-ctags hides /usr/share/emacs/29.1/lisp/org/org-ctags /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-sqlite hides /usr/share/emacs/29.1/lisp/org/ob-sqlite /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-latex hides /usr/share/emacs/29.1/lisp/org/ob-latex /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-eval hides /usr/share/emacs/29.1/lisp/org/ob-eval /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-eshell hides /usr/share/emacs/29.1/lisp/org/ob-eshell /home/britt/.emacs.d/straight/build/org-plus-contrib/oc hides /usr/share/emacs/29.1/lisp/org/oc /home/britt/.emacs.d/straight/build/org-plus-contrib/org-refile hides /usr/share/emacs/29.1/lisp/org/org-refile /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-lua hides /usr/share/emacs/29.1/lisp/org/ob-lua /home/britt/.emacs.d/straight/build/org-plus-contrib/org-mouse hides /usr/share/emacs/29.1/lisp/org/org-mouse /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-sed hides /usr/share/emacs/29.1/lisp/org/ob-sed /home/britt/.emacs.d/straight/build/org-plus-contrib/org-list hides /usr/share/emacs/29.1/lisp/org/org-list /home/britt/.emacs.d/straight/build/org-plus-contrib/ox-publish hides /usr/share/emacs/29.1/lisp/org/ox-publish /home/britt/.emacs.d/straight/build/org-plus-contrib/org-macs hides /usr/share/emacs/29.1/lisp/org/org-macs /home/britt/.emacs.d/straight/build/org-plus-contrib/org-datetree hides /usr/share/emacs/29.1/lisp/org/org-datetree /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-perl hides /usr/share/emacs/29.1/lisp/org/ob-perl /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-shell hides /usr/share/emacs/29.1/lisp/org/ob-shell /home/britt/.emacs.d/straight/build/org-plus-contrib/org hides /usr/share/emacs/29.1/lisp/org/org /home/britt/.emacs.d/straight/build/org-plus-contrib/org-persist hides /usr/share/emacs/29.1/lisp/org/org-persist /home/britt/.emacs.d/straight/build/org-plus-contrib/org-table hides /usr/share/emacs/29.1/lisp/org/org-table /home/britt/.emacs.d/straight/build/org-plus-contrib/ol-doi hides /usr/share/emacs/29.1/lisp/org/ol-doi /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-plantuml hides /usr/share/emacs/29.1/lisp/org/ob-plantuml /home/britt/.emacs.d/straight/build/org-plus-contrib/ox-html hides /usr/share/emacs/29.1/lisp/org/ox-html /home/britt/.emacs.d/straight/build/org-plus-contrib/org-plot hides /usr/share/emacs/29.1/lisp/org/org-plot /home/britt/.emacs.d/straight/build/org-plus-contrib/org-fold-core hides /usr/share/emacs/29.1/lisp/org/org-fold-core /home/britt/.emacs.d/straight/build/org-plus-contrib/ol-irc hides /usr/share/emacs/29.1/lisp/org/ol-irc /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-forth hides /usr/share/emacs/29.1/lisp/org/ob-forth /home/britt/.emacs.d/straight/build/org-plus-contrib/org-colview hides /usr/share/emacs/29.1/lisp/org/org-colview /home/britt/.emacs.d/straight/build/org-plus-contrib/org-indent hides /usr/share/emacs/29.1/lisp/org/org-indent /home/britt/.emacs.d/straight/build/org-plus-contrib/ox-texinfo hides /usr/share/emacs/29.1/lisp/org/ox-texinfo /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-ditaa hides /usr/share/emacs/29.1/lisp/org/ob-ditaa /home/britt/.emacs.d/straight/build/org-plus-contrib/org-protocol hides /usr/share/emacs/29.1/lisp/org/org-protocol /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-java hides /usr/share/emacs/29.1/lisp/org/ob-java /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-sass hides /usr/share/emacs/29.1/lisp/org/ob-sass /home/britt/.emacs.d/straight/build/org-plus-contrib/ol-mhe hides /usr/share/emacs/29.1/lisp/org/ol-mhe /home/britt/.emacs.d/straight/build/org-plus-contrib/ol-man hides /usr/share/emacs/29.1/lisp/org/ol-man /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-core hides /usr/share/emacs/29.1/lisp/org/ob-core /home/britt/.emacs.d/straight/build/org-plus-contrib/org-clock hides /usr/share/emacs/29.1/lisp/org/org-clock /home/britt/.emacs.d/straight/build/org-plus-contrib/org-attach-git hides /usr/share/emacs/29.1/lisp/org/org-attach-git /home/britt/.emacs.d/straight/build/org-plus-contrib/org-lint hides /usr/share/emacs/29.1/lisp/org/org-lint /home/britt/.emacs.d/straight/build/org-plus-contrib/org-keys hides /usr/share/emacs/29.1/lisp/org/org-keys /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-comint hides /usr/share/emacs/29.1/lisp/org/ob-comint /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-table hides /usr/share/emacs/29.1/lisp/org/ob-table /home/britt/.emacs.d/straight/build/org-plus-contrib/oc-natbib hides /usr/share/emacs/29.1/lisp/org/oc-natbib /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-lisp hides /usr/share/emacs/29.1/lisp/org/ob-lisp /home/britt/.emacs.d/straight/build/org-plus-contrib/org-goto hides /usr/share/emacs/29.1/lisp/org/org-goto /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-matlab hides /usr/share/emacs/29.1/lisp/org/ob-matlab /home/britt/.emacs.d/straight/build/org-plus-contrib/org-src hides /usr/share/emacs/29.1/lisp/org/org-src /home/britt/.emacs.d/straight/build/org-plus-contrib/org-mobile hides /usr/share/emacs/29.1/lisp/org/org-mobile /home/britt/.emacs.d/straight/build/org-plus-contrib/org-agenda hides /usr/share/emacs/29.1/lisp/org/org-agenda /home/britt/.emacs.d/straight/build/org-plus-contrib/org-tempo hides /usr/share/emacs/29.1/lisp/org/org-tempo /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-lilypond hides /usr/share/emacs/29.1/lisp/org/ob-lilypond /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-haskell hides /usr/share/emacs/29.1/lisp/org/ob-haskell /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-R hides /usr/share/emacs/29.1/lisp/org/ob-R /home/britt/.emacs.d/straight/build/org-plus-contrib/ol-eshell hides /usr/share/emacs/29.1/lisp/org/ol-eshell /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-dot hides /usr/share/emacs/29.1/lisp/org/ob-dot /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-C hides /usr/share/emacs/29.1/lisp/org/ob-C /home/britt/.emacs.d/straight/build/org-plus-contrib/ox-ascii hides /usr/share/emacs/29.1/lisp/org/ox-ascii /home/britt/.emacs.d/straight/build/org-plus-contrib/org-version hides /usr/share/emacs/29.1/lisp/org/org-version /home/britt/.emacs.d/straight/build/org-plus-contrib/ob-css hides /usr/share/emacs/29.1/lisp/org/ob-css /home/britt/.emacs.d/straight/build/let-alist/let-alist hides /usr/share/emacs/29.1/lisp/emacs-lisp/let-alist Features: (shadow emacsbug mm-archive smiley gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check qp gnus-async gnus-bcklg sort help-fns radix-tree misearch multi-isearch image-file image-converter helm-external gnus-ml disp-table gnus-search eieio-opt speedbar ezimage dframe nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nnmaildir nnfolder gnus-cache nnnil nntp light-blue-theme winner tramp-archive tramp-gvfs tramp-cache time-stamp zeroconf helm-command helm-elisp helm-eval edebug debug backtrace helm-info simple-httpd simple-httpd-autoloads paredit paredit-autoloads org-mime org-mime-autoloads mu4e mu4e-org mu4e-notification notifications mu4e-main mu4e-view mu4e-headers mu4e-compose mu4e-draft mu4e-actions smtpmail mu4e-search mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message flow-fill mule-util mu4e-contacts mu4e-update mu4e-folders mu4e-context mu4e-query-items mu4e-server mu4e-modeline mu4e-vars mu4e-helpers mu4e-config mu4e-window mu4e-obsolete evil-surround evil-surround-autoloads evil evil-keybindings evil-integration evil-maps evil-commands reveal evil-jumps evil-command-window evil-search evil-ex evil-types evil-macros evil-repeat evil-states evil-core evil-common rect evil-vars evil-autoloads goto-chg-autoloads nov recentf tree-widget esxml-query nov-autoloads esxml-autoloads kv-autoloads magit-autoloads git-commit-autoloads with-editor-autoloads transient-autoloads poly-R poly-markdown poly-noweb ess-r-mode ess-r-flymake flymake-proc flymake ess-r-xref ess-trns ess-r-package ess-r-completion ess-roxy ess-r-syntax ess-rd hideshow ess-s-lang ess-help ess-mode ess-inf ess-tracebug ess lisp-mnt ess-utils ess-custom poly-R-autoloads poly-noweb-autoloads poly-markdown-autoloads polymode poly-lock polymode-base polymode-weave polymode-export polymode-compat polymode-methods polymode-core polymode-classes eieio-custom eieio-base polymode-autoloads org-caldav icalendar diary-lib diary-loaddefs url-dav url-http url-auth url-gw nsm org-caldav-autoloads flycheck flycheck-autoloads pkg-info-autoloads epl-autoloads slime apropos etags fileloop xref arc-mode archive-mode hyperspec slime-autoloads macrostep-autoloads htmlize htmlize-autoloads ob-haskell ob-shell ob-latex ob-python python project ob-R ob-maxima ob-lisp ox-rss ox-org ox-md ox-beamer ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox org-roam-bibtex orb-core orb-compat orb-utils org-roam-bibtex-autoloads org-noter org-noter-djvu org-noter-nov org-noter-pdf org-noter-core org-noter-autoloads citeproc citeproc-itemgetters citeproc-biblatex citeproc-bibtex citeproc-cite citeproc-subbibs citeproc-sort citeproc-name citeproc-formatters citeproc-number rst citeproc-proc citeproc-disamb citeproc-itemdata citeproc-generic-elements citeproc-macro citeproc-choose citeproc-date citeproc-context citeproc-prange citeproc-style citeproc-locale citeproc-term citeproc-rt citeproc-lib citeproc-s queue citeproc-autoloads string-inflection-autoloads queue-autoloads helm-bibtex bibtex-completion biblio biblio-download biblio-dissemin biblio-ieee biblio-hal biblio-dblp biblio-crossref biblio-arxiv biblio-doi biblio-core ido hl-line f f-shortdoc s parsebib helm-net helm-bibtex-autoloads bibtex-completion-autoloads biblio-autoloads biblio-core-autoloads f-autoloads s-autoloads parsebib-autoloads helm-mode helm-misc helm-files image-dired image-dired-tags image-dired-external image-dired-util tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp helm-utils helm-help helm-types helm helm-global-bindings helm-easymenu helm-core async-bytecomp helm-source helm-multi-match helm-lib async helm-autoloads popup-autoloads wfnames-autoloads helm-core-autoloads async-autoloads preview-latex tex-site auctex-autoloads pcase use-package-ensure warnings oc-basic ol-eww eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi org-roam-migrate org-roam-mode org-roam-capture org-roam-id org-roam-node org-roam-db org-roam-utils org-roam-compat org-roam emacsql-sqlite emacsql-sqlite-common emacsql emacsql-compiler magit-section cursor-sensor compat dash org-roam-autoloads magit-section-autoloads compat-autoloads emacsql-sqlite-autoloads emacsql-autoloads dash-autoloads org-journal org-crypt cal-iso org-journal-autoloads org-tree-slide face-remap org-timer org-tree-slide-autoloads visual-fill-column visual-fill-column-autoloads elfeed-goodies-logging elfeed-goodies-new-entry-hooks mm-url elfeed-goodies-split-pane popwin elfeed-goodies-show-mode link-hint ffap goto-addr elfeed-goodies-search-mode powerline powerline-separators powerline-themes elfeed-goodies elfeed-goodies-autoloads link-hint-autoloads powerline-autoloads popwin-autoloads elfeed-show elfeed-search elfeed-csv elfeed elfeed-curl elfeed-log elfeed-db elfeed-lib url-queue xml-query elfeed-autoloads go-translate-autoloads w3m doc-view filenotify timezone w3m-hist bookmark-w3m w3m-ems w3m-favicon w3m-image w3m-fb tab-line w3m-proc w3m-util w3m-autoloads server pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist advice tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch let-alist pdf-misc imenu pdf-tools package url-handlers compile cus-edit cus-load pdf-view bookmark pp jka-compr pdf-cache pdf-info tq pdf-util pdf-macs image-mode exif pdf-tools-autoloads let-alist-autoloads tablist-autoloads deft-autoloads ace-window avy edmacro kmacro ace-window-autoloads avy-autoloads finder-inf use-package-bind-key bind-key easy-mmode markdown-mode color thingatpt markdown-mode-autoloads showkey showkey-autoloads org-contacts org-capture org-agenda org-element org-element-ast inline org-persist xdg org-id avl-tree generator org-refile gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util url-parse auth-source eieio eieio-core json map byte-opt url-vars gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message sendmail mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader mail-utils range mm-util mail-prsvr wid-edit gnus-util text-property-search org-contacts-autoloads use-package-core org-clock dbus xml org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie treesit executable ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color ring org-list org-footnote org-faces org-entities time-date noutline outline icons ob-emacs-lisp ob-core ob-eval org-cycle org-table ol rx org-fold org-fold-core org-keys oc org-loaddefs find-func cal-menu calendar cal-loaddefs org-version org-compat org-macs format-spec tsdh-dark-theme use-package-autoloads info bind-key-autoloads straight-autoloads cl-seq cl-extra help-mode straight subr-x cl-macs gv cl-loaddefs cl-lib bytecomp byte-compile rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 784633 52325) (symbols 48 60688 5) (strings 32 273880 19318) (string-bytes 1 10302730) (vectors 16 159428) (vector-slots 8 2690699 83295) (floats 8 798 505) (intervals 56 5392 1285) (buffers 984 56)) From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 01 15:19:57 2023 Received: (at 66885) by debbugs.gnu.org; 1 Nov 2023 19:19:57 +0000 Received: from localhost ([127.0.0.1]:52627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyGkr-0007xc-Bf for submit@debbugs.gnu.org; Wed, 01 Nov 2023 15:19:57 -0400 Received: from mail.ericabrahamsen.net ([52.70.2.18]:47824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyGkl-0007xE-8h for 66885@debbugs.gnu.org; Wed, 01 Nov 2023 15:19:51 -0400 Received: from localhost (71-212-21-65.tukw.qwest.net [71.212.21.65]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 70AE9FA0C0; Wed, 1 Nov 2023 19:19:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1698866345; bh=dKl6PS7N4LdwHnB0dQMqzFvFfHf0nrGp8K4WNlqOHU4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=RDZh6j6sAY91L8EnxPaBHOru2Yt2FnpoQxGwmHYc2K/8lD/90yKPDDNBIYS4hxkqK pkhnGiQkmmB+jbrkb9bQ8KyTpstgckwh41DLrmBZGla4GnIO8yEvVkoAC6Xjs96qsL g7Npu06LpxX8+/8Wu2kSPsyxoILLVYh424ZJbK9E= From: Eric Abrahamsen To: Britt Anderson Subject: Re: bug#66885: 29.1; gnus search with mu always returns empty In-Reply-To: <87sf5ppkx9.fsf@b3l.xyz> (Britt Anderson's message of "Wed, 01 Nov 2023 11:01:02 -0400") References: <87sf5ppkx9.fsf@b3l.xyz> Date: Wed, 01 Nov 2023 12:19:04 -0700 Message-ID: <877cn19t93.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66885 Cc: 66885@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Britt Anderson writes: > Using gnus and the mu search engine always returns an empty search. This > is despite the fact that mu on the command line works, and that search > in mu4e works. Thanks for the report. > I noted that there was a bug report for something similar in #54162 for > notmuch search, but that was apparently due to an empty server name, > which is not the case for me. > > I will note that if I run from the command line a command like: > > mu find --clearlinks --format=links --linksdir=/home/britt/.local/share/mail/search/ 55214 Gnus' code will construct a command line like this: mu find --nocolor --muhome=~/.cache/mu --format=plain --fields=l Would you try running this with a sample query, and sending a sample output (I hope it's just a list of file names). That should help narrow down whether it's a problem sending the query in, or a problem parsing the output. Thanks, Eric From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 02 01:53:48 2023 Received: (at 66885) by debbugs.gnu.org; 2 Nov 2023 05:53:48 +0000 Received: from localhost ([127.0.0.1]:53685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyQeI-00039s-Pe for submit@debbugs.gnu.org; Thu, 02 Nov 2023 01:53:48 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:52995) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyGvp-0008JS-Ah for 66885@debbugs.gnu.org; Wed, 01 Nov 2023 15:31:17 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id A86591BF206; Wed, 1 Nov 2023 19:30:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=b3l.xyz; s=gm1; t=1698867032; 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=91aFl83XdHC+KpLvAny/xP/II1iXvNIVf54LkduTrEk=; b=YzmzlRhcfxKeb3zWG3W4/+GncAxQMY8rT8szHb4oI2MdskL1KtzC3XZj10fptPAF6wIhs8 LIWMgSjo5FsvU/G2lPZ6E5scs7aAKENGicV1FeGa+dTv4GtHxOQJ1Wpbw9gDH0TNgG7xzh PKUZj6wyypU1zvZDDdxXW2sICC5n/aj81IbhCN1U9XVsRlAbjdP3CULy7z7wdo6YAOmcDe gNP70EFSebW8PNG12e/GJt/Z51wq77j0FI+HwSRfvl6pQdP3yFgBjzHoczepRvKuazFg9K JoW4bu6aUq+pt90c4CetSNpnJo9UF+IoxedmIDiyE3MggyHuJF3xz+75t3wISQ== References: <87sf5ppkx9.fsf@b3l.xyz> <877cn19t93.fsf@ericabrahamsen.net> User-agent: mu4e 1.10.4; emacs 29.1 From: Britt Anderson To: Eric Abrahamsen Subject: Re: bug#66885: 29.1; gnus search with mu always returns empty Date: Wed, 01 Nov 2023 15:28:41 -0400 In-reply-to: <877cn19t93.fsf@ericabrahamsen.net> Message-ID: <87jzr18e5z.fsf@b3l.xyz> MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: britt@b3l.xyz X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66885 X-Mailman-Approved-At: Thu, 02 Nov 2023 01:53:40 -0400 Cc: 66885@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Copy and pasted the terminal output. mu is not expanding the 'tilde' in "--muhome", but if I use the full path, then I do get a list of files returned. However the error in the first form is not an empty search but a database detection error. Here are the two versions: britt@joy ~]$ mu find --nocolor --muhome=~/.cache/mu from:"eric abrahamsen" --format=plain --fields=l Couldn't detect type of database [britt@joy ~]$ mu find --nocolor --muhome=/home/britt/.cache/mu from:"eric abrahamsen" --format=plain --fields=l /home/britt/.local/share/mail/uwaterloo.ca/britt/archives/y2022/cur/1686484828.9058_11546.joy:2,S /home/britt/.local/share/mail/uwaterloo.ca/britt/archives/y2022/cur/1686484831.9058_11566.joy:2,S /home/britt/.local/share/mail/uwaterloo.ca/britt/archives/y2022/cur/1686484834.9058_11591.joy:2,S /home/britt/.local/share/mail/uwaterloo.ca/britt/archives/y2022/cur/1686484839.9058_11615.joy:2,S /home/britt/.local/share/mail/uwaterloo.ca/britt/archives/y2022/cur/1686484842.9058_11638.joy:2,S /home/britt/.local/share/mail/uwaterloo.ca/britt/archives/y2022/cur/1686484843.9058_11640.joy:2,S /home/britt/.local/share/mail/uwaterloo.ca/britt/archives/y2022/cur/1686484858.9058_11707.joy:2,S Regards, Britt Eric Abrahamsen writes: > Britt Anderson writes: > >> Using gnus and the mu search engine always returns an empty search. This >> is despite the fact that mu on the command line works, and that search >> in mu4e works. > > Thanks for the report. > >> I noted that there was a bug report for something similar in #54162 for >> notmuch search, but that was apparently due to an empty server name, >> which is not the case for me. >> >> I will note that if I run from the command line a command like: >> >> mu find --clearlinks --format=links --linksdir=/home/britt/.local/share/mail/search/ 55214 > > Gnus' code will construct a command line like this: > > mu find --nocolor --muhome=~/.cache/mu --format=plain --fields=l > > Would you try running this with a sample query, and sending a sample > output (I hope it's just a list of file names). That should help narrow > down whether it's a problem sending the query in, or a problem parsing > the output. > > Thanks, > Eric -- Britt Anderson Kitchener, ON CA; Paris France From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 02 10:11:24 2023 Received: (at 66885) by debbugs.gnu.org; 2 Nov 2023 14:11:24 +0000 Received: from localhost ([127.0.0.1]:55693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyYPo-0004aH-8e for submit@debbugs.gnu.org; Thu, 02 Nov 2023 10:11:24 -0400 Received: from mail.ericabrahamsen.net ([52.70.2.18]:54144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyYPi-0004Zv-F2 for 66885@debbugs.gnu.org; Thu, 02 Nov 2023 10:11:19 -0400 Received: from localhost (71-212-21-65.tukw.qwest.net [71.212.21.65]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 10508FA12D; Thu, 2 Nov 2023 14:10:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1698934232; bh=jjwtgE5Ff/StRVDfFzehIVwfT//ztt2A6/jmQkh73fY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=U5QEuiogsCYZJm2rjhMiipd+PTOl9sWGuwbSd8jsvE1bEAx9ocpmhTntg+VlZ6K62 ieNNQTctFd2svaF8s+egvkAB1k/c2+xF3k6BmfnAQ0qPVcXN0q4ng1Ip7QaWk96O6M PJfrIqxqdt61SYViS3yH0UzwtSRKAjCWNI+40VDY= From: Eric Abrahamsen To: Britt Anderson Subject: Re: bug#66885: 29.1; gnus search with mu always returns empty In-Reply-To: <87jzr18e5z.fsf@b3l.xyz> (Britt Anderson's message of "Wed, 01 Nov 2023 15:28:41 -0400") References: <87sf5ppkx9.fsf@b3l.xyz> <877cn19t93.fsf@ericabrahamsen.net> <87jzr18e5z.fsf@b3l.xyz> Date: Thu, 02 Nov 2023 07:10:30 -0700 Message-ID: <871qd89rft.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66885 Cc: 66885@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Britt Anderson writes: > Copy and pasted the terminal output. mu is not expanding the 'tilde' in > "--muhome", but if I use the full path, then I do get a list of files > returned. However the error in the first form is not an empty search but > a database detection error. That's fine, the value of config-directory is expand-file-name'd, so the tilde doesn't make it through to mu. Your problem is likely that your configuration doesn't include the correct `remove-prefix', a string prefix that is removed from the filenames returned by mu. The default is "~/Mail", which is wrong in your case, it looks like it should be "/home/britt/.local/share/mail/uwaterloo.ca/britt/archives". That will have to go in your config. Note that search-engine configuration options need to go inside the `gnus-search-engine' sexp -- your previous `config-directory' config was outside, at the `nnmaildir' level. But that was the default value anyway, so you can leave it out. This should be sufficient: (setq gnus-secondary-select-methods '((nnmaildir "mail" (directory "/home/britt/.local/share/mail") (gnus-search-engine gnus-search-mu (remove-prefix "/home/britt/.local/share/mail/uwaterloo.ca/britt/archives"))))) The "(gnus) Search Engines" info manual has more detail. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 03 10:34:06 2023 Received: (at 66885) by debbugs.gnu.org; 3 Nov 2023 14:34:06 +0000 Received: from localhost ([127.0.0.1]:59501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyvFO-0004UV-1N for submit@debbugs.gnu.org; Fri, 03 Nov 2023 10:34:06 -0400 Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]:60283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyvFL-0004Tw-3A for 66885@debbugs.gnu.org; Fri, 03 Nov 2023 10:34:04 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 2715B1BF20A; Fri, 3 Nov 2023 14:33:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=b3l.xyz; s=gm1; t=1699022000; 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=EI0Pon1X1d5ngCi5NvACOQ8MNDHvCBPEg10MyG+bqSA=; b=FdLXxiLc2PNSv78ek3Mt/ZBcp1wfeiUhoQzbHzkY0vP8sL4H8XosEdIHHxa8SvsKN6Ghdh eIxJ+cHLvgmqlXrBR3/WvOPMOvEr4JecYowY/xBSoUHuuIl5k+fwx30vxPY1auzu+7eyKw 3V+xqbHBSCgCG3+7i5AN0W4K2wTn9iQkyroJMbVrEfPcbQ+4Qqcl1FBjHDSJu9RezQnu1b Roz8jEb6bK4PODngSm2KFzHqCkEZ1p93EDD3p9KxAKFu2hpwrEq81xox1pAdfiDpIvGrv3 Nr6xHBOVNm+/ix+XyKvDnEO+LBgkEmGoc262Jtj0EP19ajnyxH4PxdmkkWAksg== From: Britt Anderson To: Eric Abrahamsen Subject: Re: bug#66885: 29.1; gnus search with mu always returns empty In-Reply-To: <871qd89rft.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 02 Nov 2023 07:10:30 -0700") References: <87sf5ppkx9.fsf@b3l.xyz> <877cn19t93.fsf@ericabrahamsen.net> <87jzr18e5z.fsf@b3l.xyz> <871qd89rft.fsf@ericabrahamsen.net> Date: Fri, 03 Nov 2023 10:33:04 -0400 Message-ID: <878r7egb4v.fsf@uwaterloo.ca> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: britt@b3l.xyz X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66885 Cc: 66885@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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. 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). 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. 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. Thank you. Britt Eric Abrahamsen writes: > Britt Anderson writes: > >> Copy and pasted the terminal output. mu is not expanding the 'tilde' in >> "--muhome", but if I use the full path, then I do get a list of files >> returned. However the error in the first form is not an empty search but >> a database detection error. > > That's fine, the value of config-directory is expand-file-name'd, so the > tilde doesn't make it through to mu. > > Your problem is likely that your configuration doesn't include the > correct `remove-prefix', a string prefix that is removed from the > filenames returned by mu. The default is "~/Mail", which is wrong in > your case, it looks like it should be > "/home/britt/.local/share/mail/uwaterloo.ca/britt/archives". > > That will have to go in your config. Note that search-engine > configuration options need to go inside the `gnus-search-engine' sexp -- > your previous `config-directory' config was outside, at the `nnmaildir' > level. But that was the default value anyway, so you can leave it out. > This should be sufficient: > > (setq gnus-secondary-select-methods > '((nnmaildir "mail" > (directory "/home/britt/.local/share/mail") > (gnus-search-engine gnus-search-mu > (remove-prefix "/home/britt/.local/share/mail/uwaterloo.ca/britt/archives"))))) > > The "(gnus) Search Engines" info manual has more detail. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 03 19:33:26 2023 Received: (at 66885) by debbugs.gnu.org; 3 Nov 2023 23:33:26 +0000 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 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 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= From: Eric Abrahamsen To: Britt Anderson Subject: Re: bug#66885: 29.1; gnus search with mu always returns empty In-Reply-To: <878r7egb4v.fsf@uwaterloo.ca> (Britt Anderson's message of "Fri, 03 Nov 2023 10:33:04 -0400") References: <87sf5ppkx9.fsf@b3l.xyz> <877cn19t93.fsf@ericabrahamsen.net> <87jzr18e5z.fsf@b3l.xyz> <871qd89rft.fsf@ericabrahamsen.net> <878r7egb4v.fsf@uwaterloo.ca> Date: Fri, 03 Nov 2023 16:32:39 -0700 Message-ID: <87il6i8lbc.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66885 Cc: 66885@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 06 16:40:29 2023 Received: (at 66885) by debbugs.gnu.org; 6 Nov 2023 21:40:29 +0000 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 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 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== 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> User-agent: mu4e 1.10.4; emacs 29.1 From: Britt Anderson To: Eric Abrahamsen Subject: Re: bug#66885: 29.1; gnus search with mu always returns empty Date: Mon, 06 Nov 2023 16:33:11 -0500 In-reply-to: <87il6i8lbc.fsf@ericabrahamsen.net> Message-ID: <87ttpymuib.fsf@b3l.xyz> MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: britt@b3l.xyz X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66885 Cc: 66885@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 06 22:47:54 2023 Received: (at 66885) by debbugs.gnu.org; 7 Nov 2023 03:47:55 +0000 Received: from localhost ([127.0.0.1]:41072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r0D4E-0008Cm-HY for submit@debbugs.gnu.org; Mon, 06 Nov 2023 22:47:54 -0500 Received: from mail.ericabrahamsen.net ([52.70.2.18]:57010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r0D4B-0008CX-Dd for 66885@debbugs.gnu.org; Mon, 06 Nov 2023 22:47:52 -0500 Received: from localhost (71-212-21-65.tukw.qwest.net [71.212.21.65]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 6A19CFA0C0; Tue, 7 Nov 2023 03:47:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1699328826; bh=fRXzIm72+J6URcz9Jo3GN5EMOvPSUts29AsHzG1vdg8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Be6cwNxE+R+ps9jrYK3F+EkTr3oWU9hovX9hJaL3LTR1N7oBea7vInKNfDdmSl39f LI6Zu2O7KDtBHToUo97d3fdxB/rIxaCXPl/+auXBJt4GEx4Y6YA+hKtVoWOUreYM4N nNPnWxBBlTMa/rjLHQmqJTMqY+GydQ2zc143RypM= From: Eric Abrahamsen To: Britt Anderson Subject: Re: bug#66885: 29.1; gnus search with mu always returns empty In-Reply-To: <87ttpymuib.fsf@b3l.xyz> (Britt Anderson's message of "Mon, 06 Nov 2023 16:33:11 -0500") 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> <87ttpymuib.fsf@b3l.xyz> Date: Mon, 06 Nov 2023 19:47:04 -0800 Message-ID: <87msvq6x8n.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66885 Cc: 66885@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Britt Anderson writes: > 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? Your syntax is fine! `gnus-search-mu-remove-prefix' is used as a default value for `gnus-search-mu` engines, if they don't set their own `remove-prefix' value. Your config above sets that option, so the global variable will be ignored in this case. Sorry if that was a bit of a wild goose chase. Your configuration looks correct (your configuration also reveals an annoying redundancy in gnus-search, which is that most nnmail backends have a "directory" value that can and should be used as the value of remove-prefix). Basically, if you're seeing "a maildir "y2023" that lives in archives" as a Gnus group, then this is just a bug in gnus-search's mu handling, plain and simple. > Just hoping this may give you an idea where the trouble lies. Still > working hard to get back to gnus again. Thanks for keeping at it! Don't lose hope, and I'll try to figure out what's going on with gnus-search. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 13 10:25:23 2023 Received: (at 66885) by debbugs.gnu.org; 13 Nov 2023 15:25:23 +0000 Received: from localhost ([127.0.0.1]:59181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2YoQ-0002d0-Ul for submit@debbugs.gnu.org; Mon, 13 Nov 2023 10:25:22 -0500 Received: from esa.hc503-62.ca.iphmx.com ([216.71.131.47]:16378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2Y0k-0000nm-Tf for 66885@debbugs.gnu.org; Mon, 13 Nov 2023 09:34:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=uwaterloo.ca; i=@uwaterloo.ca; q=dns/txt; s=default; t=1699885997; x=1731421997; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=MQsrDHFwXoEr+FdBYrpQ5EA60Hr5xJmP8pUcBRoZZQU=; b=ilpEp8pfhnUEfW/W4XzxkPCS17izxE+WWDp8J67IdH5vFEEyvW8lfNRY YNhNiH2c/8U+CYMOcicLIenfbj30X/YKiMJ55dVRMKDwFPX5awLxiUyy4 9RGmZ+39RUR44OgaPfPHieZx+rfqOT9IM8awcGGXOEFqG8MdcQhNpeNC1 o=; X-CSE-ConnectionGUID: 50O63gwQS/2GzhFKG1yj0Q== X-CSE-MsgGUID: OVPJM5IjTyO6pm+c733i4w== X-Talos-CUID: 9a23:g/SbpGCd4NQeICH6E3Q/0xBPFd8cSTqH42XQDWyXUHdrEITAHA== X-Talos-MUID: =?us-ascii?q?9a23=3AdonzNA4Iw3GDEkJv4umznPz5xoxP3ZyMLR0sk6k?= =?us-ascii?q?XnJecMG97ZGzGjWioF9o=3D?= Received: from mail-yt3can01lp2169.outbound.protection.outlook.com (HELO CAN01-YT3-obe.outbound.protection.outlook.com) ([104.47.75.169]) by ob1.hc503-62.ca.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Nov 2023 09:33:08 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J1AMeSyVIirTOkAAv6NlvHNXDrLEbLKUQ5n7cznJToX1eNVqZBGoGSNA2wH1ErhsEpIK2vQ/AdLxr+MPBAZHHXw7Vc/8oY+aE4ZFXtsU476ctfogRCQYv9O8QSisFWzam34YhAFitRqUN5yjdSL5+Q2lsbaTbgZYN/gP9bWnfAHoNMtBtRs55PW6uMcxQMJmfnyvS7PCXdSwuWY/YZxS+vIhgq/M8Nb+RXgZTQOSPXsXOgEa4M/G4DMHEUehKv6KtIMyBuwfrd9O/u4rb0CSDqm5l6vNdoSJkRThtLk9MQ4ljLMK81kC/89yGVHMAhpCgxpTM0TGjetYLRv6UIKmbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5VaprLwK7D3qsmKH/QyXMTno6n5NdjV2WlZoL9QDHt8=; b=WiszZEqP+sVcZSXe1fp/sQiPEVODc8kCq1Ps8nDN+VsD5PcxwnvXIcBVDtTRHcRMomV5pDWWLlXpRLlXpIfqAHTUvV1uFgYADPgWcfQ5DRnHZ6sSog/DeXQNMzYrX1Q9ivpWKm6p3BvCKFAjIS9g19RUgLAp8Ni+MEhovx0giNjqnwFTFbk19v7Mz0EkOQqYuDC8jJP8U15Q4bb+E7HFb4F2viHY0SLQ6SQuZXDVxLzSvo6KJOKRY7fcziUEX6hQnsNZ8iSZ7Advgyz5UuC76KtKk2judoFGBtQzBpNN/h1eqCk5jhqOhENTnCnIdo+9g2qCtHCaNzWwc8qfn3JBTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uwaterloo.ca; dmarc=pass action=none header.from=uwaterloo.ca; dkim=pass header.d=uwaterloo.ca; arc=none Received: from YT3PR01MB9723.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:8b::14) by YT3PR01MB8849.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:7a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.29; Mon, 13 Nov 2023 14:33:08 +0000 Received: from YT3PR01MB9723.CANPRD01.PROD.OUTLOOK.COM ([fe80::6ebe:c0ec:8424:48e6]) by YT3PR01MB9723.CANPRD01.PROD.OUTLOOK.COM ([fe80::6ebe:c0ec:8424:48e6%2]) with mapi id 15.20.6977.029; Mon, 13 Nov 2023 14:33:08 +0000 From: Britt Anderson To: Eric Abrahamsen Subject: Re: bug#66885: 29.1; gnus search with mu always returns empty Thread-Topic: bug#66885: 29.1; gnus search with mu always returns empty Thread-Index: AQHaFj5RwJAGHd/yuEaWX8lSxFQDyg== Date: Mon, 13 Nov 2023 14:33:07 +0000 Message-ID: <87il65g1uz.fsf@uwaterloo.ca> 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> <87ttpymuib.fsf@b3l.xyz> <87msvq6x8n.fsf@ericabrahamsen.net> In-Reply-To: <87msvq6x8n.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 06 Nov 2023 19:47:04 -0800") Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Gnus/5.13 (Gnus v5.13) authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=uwaterloo.ca; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: YT3PR01MB9723:EE_|YT3PR01MB8849:EE_ x-ms-office365-filtering-correlation-id: c3ccdc86-39f0-41a8-88af-08dbe455746d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mX2Bs1x9RRkAZxoe9Dd3WLHFWitBC9n6U2p7x4TkOw9WtGAdf2NJVlyJDKE5lgwos4xIVBdH4SuzOaoBV7iLgxPod+7eYbSBgFNxo7P7ONtjjoDD/q4BANEgVqlvJHqzT/sKtu977pYUWF3FOTZia+5Y0eOQUPI5dVp/d89BZohCl0Jy0tzuRQQ4tAgsnfekEx9i29e5651ngPmj7M/Y8BFAgs7lp797l7NlkSg4Jy16e45c+sQYmAYvYQzdBL3kJLgNRkRJWVlxI4eNrW2dgZnymj+WflXplyLXdQwvoIZRSbjtEusjuwYvgkEtjp3eBloNABgzUmYuAKRZiDMN09uk2c2XiHQrjvoPHpDtv4RgThj9+1A01B71Cez6uqnVGUXAfRtzKKBInS2As8CenitniPSaG1x3YrHsX/iKN45Tuez4eHYfu+BhBTSxCSugxHnbrwM/u45+T7rxV0ngdzJ2egpvKHZf47zGPtvAnZQrLzgZLGnY+NOA7lxPnQ3fwrkh9qFjIrgmMtY8OMlJYFcDRe5bKarg11g6JBPKB9cgcSJjvEHHVAAtz2f9229izovAybjP46d8GtyZG08lH5oZGCD8e6+bc2T7bEMCwUICb1jKym+ML8k5ZyJAItZk x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YT3PR01MB9723.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(346002)(39860400002)(366004)(396003)(136003)(376002)(230922051799003)(451199024)(1800799009)(186009)(64100799003)(2906002)(83380400001)(38100700002)(38070700009)(86362001)(36756003)(122000001)(8676002)(8936002)(71200400001)(4326008)(6486002)(478600001)(6506007)(316002)(786003)(66556008)(66446008)(76116006)(66476007)(6916009)(66946007)(64756008)(54906003)(5660300002)(2616005)(26005)(41300700001)(6512007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?P/XwOVPJPDh3NU1p+TGVbeSKuLVUXihGH3oWdXLmGbCK5H2Qk9icYrjP7r?= =?iso-8859-1?Q?DPZfXLvK49FT6zjSHR2VQxyPC8qez5KLUV7wT6x0EukHb4WsFuAjYMOXvq?= =?iso-8859-1?Q?gdlGssK00t7HuBh86SJjAqJ3FJZrjzZYfQNYM0Zc+Srz2Pp3KSh/+YKM5t?= =?iso-8859-1?Q?j8LuYwJSWBkaB6WJ07jvCV3J8kYsfhdW88Qcv8aWfbWdUmHtt4zbBq+190?= =?iso-8859-1?Q?9qoD+YN7DpBeL7bZ9sRr4uoPuTcmz/uCzbvGpvrwSU5KUuLhVVQx9/oSF/?= =?iso-8859-1?Q?I0/Pf76CMOJOjuXhr5Zhx1k3KJfDslyye7j8XS7AL+8VJGxdH/JpymHvpz?= =?iso-8859-1?Q?epMF6BrjhfnhTkPLhS4+m/FsHe3s+5cwWEvO2KTyOE5InX857B0ilAqbD4?= =?iso-8859-1?Q?UEb2V0D/C9mbEAwUGgwGc+PUmOjdbD2b7oso6kUZtPLLSkW1lCDEMy+jVx?= =?iso-8859-1?Q?3eSDaZ+9SnLXI3tWtc6N+e11pVT4syNO4z9ukFi18ygEYVKqqA8ud5HIkG?= =?iso-8859-1?Q?kLc2sXU7Qyxh1QEY8Xxc/d4Zpv81e7KPcrMGmeQHpTgJgh1kl07dhVLjgC?= =?iso-8859-1?Q?/jvVr0i8VXWfRVVXnCtkj1mQxyw1C2dvmAJfEocC28uZ/AifG7X1/Dpu1r?= =?iso-8859-1?Q?TMuY+TePbE+V8JV5kwVvUpV0F8UUeo+CF/6pbqcWje4uCqj5ddYg0ey+5n?= =?iso-8859-1?Q?ErARPRI2IAQI1mQtgYo1qp6uzXVcHbHVN/6B9uafqtrE6XpKJo2DRrcCVQ?= =?iso-8859-1?Q?z0hyRSwAq9F9tLGgTKCOhbTRNT0AgM1S7RVOQJJisQGSflXi6Q0YHyjSdk?= =?iso-8859-1?Q?ystmhjEDYKa58AZ4zryKlYQ5b9Z5tqETdyrRXefP+G9Ena/+16dpYozuIA?= =?iso-8859-1?Q?D12UrhTAVit7MjSOJTh/ZUdx12BtZxtqsBlhVvcuE7+n6fQ7/Tlh9F937d?= =?iso-8859-1?Q?YcNy/gFCHwUxM6PRYrQ/5Ps5B0KETwwOMWLz8URxanh4Jte2DvQEm687bz?= =?iso-8859-1?Q?QGoVQQ1Bp3qKzcMstlmg8X2DvTyybH1s3J888s2+1i1jNC8CldhVfP44Z8?= =?iso-8859-1?Q?5tGFmt6NWah5/hQ5tBM3zRHS1YRR7Y7bniNd963Wcd0UfywYiXM9XumF4l?= =?iso-8859-1?Q?p9wLwrZTm89T6DqM+o1IUMZgKbVpDdu9h5UM8TS/r3khf6H3XebT+/+uUm?= =?iso-8859-1?Q?jU4u7jap+tVCCvlvcLIOT9Dfn6d5Ijcwd6970/5dipIfx7BY6w9+3uJ5HA?= =?iso-8859-1?Q?W8qwiWRx5TqFl2eKR+chEElNFsFQwsQChL8dOoc5byWVxkbZhdNaMIwNzz?= =?iso-8859-1?Q?RFj69I3uyu2UqumUEMBTSqssW5BBkChSPbWsk+kw7O+22gmGEYH6fvTGuo?= =?iso-8859-1?Q?HrhtKsRgpQ3I827HSR2BX/G1UdfM7dyHsS6yMS3PRVqMIx9i9fpjniEjvG?= =?iso-8859-1?Q?5P2pRiJ5pagwWnU45XjiwJTpQpaZ218SELpsBgac2GEtgVT3h7z0FCVisi?= =?iso-8859-1?Q?t+dlVUesCUuCmFH8oVT5T6P+uMGMaPl1yTIzI4aMFtQkk4zG7qEqiil8Yz?= =?iso-8859-1?Q?r/svaKzMJA12bv3YzYaLm4XKFU5quObZXhWGpaJ4KhF6L72sD5M72zbxtr?= =?iso-8859-1?Q?dMBFYTroYp9t275/vahU3sQ8gpBSZhlQak?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: s5evUeKVe+SXQF0emNXCE007f2rIoyVRZze8q/bTOcRNOzuAZdBs+12nfqyqhZDZHm0pBRne/UYEOb8qe8/dRcW4Os5D39IaL7+CS/1gzME7M0rwsjZYP8RWZnOXRmvh/YQklLXjHazx3jNSxgN8vO9+YvYvkpTOL0OfomJzL2+nWaFaUmaH26t6xrU/4vhBHOvItXG/Zj/EbXbojahbpwUB2fKsgmllDTDzSMn7NdMR6WUVt1wmhGnuBrw81Qdi5JEdgwidiRqecLrK6Qe/KSVfgtyRG6towhdcZmaD0Gv60LlfygmUQTmxh6YpthDDVoGuOcp2O6C8Sd7tXPK2XBU12UsQFoZkGu9BNSPDVmgu8ASAJmECEyjOxMGlDe2PM+JFC2YAdOt1wE0Q3v9bUe/VPas5lshYBTLHCp/zuAxA+Lt+GXL6cdAoW305MbT9wTeyR4SipWdl5PqVUwZ7RJX4JWky0YmBGwD4OvdyLqWkTHmk1szW5hn1AssnZd0y7s6UxIK4J/7ShQQiTZih+K7YgwsntQYZw6K3TwIh/84KkiqrQB947X1SoArmN9zBjTzJdpVFHcP/lKVCfbTtJZLTcLDnQtv5Auu1h9Fx6PRfhg9HkOA7Xi6qpFqv1RIKhvXAgf/00s8sArwBvM5MsQtCaZzq/+ATSE6BRbgoZ3QLD4PYW1qpubjsl+Ea4ksyAJOIxY8kuOnAZEMjU5xGSTVSOKg8fTHkF/vjNqll86Ks1Q9p3Ddm/EICpQo30DtRZGRRNmULn2rBDtiOHHx/EJklVOjEBwr32jGX2rP18Zb+juTcYkB3GYA6+Pngva09rol6d8GVxROTVZbWSSOi1MxUUnQ89+eRESY+5D2quzw= X-OriginatorOrg: uwaterloo.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YT3PR01MB9723.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: c3ccdc86-39f0-41a8-88af-08dbe455746d X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Nov 2023 14:33:07.9536 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 723a5a87-f39a-4a22-9247-3fc240c01396 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: oRIErFUxyEv9AclJe9T+tDJd4pJp7hA0xriFzy27Qn17b9Mo3ZxYYav4DFB8WI6qDniPOgcYPDaVtSy3n/sFzw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT3PR01MB8849 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66885 X-Mailman-Approved-At: Mon, 13 Nov 2023 10:25:15 -0500 Cc: Britt Anderson , "66885@debbugs.gnu.org" <66885@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eric Abrahamsen writes: > Your configuration looks correct (your configuration also reveals an > annoying redundancy in gnus-search, which is that most nnmail > backends have a "directory" value that can and should be used as the > value of remove-prefix). > > Basically, if you're seeing "a maildir "y2023" that lives in archives" > as a Gnus group, then this is just a bug in gnus-search's mu handling, > plain and simple. I think the bug starts on line 1952 of gnus-search.el.gz (when opened in emacs). It is in the definition of the method for ~ cl-defmethod gnus-search-indexed-search-command ((engine gnus-search-mu) ... ~ And the lines are: ,@(if groups `("and" "(" ,@(nbutlast (mapcan (lambda (x) (list (concat "maildir:/" x) "or")) groups)) ")") "") This splices the groups to be searched into the mu find query, but they seem to mess up the search when put in there (at least the way I have mu configured). When I comment out the offending lines above and recompile, I can now search from withing gnus using G G. I noticed that this same code for groups appears in the "grep" search that follows the mu method, but did not appear in the method definitions above (including notmuch, which also relies on xapian under the hood I believe) so I decided to try the change. Hope this information proves useful. /Britt= From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 19 14:46:57 2023 Received: (at 66885) by debbugs.gnu.org; 19 Nov 2023 19:46:57 +0000 Received: from localhost ([127.0.0.1]:52131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4nkv-00025D-7Z for submit@debbugs.gnu.org; Sun, 19 Nov 2023 14:46:57 -0500 Received: from mail.ericabrahamsen.net ([52.70.2.18]:35636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4nkt-000250-IK for 66885@debbugs.gnu.org; Sun, 19 Nov 2023 14:46:56 -0500 Received: from localhost (50-245-141-81-static.hfc.comcastbusiness.net [50.245.141.81]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 8BC50FA396; Sun, 19 Nov 2023 19:46:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1700423205; bh=knBbSKCEPURsB4ANzlmPxcBuvne0+8aUx+5dSJDwyVo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=X7GNLTJ8QsblddQiIDamLEb7x+jv2W0Bu4ozWAyBXf7zBzUAM34yyUaM7qZpJZt+R whWUwobs4coWS4ooTN1/ZNJyNH2qj52BDeGUbwFc8pwkx99laIWtzChxgr9+VfHsvS x2xQaxB8ohQ9H7jdYRTpXB7/VoLL4J4o7BCVMp/o= From: Eric Abrahamsen To: Britt Anderson Subject: Re: bug#66885: 29.1; gnus search with mu always returns empty In-Reply-To: <87il65g1uz.fsf@uwaterloo.ca> (Britt Anderson's message of "Mon, 13 Nov 2023 14:33:07 +0000") 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> <87ttpymuib.fsf@b3l.xyz> <87msvq6x8n.fsf@ericabrahamsen.net> <87il65g1uz.fsf@uwaterloo.ca> Date: Sun, 19 Nov 2023 11:46:43 -0800 Message-ID: <87y1eto7a4.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Britt Anderson writes: > Eric Abrahamsen writes: > >> Your configuration looks correct (your configuration also reveals an >> annoying redundancy in gnus-search, which is that most nnmail >> backen [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [50.245.141.81 listed in zen.spamhaus.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [52.70.2.18 listed in list.dnswl.org] -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 66885 Cc: Britt Anderson , "66885@debbugs.gnu.org" <66885@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) Britt Anderson writes: > Eric Abrahamsen writes: > >> Your configuration looks correct (your configuration also reveals an >> annoying redundancy in gnus-search, which is that most nnmail >> backends have a "directory" value that can and should be used as the >> value of remove-prefix). >> >> Basically, if you're seeing "a maildir "y2023" that lives in archives" >> as a Gnus group, then this is just a bug in gnus-search's mu handling, >> plain and simple. > > I think the bug starts on line 1952 of gnus-search.el.gz (when opened in > emacs). It is in the definition of the method for (Thank you for continuing to bug-hunt, this looks promising, I've just gotten back from traveling and will set this up to test soon...) From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 31 21:53:40 2023 Received: (at 66885) by debbugs.gnu.org; 1 Jan 2024 02:53:41 +0000 Received: from localhost ([127.0.0.1]:47227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rK8Qu-0001hT-GW for submit@debbugs.gnu.org; Sun, 31 Dec 2023 21:53:40 -0500 Received: from mail.ericabrahamsen.net ([52.70.2.18]:58102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rK8Qs-0001hG-8M for 66885@debbugs.gnu.org; Sun, 31 Dec 2023 21:53:39 -0500 Received: from localhost (71-212-21-65.tukw.qwest.net [71.212.21.65]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id E1347FA0D9; Mon, 1 Jan 2024 02:53:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1704077610; bh=B/OOKcCW1OhVmTwqicWuwsibMDhQQLNliDfBfXc0uII=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=IX6N3aX8yaWezaQMUp7IESJqYCwmsVf3dDMP8hveTFynobKCKM5xeGtpMdkrZyi+e 5J8wGC/KnEoI7g+VxXu1PV0ajW9zyvUoTluyddFH3FgqTVuywfr0kzarWvOAvvPClO 8vTUXnFaUPRn5uwrdMvXCos+e3a4gjSF3caeyh90= From: Eric Abrahamsen To: Britt Anderson Subject: Re: bug#66885: 29.1; gnus search with mu always returns empty In-Reply-To: <87y1eto7a4.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sun, 19 Nov 2023 11:46:43 -0800") 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> <87ttpymuib.fsf@b3l.xyz> <87msvq6x8n.fsf@ericabrahamsen.net> <87il65g1uz.fsf@uwaterloo.ca> <87y1eto7a4.fsf@ericabrahamsen.net> Date: Sun, 31 Dec 2023 18:53:28 -0800 Message-ID: <87h6jxepcn.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66885 Cc: Britt Anderson , "66885@debbugs.gnu.org" <66885@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eric Abrahamsen writes: > Britt Anderson writes: > >> Eric Abrahamsen writes: >> >>> Your configuration looks correct (your configuration also reveals an >>> annoying redundancy in gnus-search, which is that most nnmail >>> backends have a "directory" value that can and should be used as the >>> value of remove-prefix). >>> >>> Basically, if you're seeing "a maildir "y2023" that lives in archives" >>> as a Gnus group, then this is just a bug in gnus-search's mu handling, >>> plain and simple. >> >> I think the bug starts on line 1952 of gnus-search.el.gz (when opened in >> emacs). It is in the definition of the method for > > (Thank you for continuing to bug-hunt, this looks promising, I've just > gotten back from traveling and will set this up to test soon...) Hi Britt, I'm finally getting around to testing this. I set up mu with a local maildir, and so far I'm not able to reproduce the problem. I mark two maildir groups and search for unread messages with "mark:unread". The search arguments constructed by gnus-search look like: ("find" "--nocolor" "--muhome=/home/eric/.cache/mu" "" "" "flag:unread" "and" "(" "maildir:/mails" "or" "maildir:/Welcome" ")" "--format=plain" "--fields=l") Putting that on the command line and running it gives 17 results, and I see the same 17 results within the Gnus search buffer. With the search engine's `remove-prefix` set to the full system file path up to the main directory of the nnmaildir backend (under which the groups appear as top-level directories) the results are shown correctly within Gnus. The group handling code you noticed is necessary, the `(concat "maildir:/" x)` code is mu-specific. I'm not sure what else to try! Even if mu is returning results from other Gnus backends, that shouldn't cause a failure. Though mu has the "path:" key we can use with remove-prefix... The last things to try would be: setting `gnus-verbose' to 10, trying the search, and telling me what you find in *Message*, and... eval'ing this version of the mu command method, that includes the "path:" key. Does this fix the problem? (cl-defmethod gnus-search-indexed-search-command ((engine gnus-search-mu) (qstring string) query &optional groups) (let ((limit (alist-get 'limit query)) (thread (alist-get 'thread query))) (with-slots (switches config-directory remove-prefix) engine `("find" ; command must come first "--nocolor" ; mu will always give colored output otherwise ,(format "--muhome=%s" config-directory) ,@switches ,(if thread "-r" "") ,(if limit (format "--maxnum=%d" limit) "") ,qstring ,@(if groups `("and" "(" ,@(nbutlast (mapcan (lambda (x) (list (concat "maildir:/" x) "or")) groups)) ")") "") ,(format "path:%s" (file-name-as-directory (expand-file-name remove-prefix "/"))) "--format=plain" "--fields=l")))) From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 09 16:29:45 2024 Received: (at 66885-done) by debbugs.gnu.org; 9 Jan 2024 21:29:45 +0000 Received: from localhost ([127.0.0.1]:41138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNJfM-0002IP-Jg for submit@debbugs.gnu.org; Tue, 09 Jan 2024 16:29:44 -0500 Received: from mail.ericabrahamsen.net ([52.70.2.18]:60498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNJfK-0002IB-8M for 66885-done@debbugs.gnu.org; Tue, 09 Jan 2024 16:29:43 -0500 Received: from localhost (71-212-21-65.tukw.qwest.net [71.212.21.65]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id D230EFA0D9; Tue, 9 Jan 2024 21:29:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1704835769; bh=DdZQtKIkYMOALv6opo24T4DaB0rFkBbTISLiMHEKnt0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=s9eGxn2W6fydBCN5Jb9YW31o7BeiZwlHGr0lPoLp+r1VAd9kBWtaclG2+SbbkUgZu DcFqEbH+1DsPtM5BSRpAUspitpZhly2oBzfiTjtqzo8pnLIpUzJ9hRdSfqvAxFEwWF QLHG9txfqzGapchjP1GtIFQFgKzHMiLpo5Fda6qs= From: Eric Abrahamsen To: Britt Anderson Subject: Re: bug#66885: 29.1; gnus search with mu always returns empty In-Reply-To: (Britt Anderson's message of "Fri, 5 Jan 2024 11:24:07 -0500") References: <877cn19t93.fsf@ericabrahamsen.net> <87jzr18e5z.fsf@b3l.xyz> <871qd89rft.fsf@ericabrahamsen.net> <878r7egb4v.fsf@uwaterloo.ca> <87il6i8lbc.fsf@ericabrahamsen.net> <87ttpymuib.fsf@b3l.xyz> <87msvq6x8n.fsf@ericabrahamsen.net> <87il65g1uz.fsf@uwaterloo.ca> <87y1eto7a4.fsf@ericabrahamsen.net> <87h6jxepcn.fsf@ericabrahamsen.net> Date: Tue, 09 Jan 2024 13:29:27 -0800 Message-ID: <87wmsifb60.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66885-done Cc: 66885-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On 01/05/24 11:24 AM, Britt Anderson wrote: >>Hi Britt, I'm finally getting around to testing this. I set up mu with a >>local maildir, and so far I'm not able to reproduce the problem. I mark >>two maildir groups and search for unread messages with "mark:unread". >> >>The search arguments constructed by gnus-search look like: >> >>("find" "--nocolor" "--muhome=3D/home/eric/.cache/mu" "" "" "flag:unread" >>"and" "(" "maildir:/mails" "or" "maildir:/Welcome" ")" "--format=3Dplain" >>"--fields=3Dl") > > Thanks for getting back to me. I can get results with a similar > command on the command line, but the same search in gnus still > returns empty. My mail (for three different addresses) lives in > /home/britt/.local/mail with the unique part of the directory > hierarchy following the above. I edited my gnus.el to remove that > common part as the "remove prefix", but still returned empty. > > >>I'm not sure what else to try! Even if mu is returning results from >>other Gnus backends, that shouldn't cause a failure. Though mu has the >>"path:" key we can use with remove-prefix... >> >>The last things to try would be: setting `gnus-verbose' to 10, trying >>the search, and telling me what you find in *Message*, and... > > I tried this and only got: > > #+begin_verbatim > Doing mu query on (nnmaildir+b3l-archives:y2023)... > Group nnselect:nnselect-87zfxjahkq.fsf contains no messages This is really weird, after the "Doing mu query on" message, you should have either gotten a "Search engine returned N results" message, or an error buffer pop-up. With `gnus-verbose' at 10 I don't know how you'd get this particular message situation. > Quit > No other window to select > Quit > C-M-x is undefined > 10 (#o12, #xa, ?\C-j) > You can run the command =E2=80=98eval-expression=E2=80=99 with M-: > 10 (#o12, #xa, ?\C-j) > Mark set [2 times] > #+end_verbatim > > That "10" at the end is me evaluating gnus-verbose to verify it was set > to 10. The details of the mu command are not displayed.=20 > >> >>eval'ing this version of the mu command method, that includes the >>"path:" key. Does this fix the problem? >> >>(cl-defmethod gnus-search-indexed-search-command ((engine gnus-search-mu) >> (qstring string) >> query &optional groups) >> (let ((limit (alist-get 'limit query)) >> (thread (alist-get 'thread query))) >> (with-slots (switches config-directory remove-prefix) engine >> `("find" ; command must come first >> "--nocolor" ; mu will always give colored output otherwise >> ,(format "--muhome=3D%s" config-directory) >> ,@switches >> ,(if thread "-r" "") >> ,(if limit (format "--maxnum=3D%d" limit) "") >> ,qstring >> ,@(if groups >> `("and" "(" >> ,@(nbutlast (mapcan (lambda (x) >> (list (concat "maildir:/" x) "or")) >> groups)) >> ")") >> "") >> ,(format "path:%s" (file-name-as-directory >> (expand-file-name remove-prefix "/"))) >> "--format=3Dplain" >> "--fields=3Dl")))) > > I did try this with no change.=20 > > I think you have given it the hero's try. Since it works for you and > not for me I assume it is a problem on my side, and given the limited > number of users it is probably not worth more of your time at this > point. Thanks for all your efforts. Gnus is great and I don't want you > to have to spend too much time on this.=20 Okay, I'm closing the bug report for now, but I really would like gnus-search to be as robust as possible. If anything more jumps out at you, or there are any other further developments, please let me know! Yours, Eric From unknown Sat Sep 13 02:52:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 07 Feb 2024 12:24:16 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator