From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2ICPMDK3yGANOgEAgWs5BA (envelope-from ) for ; Tue, 15 Jun 2021 16:20:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YKnoKzK3yGCILAAAbx9fmQ (envelope-from ) for ; Tue, 15 Jun 2021 14:20:34 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5995526F93 for ; Tue, 15 Jun 2021 16:20:34 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id B683B2AA58; Tue, 15 Jun 2021 10:20:29 -0400 (EDT) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by mail.notmuchmail.org (Postfix) with ESMTPS id 9101C2AA01 for ; Tue, 15 Jun 2021 10:20:27 -0400 (EDT) Received: by mail-wr1-x42f.google.com with SMTP id r9so18563116wrz.10 for ; Tue, 15 Jun 2021 07:20:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dwrz.net; s=google; h=mime-version:from:date:message-id:subject:to; bh=ZcSIfpNb8OeK0wfXr4cpz6Cmg2O4cEgs5Qzco/fYpX0=; b=SgEFlkqDLHhED4wIozGRr5zWyWHHLaGcIZ/03tjnxTX0Soz14B8ONb4TsGtyd6CdAG XtkrvoF04r5bOVqzDwQCI/1nNrSnq/qYOohV7w8Tql4FpG0RZNJLKj//48INoFaCOcrT +vvBUZuQr+nw3n3/rPZKU6Ass1e0Zg7nPoYd2hjP0qnKEYI9WXNbnKKjJY+MZEwUyoly dBzMpisSq6fyKSxDLLLi+yDRNifavtMWy/7/p8+G4OLwyiJK300GuIy//YI59GzL7c2Z 33JlD/UIes2IMTyjnk9CKeZ6OEOfKC8zERDpuaZfmMofRxoSg1qpQScMM0B36jbXx+/m UG7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZcSIfpNb8OeK0wfXr4cpz6Cmg2O4cEgs5Qzco/fYpX0=; b=BdVn9CrJwzwspU1JfFaRrRyt2fjzbK/F+1pGFdXVZz0fiUxvyFJ4dDKDVDYR4PiUvT gMmFI6E3+2TpQpa2e7Z9WYSsmiaGwqs7DKms/WfCtSTqFVFhclfgNgk2dbGjMTUaGZG3 LdyQepMWjeOEnIGNHtLl19F62+boSG6cbViSuSZ1YmTT/y2NuKn311t5s3x6Ny+9RNV+ 5oGq1z4vGaLOjZe8p07LCnEjqMQ2ob7Tih0poc47ITOaLzoFuffA43woiAcM/dB0mboV dUmD37TrY5uCWV60wgdlni5EtowASmJGKhSnvG2HOqgFXz3z+Yv5u0LYzQzVH6A/WUzl KMmg== X-Gm-Message-State: AOAM530Dh+SYUzYn4TbfR00fLEvCroluZx2V1D5zFVjRHpgJ5eMsi9rB 7e+n3wED3rDgmN+gYcujAc8MuB6emQSE1BlgDWwrmY8hRwgMcA== X-Google-Smtp-Source: ABdhPJyq1DFGS7fYIf94eBhVeG9qU1JFCtP3AlP12KkHDLSseyDafXtHdlauDI+9aQOSIoKyWz0Ia+j5jybEYNsO84Q= X-Received: by 2002:adf:a2d1:: with SMTP id t17mr5726845wra.74.1623766825845; Tue, 15 Jun 2021 07:20:25 -0700 (PDT) MIME-Version: 1.0 From: David Wen Riccardi-Zhu Date: Tue, 15 Jun 2021 14:20:29 +0000 Message-ID: Subject: notmuch-emacs notmuch-tag configuration To: notmuch@notmuchmail.org Message-ID-Hash: K4EQG4U57Z6H3GEGQXB4YPKQM5Y7WTZB X-Message-ID-Hash: K4EQG4U57Z6H3GEGQXB4YPKQM5Y7WTZB X-MailFrom: dwrz@dwrz.net X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============6539702989641141954==" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623766834; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type:list-id: list-help:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=TP87Yk/QoNEr53q2rIQKFMPAqGN1+ZncEPsIDCVSYEo=; b=XyOOtkez7A7K9cMtEZWG+oFXSf8HjYXjyaA8IzbQeoJz2+65kdrPR3GQImLiNxqUJSB4Dy j9LDGYwTqfnxOfuYP7++BZJMer9wdi48gF3JR0K2vTJKmwQnYjBJkpbhFPyWVkYWb7n884 5auwZdddRvdDuNXfyVj0dvWr0nBW7SdctTOD0bp/LsfvpG4CzduAJwnwNot7eqoBpKC15G ut3gHWdExeN79e3UEcgGGjZ6L1BzUK87yd1cpDzVyvW0vS3+lmJDM+r6l3eZFJKDuoiz/n AlxVogeHk7nRSbFjqTv2ThMtc8pdp+A6Zx3HdiTwVqqlXubF3eHHQRJy4ON6bA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623766834; a=rsa-sha256; cv=none; b=TLC9iAUubIQTyuyRx/4FtIOQgG5lWzis9IjEWKeuRMlZty5j1w4/S0nB676frk0IwcmB21 0ihWGbMszqM24xl+KnKRSx7eALzCHWerlTLtSSu1g5qjx/Ic0ioza2FN1myrm9oTH9R9d0 PVe3G5ViH94aQz80cL1KnTZYFwC17g0dtkEJdFsKbYgL5pAgurg9LuLmL5WlLA60a238I1 9tigel4QYm0WqIHulKbB7fn5tOcedfCFhT5ndCVXQkoibDLvvqKpgBJjSXTfbESYTxRnye Lepot7IqvKlOLTXElXQqfiJcO3m+Q/FDKfB4zO7nsIg2Q+2W8pRrBUSH60ZSmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=dwrz.net header.s=google header.b=SgEFlkqD; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.04 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=dwrz.net header.s=google header.b=SgEFlkqD; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 5995526F93 X-Spam-Score: -0.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: Fokcmg16sTze --===============6539702989641141954== Content-Type: multipart/alternative; boundary="000000000000da6af305c4ceac6e" --000000000000da6af305c4ceac6e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm using notmuch 0.32.1, Emacs 27.2, and version 20210605.1839 of notmuch-emacs. When I try to mark a message as read using a custom keybinding, I'm getting the following error: notmuch-tag: Symbol=E2=80=99s function definition is void: query Here's the backtrace: Debugger entered--Lisp error: (void-function query) query("(id:pX7JAnfzR_GtdCfx1KGqCA@geopod-ismtpd-4-0)") notmuch-tag("(id:pX7JAnfzR_GtdCfx1KGqCA@geopod-ismtpd-4-0)" ("-new" "-unread")) notmuch-search-tag(("-new" "-unread")) (lambda nil "unmark message as new and unread" (interactive) (notmuch-search-tag (list "-new" "-unread")) (forward-line))() funcall-interactively((lambda nil "unmark message as new and unread" (interactive) (notmuch-search-tag (list "-new" "-unread")) (forward-line))) call-interactively((lambda nil "unmark message as new and unread" (interactive) (notmuch-search-tag (list "-new" "-unread")) (forward-line)) nil nil) command-execute((lambda nil "unmark message as new and unread" (interactive) (notmuch-search-tag (list "-new" "-unread")) (forward-line))) And following is my notmuch-emacs configuration: (with-eval-after-load 'notmuch (customize-set-variable 'notmuch-search-oldest-first nil) (setq notmuch-address-command 'internal notmuch-address-internal-completion '(sent nil) notmuch-address-save-filename "~/some/dir/file" notmuch-address-use-company t notmuch-crypto-process-mime t notmuch-fcc-dirs "sent" notmuch-hello-hide-tags '("killed")) ;; Search tags (setq notmuch-saved-searches '((:name "inbox" :query "tag:inbox" :key "i") (:name "unread" :query "tag:unread" :key "u") (:name "new" :query "tag:new" :key "n") (:name "sent" :query "tag:sent" :key "e") (:name "drafts" :query "tag:draft" :key "d") (:name "all mail" :query "*" :key "a") (:name "todo" :query "tag:todo" :key "t"))) ;; Keybindings (define-key notmuch-search-mode-map "S" (lambda () "mark message as spam" (interactive) (notmuch-search-tag (list "-new" "-unread" "-inbox" "+spam")) (forward-line))) (define-key notmuch-show-mode-map "S" (lambda () "mark message as spam" (interactive) (notmuch-show-tag (list "-new" "-unread" "-inbox" "+spam")))) (define-key notmuch-search-mode-map "N" (lambda () "unmark message as new and unread" (interactive) (notmuch-search-tag (list "-new" "-unread")) (forward-line))) (define-key notmuch-show-mode-map "N" (lambda () "unmark message as new and unread" (interactive) (notmuch-show-tag (list "-new" "-unread")))) (define-key notmuch-show-mode-map "r" 'notmuch-show-reply) (define-key notmuch-show-mode-map "R" 'notmuch-show-reply-sender) (define-key notmuch-search-mode-map "r" 'notmuch-search-reply-to-thread) (define-key notmuch-search-mode-map "R" 'notmuch-search-reply-to-thread-sender)) I'm a little confused as to why this isn't working -- I don't believe that my configuration has strayed from what's listed in the online documentation= . Any insights? I don't know Emacs Lisp well enough to understand why query is a void function. Many thanks! David --000000000000da6af305c4ceac6e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm using notmuch 0.32.1, Emacs 27.2, and version= 20210605.1839 of
notmuch-emacs. When I try to mark a message as read us= ing a custom
keybinding, I'm getting the following error:

