Re: crash on incoming email

2023-02-27 Thread Antoine Beaupré
On 2023-02-22 16:23:27, David Bremner wrote: > Antoine Beaupré writes: > >> When I have the attached email in my `inbox` and hit ENTER on the email >> (notmuch-search-show-thread here), Emacs crashes completely with: >> >> fév 22 11:57:10 angela emacs[112721]: >>

Re: [PATCH 1/1] lib/notmuch: update example

2023-02-27 Thread David Bremner
Kevin Boulain writes: > Likely missed in 86cbd215e, when notmuch_query_search_messages_st was > renamed to notmuch_query_search_messages. > --- Applied to master, thanks. d ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an

[PATCH 1/1] lib/notmuch: update example

2023-02-27 Thread Kevin Boulain
Likely missed in 86cbd215e, when notmuch_query_search_messages_st was renamed to notmuch_query_search_messages. --- > I don't think we should encourage people to ignore the status code. Makes sense, I wasn't too sure if the example was deliberately minimal. lib/notmuch.h | 5 - 1 file

[PATCH 2/2] lib/message-property: catch xapian exceptions

2023-02-27 Thread Kevin Boulain
Since libnotmuch exposes a C interface there's no way for clients to catch this. Inspired by what's done for tags (see notmuch_message_remove_tag). --- lib/message-property.cc | 36 +-- test/T610-message-property.sh | 4 ++-- 2 files changed, 32

[PATCH 1/2] test: uncaught exception when editing properties of a removed message

2023-02-27 Thread Kevin Boulain
These two functions don't fail gracefully when editing a removed message: BROKEN edit property on removed message without uncaught exception --- T610-message-property.20.EXPECTED 2023-02-27 11:33:25.792764376 + +++ T610-message-property.20.OUTPUT 2023-02-27