unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Paul Wise <pabs3@bonedaddy.net>
To: notmuch@notmuchmail.org
Subject: Re: [PATCH] notmuch-mutt: replace extra command with notmuch-native thread search feature
Date: Mon, 10 Apr 2023 08:48:16 +0800	[thread overview]
Message-ID: <8a170f97198f00d226847ef1e3a3adbcad39fff1.camel@bonedaddy.net> (raw)
In-Reply-To: <87wn2lf3k8.fsf@minkowski.home>


[-- Attachment #1.1: Type: text/plain, Size: 858 bytes --]

On Sun, 2023-04-09 at 13:00 -0300, David Bremner wrote:

> You might be interested in the s-expression query parser. Part of the
> goal is to be less dwim/quirky than the native Xapian query parser, and
> to make it easier / safer to construct notmuch queries via programs.

That does seem saner to manually construct queries in, but it would
still be better to have a query construction library, otherwise
programs are going to get it wrong all the time, even within notmuch.

> It doesn't do the message-id munging you mention (yet?),

This is a big part of the query construction headache, re-implementing
the space stripping is easy, the user part removal is harder and I
can't find any docs on what else is required here.

PS: I don't intend to work on switching notmuch-mutt to sexp.

-- 
bye,
pabs

https://bonedaddy.net/pabs3/

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2023-04-10  0:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-07  0:54 [PATCH] notmuch-mutt: replace extra command with notmuch-native thread search feature Paul Wise
2023-04-08 11:42 ` David Bremner
2023-04-09  4:38   ` Paul Wise
2023-04-09  4:41     ` [PATCH v2 1/2] notmuch-mutt: fix Xapian query construction Paul Wise
2023-04-09  4:41       ` [PATCH v2 2/2] notmuch-mutt: replace extra command with notmuch thread search feature Paul Wise
2023-05-27 17:31         ` David Bremner
2023-04-09 16:00     ` [PATCH] notmuch-mutt: replace extra command with notmuch-native " David Bremner
2023-04-10  0:48       ` Paul Wise [this message]
2023-04-10 13:04     ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8a170f97198f00d226847ef1e3a3adbcad39fff1.camel@bonedaddy.net \
    --to=pabs3@bonedaddy.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).