GNU logs - #73581, boring messages


Message sent to bug-gnu-emacs@HIDDEN, bugs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73581: 29.4; Gnus: Error doing a search on nnmaildir with gnus-search-find-grep
Resent-From: Daniel Cerqueira <dan.list@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN, bugs@HIDDEN
Resent-Date: Tue, 01 Oct 2024 15:55:02 +0000
Resent-Message-ID: <handler.73581.B.172779808424090 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 73581
X-GNU-PR-Package: emacs,gnus
X-GNU-PR-Keywords: 
To: 73581 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.172779808424090
          (code B ref -1); Tue, 01 Oct 2024 15:55:02 +0000
Received: (at submit) by debbugs.gnu.org; 1 Oct 2024 15:54:44 +0000
Received: from localhost ([127.0.0.1]:52228 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1svfD0-0006GR-4e
	for submit <at> debbugs.gnu.org; Tue, 01 Oct 2024 11:54:44 -0400
Received: from lists.gnu.org ([209.51.188.17]:35890)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dan.list@HIDDEN>) id 1svIaJ-00008y-Az
 for submit <at> debbugs.gnu.org; Mon, 30 Sep 2024 11:45:18 -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 <dan.list@HIDDEN>)
 id 1svIZm-0002C6-3G
 for bug-gnu-emacs@HIDDEN; Mon, 30 Sep 2024 11:44:42 -0400
Received: from forward102d.mail.yandex.net ([2a02:6b8:c41:1300:1:45:d181:d102])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dan.list@HIDDEN>)
 id 1svIZi-0008HZ-8a
 for bug-gnu-emacs@HIDDEN; Mon, 30 Sep 2024 11:44:41 -0400
Received: from mail-nwsmtp-smtp-production-main-95.klg.yp-c.yandex.net
 (mail-nwsmtp-smtp-production-main-95.klg.yp-c.yandex.net
 [IPv6:2a02:6b8:c42:874b:0:640:bc97:0])
 by forward102d.mail.yandex.net (Yandex) with ESMTPS id B17CA60B02
 for <bug-gnu-emacs@HIDDEN>; Mon, 30 Sep 2024 18:44:29 +0300 (MSK)
Received: by mail-nwsmtp-smtp-production-main-95.klg.yp-c.yandex.net
 (smtp/Yandex) with ESMTPSA id RibLJUO9aW20-kyy1jEL1; 
 Mon, 30 Sep 2024 18:44:28 +0300
X-Yandex-Fwd: 1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lispclub.com;
 s=mail; t=1727711069;
 bh=0zc2HUPoH9fUsVa6qbCF81O//Szsezp/TozIJLiT7Qw=;
 h=Message-ID:Date:Subject:To:From;
 b=nH+FeCt9MwFV4lTPzk4RRKwp/mKUOWkjMHgPL8bJuCXvRwXHVM6T4nP6b9HVpBeP/
 d8LaVAEv9fqoJlRjmnms0+v6YTNYwvFx9YKrj7Y6GyEwLKeBtyvnYDPAwaikvipenu
 i1vAQd8gf8wp5w7R30fS/KUZeUi9djmSo8onPW2o=
Authentication-Results: mail-nwsmtp-smtp-production-main-95.klg.yp-c.yandex.net;
 dkim=pass header.i=@lispclub.com
From: Daniel Cerqueira <dan.list@HIDDEN>
Date: Mon, 30 Sep 2024 16:44:26 +0100
Message-ID: <874j5x9med.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Yandex-Filter: 1
Received-SPF: pass client-ip=2a02:6b8:c41:1300:1:45:d181:d102;
 envelope-from=dan.list@HIDDEN; helo=forward102d.mail.yandex.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, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Mailman-Approved-At: Tue, 01 Oct 2024 11:54:41 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)



Using Gnus, doing 'G G' on a nnmaildir group gives me this error:

