Re: Ignoring unknown messages for git.safe_fraction

2022-06-13 Thread David Bremner
Sean Whitton writes: > Hello, > > On one machine I have only some of my mail, and so 'notmuch git status' > will always have a lot of lines starting with "U". But then > git.safe_fraction will always be exceeded. How about ignoring > status['missing'] in check_safe_fraction, by default? > OK,

Re: [PATCH v4] emacs: Make notmuch-show-next-thread return nil on failure

2022-06-13 Thread David Bremner
David Bremner writes: > Leo Okawa Ericson writes: > >> Having notmuch-show-next-thread return non-nil on success and nil on >> failure makes it easier for users to interact with notmuch via elisp. >> >> This commit changes notmuch-search-show-thread too since the return >> value of notmuch-show-

Re: sexp and strings

2022-06-13 Thread David Bremner
erik colson writes: > Hi, > > I would like to define a squery in my notmuch configuration which would > ease a query I often use. The query is > > tag:/d/ > > where d are decimal numbers. > Now I would like to shorten this to > > D d > > wherefor I was thinking of using a macro l

Re: sexp and strings

2022-06-13 Thread erik colson
Michael J Gruber writes: > (Until then there is copr mjg/notmuch-sfsexp at your own risk ;)) how could I possibly overlook that repo ! thanks a lot !!! -- erik colson ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to

Re: [PATCH v4] emacs: Make notmuch-show-next-thread return nil on failure

2022-06-13 Thread David Bremner
Leo Okawa Ericson writes: > Having notmuch-show-next-thread return non-nil on success and nil on > failure makes it easier for users to interact with notmuch via elisp. > > This commit changes notmuch-search-show-thread too since the return > value of notmuch-show-next-thread depends on notmuch-s

Re: [PATCH 1/3] test: initial tests for external commands

2022-06-13 Thread David Bremner
David Bremner writes: > The main goal is to test the setting of NOTMUCH_CONFIG, but also > include a basic sanity test for execing scripts. Series applied to master ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to not

Re: [PATCH 1/2] CLI: simplify help command

2022-06-13 Thread David Bremner
David Bremner writes: > This will allow "notmuch help" to work for arbitrary external commands > and for any added non-command topics (such as notmuch-sexp-queries). series applied to master ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubs

Re: sexp and strings

2022-06-13 Thread Michael J Gruber
Am Mo., 13. Juni 2022 um 11:31 Uhr schrieb erik colson : > > Michael J Gruber writes: > > > That search works without the macro, but not as a macro: notmuch > > computes an empty `Query()` for this (as per `NOTMUCH_DEBUG_QUERY=1`). > > I'm not sure whether this is intended or an artefact of the >

Re: sexp and strings

2022-06-13 Thread erik colson
Michael J Gruber writes: > That search works without the macro, but not as a macro: notmuch > computes an empty `Query()` for this (as per `NOTMUCH_DEBUG_QUERY=1`). > I'm not sure whether this is intended or an artefact of the > implementation, since both the macro and the regex need > expansion/

Re: sexp and strings

2022-06-13 Thread Michael J Gruber
Am Mo., 13. Juni 2022 um 01:20 Uhr schrieb erik colson : > > Hi, > > I would like to define a squery in my notmuch configuration which would > ease a query I often use. The query is > > tag:/d/ > > where d are decimal numbers. > Now I would like to shorten this to > > D d > > where