This commit only changes the command line parsing, no new output is
added.
---
notmuch-tag.c| 10 ++
test/T150-tagging.sh | 20
2 files changed, 30 insertions(+)
diff --git a/notmuch-tag.c b/notmuch-tag.c
index 71ff06bf..c6ac51d2 100644
--- a/notmuch-tag.c
needs documentation, possibly more tests.
output format subject to change.
See the tests for examples of how this could be used in an undo facility
---
notmuch-tag.c| 20 +++-
test/T150-tagging.sh | 28
2 files changed, 43 insertions(+), 5
This gives a compact and atomic (thanks to holding a write lock) way
of saving a tag change. It should probably also output the database
uuid, so we can catch mistakes like trying to undo a change with a
compaction in between.
___
notmuch mailing
inwit writes:
> On 2022-01-26 16:40, David Bremner wrote:
>> I guess for undo you will need to save the query as well?
>>
>> Even that will not be perfect (since the messages matching the query
>> could change behind emacs back), but close enough for most interactive
>> use, maybe?
>
> I was
On Wed Jan 26, 2022 at 6:43 PM CET, Jose Antonio Ortega Ruiz wrote:
> maybe this could be a buffer-local history variable, for notmuch search
> and tree search buffers, and the undo feature apply only to the current
> search buffer. the view update is then well-defined, i think, if it's
> just
David Edmondson writes:
> Adding a terminal slash to a directory name when using --path causes the
> search to fail. Removing the terminal slash produces results.
>
> Given that many shells will add the terminal slash during completion,
> this is lame(-ish).
This bug should be fixed as of
David Bremner writes:
> It would not be that much more work to strip any number of '/'
> (instead of just 1) for infix queries, but this change already covers
>>99% of the issues with path completion.
I have applied this series to master.
___
notmuch