```
nnselect-generate-artlist: gnus-search-run-query on ((search-query-spec (query . subject:meditation) (raw)) (search-group-spec (nnmaildir:email archive clients crypto-archive crypto-sent drafts inbox git git-l10n job-hunting list medical penpal poker sent shopping software spam wellness writing) (nndraft nndraft:delayed) (nndraft:nnmaildir:email nndraft:drafts))) gave error (wrong-type-argument stringp nil)
Group nnselect:nnselect-878qv99nf2.fsf contains no messages
```

The relevant configuration of `~/.emacs` is:

```
(setq message-kill-buffer-on-exit t) ;; C-c C-c kills the buffer
(setq gnus-check-bogus-newsgroups t) ;; delete bogus newsgroups at gnus startup

;;; open gnus in topics mode
(add-hook 'gnus-group-mode-hook 'gnus-topic-mode)

;;; lines with time
(setq gnus-summary-line-format "%U%R%z%I %4L %(%[%-25,25D %-23,23f%]%) %s
")

;;; order threads by most recent date
(setq gnus-thread-sort-functions '(gnus-thread-sort-by-most-recent-date))

;; hide summary lines of articles that have scores lower than this
(setq gnus-summary-expunge-below -9)


(setq gnus-select-method
      `(nnmaildir "email"
                  (directory ,(expand-file-name "~/.mail"))
                  (nnmaildir-directory ,(expand-file-name "~/.mail"))))

(setq gnus-message-archive-group '((if (message-news-p) "list" "sent")))
(setq nndraft-directory (expand-file-name "~/.mail/drafts"))

(setq message-directory (expand-file-name "~/.mail"))
(setq gnus-directory (expand-file-name "~/.emacs.d/news"))
(setq nnfolder-directory (expand-file-name "~/.mail/archive"))
(setq nnfolder-directory "~/.mail/archive")
(setq nnfolder-active-file "~/.mail/archive/active")
(setq gnus-server-alist '(("archive" nnfolder "archive"
                           (nnfolder-directory "~/.mail/archive")
                           (nnfolder-active-file "~/.mail/archive/active")
                           (nnfolder-get-new-mail nil)
                           (nnfolder-inhibit-expiry t))))
(setq mail-default-directory "~/.mail")
(setq smtpmail-queue-dir "~/.mail/.queued-mail")

;; gnus search
(setq gnus-search-default-engines
      '((nnimap . gnus-search-imap)
        (nnmaildir . gnus-search-find-grep)
        (nnselect . gnus-search-nnselect)))