not= much-tag: Symbol=E2=80=99s function definition is void: query

Here&#= 39;s the backtrace:

Debugger entered--Lisp error: (void-function que= ry)
=C2=A0 query("(id:pX7JAnfzR_GtdCfx1KGqCA@geopod-ismtpd-4-0)&quo= t;)
=C2=A0 notmuch-tag("(id:pX7JAnfzR_GtdCfx1KGqCA@geopod-ismtpd-4-= 0)" ("-new" "-unread"))
=C2=A0 notmuch-search-t= ag(("-new" "-unread"))
=C2=A0 (lambda nil "unma= rk message as new and unread" (interactive) (notmuch-search-tag (list = "-new" "-unread")) (forward-line))()
=C2=A0 funcall-= interactively((lambda nil "unmark message as new and unread" (int= eractive) (notmuch-search-tag (list "-new" "-unread")) = (forward-line)))
=C2=A0 call-interactively((lambda nil "unmark mess= age as new and unread" (interactive) (notmuch-search-tag (list "-= new" "-unread")) (forward-line)) nil nil)
=C2=A0 command-= execute((lambda nil "unmark message as new and unread" (interacti= ve) (notmuch-search-tag (list "-new" "-unread")) (forwa= rd-line)))

And following is my notmuch-emacs configuratio= n:

(with-eval-after-load 'notmuch
=C2=A0 (c= ustomize-set-variable 'notmuch-search-oldest-first nil)
=C2=A0 (setq= notmuch-address-command 'internal
=C2=A0 =C2=A0 =C2=A0 =C2=A0 notmu= ch-address-internal-completion '(sent nil)
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 notmuch-address-save-filename "~/some/dir/file"
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 notmuch-address-use-company t
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 notmuch-crypto-process-mime t
=C2=A0 =C2=A0 =C2=A0 =C2=A0 notmuch-fc= c-dirs "sent"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 notmuch-hello-hide-t= ags '("killed"))
=C2=A0 ;; Search tags
=C2=A0 (setq not= much-saved-searches
=C2=A0 =C2=A0 =C2=A0 =C2=A0 '((:name "inbox= " :query "tag:inbox" :key "i")
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 (:name "unread" :query "tag:unread"= ; :key "u")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (:name "ne= w" :query "tag:new" :key "n")
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 (:name "sent" :query "tag:sent" :key = "e")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (:name "drafts&qu= ot; :query "tag:draft" :key "d")
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 (:name "all mail" :query "*" :key &qu= ot;a")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (:name "todo" := query "tag:todo" :key "t")))
=C2=A0 ;; Keybindings=C2=A0 (define-key notmuch-search-mode-map "S"
=C2=A0 =C2=A0= (lambda ()
=C2=A0 =C2=A0 =C2=A0 "mark message as spam"
=C2= =A0 =C2=A0 =C2=A0 (interactive)
=C2=A0 =C2=A0 =C2=A0 (notmuch-search-tag= (list "-new" "-unread" "-inbox" "+spam&= quot;))
=C2=A0 =C2=A0 =C2=A0 (forward-line)))
=C2=A0 (define-key notm= uch-show-mode-map "S"
=C2=A0 =C2=A0 (lambda ()
=C2=A0 =C2= =A0 =C2=A0 "mark message as spam"
=C2=A0 =C2=A0 =C2=A0 (intera= ctive)
=C2=A0 =C2=A0 =C2=A0 (notmuch-show-tag (list "-new" &qu= ot;-unread" "-inbox" "+spam"))))
=C2=A0 (define= -key notmuch-search-mode-map "N"
=C2=A0 =C2=A0 (lambda ()
= =C2=A0 =C2=A0 =C2=A0 "unmark message as new and unread"
=C2=A0= =C2=A0 =C2=A0 (interactive)
=C2=A0 =C2=A0 =C2=A0 (notmuch-search-tag (l= ist "-new" "-unread"))
=C2=A0 =C2=A0 =C2=A0 (forward= -line)))
=C2=A0 (define-key notmuch-show-mode-map "N"
=C2= =A0 =C2=A0 (lambda ()
=C2=A0 =C2=A0 =C2=A0 "unmark message as new a= nd unread"
=C2=A0 =C2=A0 =C2=A0 (interactive)
=C2=A0 =C2=A0 =C2= =A0 (notmuch-show-tag (list "-new" "-unread"))))
=C2= =A0 (define-key notmuch-show-mode-map "r" 'notmuch-show-reply= )
=C2=A0 (define-key notmuch-show-mode-map "R" 'notmuch-sh= ow-reply-sender)
=C2=A0 (define-key notmuch-search-mode-map "r"= ; 'notmuch-search-reply-to-thread)
=C2=A0 (define-key notmuch-search= -mode-map "R"
=C2=A0 =C2=A0 'notmuch-search-reply-to-threa= d-sender))

I'm a little confused as to why this isn&#= 39;t working -- I don't believe that my configuration has strayed from = what's listed in the online documentation.

Any insigh= ts? I don't know Emacs Lisp well enough to understand why query is a vo= id function.

Many thanks!

David
--000000000000da6af305c4ceac6e-- --===============6539702989641141954== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============6539702989641141954==--