```

Gnus is running good, and I am trying to add searching capabilities to
my, already organized, email.

Doing an epheremal search using 'G G' with point on a nnmaildir group is
giving me the error above. Doing the same of my Topic of my nnmaildir
groups also give me this error.

My GNU system has `grep` installed. I don't want to do searches on my
maildirs with any other searching methods/executables.





Did not crash.


In GNU Emacs 29.4 (build 2, x86_64-pc-linux-gnu) of 2024-09-29 built on
 torre
Repository revision: 6a299b3caceb2c73b932ba73849738faa8c5d975
Repository branch: release
System Description: Parabola GNU/Linux-libre

Configured using:
 'configure --without-x --with-x=no --with-x-toolkit=no --without-dbus
 --without-gconf --without-gsettings --without-toolkit-scroll-bars
 --without-xim --disable-largefile --with-modules --without-libsystemd
 --without-cairo --without-gpm'

Configured features:
ACL GMP GNUTLS JSON LCMS2 LIBXML2 MODULES NOTIFY INOTIFY PDUMPER SECCOMP
SOUND SQLITE3 THREADS TREE_SITTER XIM ZLIB

Important settings:
  value of $LANG: pt_PT.UTF-8
  locale-coding-system: utf-8-unix

Major mode: ELisp/l

Minor modes in effect:
  bug-reference-prog-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-autoaway-mode: t
  erc-log-mode: t
  windmove-mode: t
  shell-dirtrack-mode: t
  gpm-mouse-mode: t
  rainbow-delimiters-mode: t
  paredit-mode: t
  emms-mode-line-mode: t
  emms-playing-time-display-mode: t
  emms-playing-time-mode: t
  jabber-activity-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  erc-networks-mode: t
  server-mode: t
  winner-mode: t
  display-time-mode: t
  electric-pair-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  tab-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: linux
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/guest/me/programming/desktop/emacs-jabber/lisp/jabber-autoloads hides /home/guest/me/programming/desktop/emacs-jabber/jabber-autoloads
/home/guest/.emacs.d/elpa/transient-20240918.1138/transient hides /usr/local/share/emacs/29.4/lisp/transient

Features:
(shadow emacsbug bug-reference grep apropos info-look emacs-news-mode
face-remap gnus-search markdown-mode noutline outline vc-git diff-mode
vc-dispatcher webjump view diary-lib diary-loaddefs solar cal-dst
holidays holiday-loaddefs cal-move mailalias erc-list erc-menu erc-ring
erc-pcomplete erc-track erc-match erc-button erc-fill erc-stamp
erc-netsplit erc-autoaway erc-log dired-aux ispell pcmpl-unix pcmpl-gnu
canlock cl-print re-builder tabify imenu man epa-mail transpose-frame
windmove mail-extr gnus-bcklg compile expand-region text-mode-expansions
html-mode-expansions er-basic-expansions expand-region-core
expand-region-custom misearch multi-isearch textsec uni-scripts
idna-mapping ucs-normalize uni-confusable textsec-check eww xdg gnus-ml
jka-compr disp-table mule-util display-line-numbers shortdoc gnus-async
gnus-cite gnus-cus gnus-demon gnus-diary nndiary gnus-draft gnus-dup
gnus-fun gnus-html url-queue gnus-kill gnus-logic gnus-mh mh-comp
mh-scan mh-gnus mh-e mh-buffers mh-loaddefs gnus-registry registry
rmailsum rmail gnus-salt gnus-uu yenc gnus-vm nnselect help-fns
radix-tree qp cus-edit cus-start cus-load jabber-rtt captain
sasl-scram-rfc sasl-scram-sha-1 rfc2104 hex-util sh-script rx smie
treesit executable files-x shell pcomplete gnus-topic mm-archive
url-http url-gw url-cache url-auth nndraft nnmh nnrss utf-7 epa-file
network-stream nsm nnfolder nnmaildir gnus-agent gnus-srvr gnus-score
score-mode nnvirtual nntp gnus-cache t-mouse term/linux
rainbow-delimiters paredit go-translate go-translate-v2
gts-engine-youdao gts-engine-stardict gts-engine-deepl
gts-engine-google-rpc gts-engine-google gts-engine-bing gts-implements
gts-faces gts-core warnings icons gt-text-utility gt-engine-echo
gt-engine-chatgpt gt-engine-youdao gt-engine-stardict gt-engine-deepl
gt-engine-google-rpc gt-engine-google gt-engine-bing gt-extension
gt-faces gt-core let-alist transient edmacro kmacro emms-idapi-browser
emms-idapi emms-idapi-musicbrainz emms-mpris emms-librefm-stream
emms-librefm-scrobbler emms-playlist-limit emms-i18n emms-history
emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks
emms-cue emms-mode-line-icon emms-browser sort emms-volume easy-mmode
emms-volume-sndioctl emms-volume-mixerctl emms-volume-pulse
emms-volume-amixer emms-playlist-sort emms-last-played emms-player-xine
emms-player-mpd tq emms-lyrics emms-url emms-streams emms-show-all
emms-tag-editor emms-tag-tracktag emms-mark emms-mode-line emms-cache
emms-info-native emms-info-native-spc emms-info-native-mp3
emms-info-native-ogg emms-info-native-opus emms-info-native-flac
emms-info-native-vorbis bindat emms-info-tinytag emms-info-metaflac
emms-info-opusinfo emms-info-ogginfo emms-info-mp3info
emms-playlist-mode emms-player-vlc emms-player-mpv emms-playing-time
emms-player-mplayer emms-player-simple emms-source-playlist
emms-source-file locate emms-setup emms-info-exiftool emms-info
emms-later-do emms emms-compat jabber-httpupload jabber jabber-time
jabber-autoaway jabber-vcard-avatars jabber-chatstates jabber-events
jabber-vcard jabber-avatar jabber-activity jabber-watch jabber-modeline
jabber-ahc-presence jabber-ahc jabber-version jabber-ourversion
jabber-muc-nick-completion hippie-exp comint ansi-osc ansi-color
jabber-muc jabber-bookmarks jabber-muc-nick-coloring color jabber-browse
jabber-search jabber-register jabber-widget jabber-chat jabber-history
jabber-chatbuffer jabber-roster jabber-carbons jabber-presence
jabber-private jabber-logon jabber-conn srv dns starttls jabber-core
jabber-keepalive jabber-ping jabber-disco jabber-iq jabber-console
sgml-mode facemenu jabber-truncate ewoc jabber-alert jabber-keymap
jabber-sasl sasl sasl-anonymous sasl-login sasl-plain jabber-menu
jabber-util jabber-xml goto-addr fsm jabber-autoloads weri erc-goodies
erc thingatpt pp format-spec erc-backend erc-networks erc-common
erc-compat compat compat-30 erc-loaddefs ebdb-message ebdb-gnus gnus-msg
gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr
pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start
gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo
parse-time iso8601 gnus-spec gnus-int gnus-range message yank-media puny
dired dnd dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068
epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils
mailheader gnus-win ebdb-mua ebdb-com crm ebdb-format ebdb regexp-opt
mailabbrev eieio-opt cl-extra help-mode speedbar ezimage dframe
find-func eieio-base cal-menu calendar cal-loaddefs timezone server
pinentry advice mm-url gnus nnheader gnus-util text-property-search
time-date range wid-edit smtpmail sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils winner ring ido time image elec-pair
my-lisp 0x0-autoloads 0xc-autoloads 2048-game-autoloads 2bit-autoloads
4clojure-autoloads captain-autoloads clhs-autoloads ebdb-autoloads
emms-autoloads expand-region-autoloads fsm-autoloads
ledger-mode-autoloads magit-autoloads pcase magit-section-autoloads
dash-autoloads markdown-mode-autoloads paredit-autoloads
pinentry-autoloads plisp-mode-autoloads po-mode-autoloads
rainbow-delimiters-autoloads request-autoloads s-autoloads srv-autoloads
transient-autoloads transpose-frame-autoloads with-editor-autoloads info
tool-bar compat-autoloads package browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv
bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip
cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select 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 inotify lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 1817214 244127)
 (symbols 48 138452 33)
 (strings 32 363961 65668)
 (string-bytes 1 15169011)
 (vectors 16 111054)
 (vector-slots 8 3315957 244523)
 (floats 8 1026 1222)
 (intervals 56 138365 3776)
 (buffers 984 58))





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Daniel Cerqueira <dan.list@HIDDEN>
Subject: bug#73581: Acknowledgement (29.4; Gnus: Error doing a search on
 nnmaildir with gnus-search-find-grep)
Message-ID: <handler.73581.B.172779808424090.ack <at> debbugs.gnu.org>
References: <874j5x9med.fsf@HIDDEN>
X-Gnu-PR-Message: ack 73581
X-Gnu-PR-Package: emacs,gnus
Reply-To: 73581 <at> debbugs.gnu.org
Date: Tue, 01 Oct 2024 15:55:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN
 bugs@HIDDEN

If you wish to submit further information on this problem, please
send it to 73581 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
73581: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73581
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN, bugs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#73581: 29.4; Gnus: Error doing a search on nnmaildir with gnus-search-find-grep
Resent-From: Visuwesh <visuweshm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN, bugs@HIDDEN
Resent-Date: Wed, 02 Oct 2024 05:52:01 +0000
Resent-Message-ID: <handler.73581.B73581.17278482683480 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73581
X-GNU-PR-Package: emacs,gnus
X-GNU-PR-Keywords: 
To: Daniel Cerqueira <dan.list@HIDDEN>
Cc: 73581 <at> debbugs.gnu.org
Received: via spool by 73581-submit <at> debbugs.gnu.org id=B73581.17278482683480
          (code B ref 73581); Wed, 02 Oct 2024 05:52:01 +0000
Received: (at 73581) by debbugs.gnu.org; 2 Oct 2024 05:51:08 +0000
Received: from localhost ([127.0.0.1]:56303 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1svsGR-0000u2-Kz
	for submit <at> debbugs.gnu.org; Wed, 02 Oct 2024 01:51:08 -0400
Received: from mail-io1-f65.google.com ([209.85.166.65]:52542)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1svsGP-0000ts-TZ
 for 73581 <at> debbugs.gnu.org; Wed, 02 Oct 2024 01:51:06 -0400
Received: by mail-io1-f65.google.com with SMTP id
 ca18e2360f4ac-82ceab75c27so385790339f.1
 for <73581 <at> debbugs.gnu.org>; Tue, 01 Oct 2024 22:51:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1727848205; x=1728453005; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=tsfc4bsx4uhb8k9mEEiwOkg9AkzyroMAF5COdtpb8rY=;
 b=BzmE8D82jKzjeJ/0jCaFWsV5JCc7dnnUTtldg3aJXIkWdrynZAxZz1BdsqQJCvQ/aZ
 P4mxd+qd35uE+zBZ9MtFSTJa0xOjjwwir7vJ2de9bTG0peplUsdD/7RC/JUQ+SBCVQJZ
 QP+fxZWNr+gSYXGmaBx7QDYlrU+f01rWaAIrahFzQJXF9zkZ4/77yi4FWi65B+7ymySN
 xHugvtXUXP4xwASYMvAgt9iycm9Ta4PhSXGiK1+KNdrNlapcaRkQdXmazwSd7xboh4JG
 QunZphpfI68adFHC1H8VY+dZ1n2YLviVynibR0cWqzK+zaSGAJOEzgc4UrP+SWgLjdZW
 3pSw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1727848205; x=1728453005;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=tsfc4bsx4uhb8k9mEEiwOkg9AkzyroMAF5COdtpb8rY=;
 b=rlVm5NyXKG8OJIND6VRDo4h4rhfdCpyIo3IhakEr//yBlFtRrLrlNV20c/M98YHKIW
 B++WibgiraEa5ceNCZp8xmLO+inzH4UUokTHYyWIcKQKpZ53XcDfyKyn4FW2CjLggoPF
 QpDfsb4NRuo2aIaO6U6rZT0na8BJ/6eMMBgCqT7XAC313NSjt8OnSsLyBxzRC1JpgQAs
 t2SnS+6SJmZ1JewrK6w6DsfFYJ+yH1XSWEiCpumXFjryWtObXzwnTZXum9eduHOumzAz
 ZokRw5f07x1aIYRzd4498L90BsiiBTxolB16PNGBFWFnexpsnXvKdb35HpBbgk96jKxD
 QQow==
X-Gm-Message-State: AOJu0YyycJtMGu9QVsw4Mq8ZLg7J5MD1M8x9XXntfj/v5GXZRRxhVaV+
 v6iQ6D44VXEC7zdDyEAwvkU9B0YC+zN3GN3ul7Apymm4o55TeusLjAfqXhjP
X-Google-Smtp-Source: AGHT+IHZtWS+ZDSRQBE0iL6C2+Yy3gcx06AlcIXaTInCsXFjcrPK3uZpuM0bSZMenRLixPztJkFEiw==
X-Received: by 2002:a17:903:183:b0:202:371c:3312 with SMTP id
 d9443c01a7336-20bc5a8ec65mr26895795ad.40.1727846619448; 
 Tue, 01 Oct 2024 22:23:39 -0700 (PDT)
Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-20b37d8ccfcsm78556285ad.72.2024.10.01.22.23.38
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 01 Oct 2024 22:23:39 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
In-Reply-To: <874j5x9med.fsf@HIDDEN> (Daniel Cerqueira's message of
 "Mon, 30 Sep 2024 16:44:26 +0100")
References: <874j5x9med.fsf@HIDDEN>
Date: Wed, 02 Oct 2024 10:53:35 +0530
Message-ID: <87bk03dqnc.fsf@HIDDEN>
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: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

[=E0=AE=A4=E0=AE=BF=E0=AE=99=E0=AF=8D=E0=AE=95=E0=AE=B3=E0=AF=8D =E0=AE=9A=
=E0=AF=86=E0=AE=AA=E0=AF=8D=E0=AE=9F=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=AE=B0=E0=
=AF=8D 30, 2024] Daniel Cerqueira wrote:

> Using Gnus, doing 'G G' on a nnmaildir group gives me this error:
>
> ```
> nnselect-generate-artlist: gnus-search-run-query on
> ((search-query-spec (query . subject:meditation) (raw))
> (search-group-spec (nnmaildir:email archive clients crypto-archive
> crypto-sent drafts inbox git git-l10n job-hunting list medical penpal
> poker sent shopping software spam wellness writing) (nndraft
> nndraft:delayed) (nndraft:nnmaildir:email nndraft:drafts))) gave error
> (wrong-type-argument stringp nil)
> Group nnselect:nnselect-878qv99nf2.fsf contains no messages
> ```
>
> The relevant configuration of `~/.emacs` is:
>
> ```
> (setq message-kill-buffer-on-exit t) ;; C-c C-c kills the buffer
> (setq gnus-check-bogus-newsgroups t) ;; delete bogus newsgroups at gnus s=
tartup
>
> ;;; open gnus in topics mode
> (add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
>
> ;;; lines with time
> (setq gnus-summary-line-format "%U%R%z%I %4L %(%[%-25,25D %-23,23f%]%) %s
> ")
>
> ;;; order threads by most recent date
> (setq gnus-thread-sort-functions '(gnus-thread-sort-by-most-recent-date))
>
> ;; hide summary lines of articles that have scores lower than this
> (setq gnus-summary-expunge-below -9)
>
>
> (setq gnus-select-method
>       `(nnmaildir "email"
>                   (directory ,(expand-file-name "~/.mail"))
>                   (nnmaildir-directory ,(expand-file-name "~/.mail"))))
>
> (setq gnus-message-archive-group '((if (message-news-p) "list" "sent")))
> (setq nndraft-directory (expand-file-name "~/.mail/drafts"))
>
> (setq message-directory (expand-file-name "~/.mail"))
> (setq gnus-directory (expand-file-name "~/.emacs.d/news"))
> (setq nnfolder-directory (expand-file-name "~/.mail/archive"))
> (setq nnfolder-directory "~/.mail/archive")
> (setq nnfolder-active-file "~/.mail/archive/active")
> (setq gnus-server-alist '(("archive" nnfolder "archive"
>                            (nnfolder-directory "~/.mail/archive")
>                            (nnfolder-active-file "~/.mail/archive/active")
>                            (nnfolder-get-new-mail nil)
>                            (nnfolder-inhibit-expiry t))))
> (setq mail-default-directory "~/.mail")
> (setq smtpmail-queue-dir "~/.mail/.queued-mail")
>
> ;; gnus search
> (setq gnus-search-default-engines
>       '((nnimap . gnus-search-imap)
>         (nnmaildir . gnus-search-find-grep)
>         (nnselect . gnus-search-nnselect)))
> ```
>
> Gnus is running good, and I am trying to add searching capabilities to
> my, already organized, email.
>
> Doing an epheremal search using 'G G' with point on a nnmaildir group is
> giving me the error above. Doing the same of my Topic of my nnmaildir
> groups also give me this error.
>
> My GNU system has `grep` installed. I don't want to do searches on my
> maildirs with any other searching methods/executables.
>

IIRC, this is because the grep method does not change to the maildir
directory properly.  Since I do not know the maildir terminologies well,
if you say G G on a group named "nnmaildir+mail:spam" it does not
search in ~/.mail/spam/ but in ~/.mail/ using find with -maxdepth
1, which obviously fails.

[ AFAIR, the workaround I posted in bug#72196 does not work for the grep
  method.  ]





Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.