Re: Pointer ownership

2018-12-21 Thread David Bremner
Dirk Van Haerenborgh writes: > Thanks. > > For the most part, that's what I ended up with, but the thread 'stealing' a > message will be quite hard to implement in Rust, I guess. > When using notmuch_query_search_messages, I was assuming the resulting > individual messages to be owned by the

Re: [PATCH v1 1/3] notmuch: Include the format parameter of text/plain parts

2018-12-21 Thread David Bremner
David Edmondson writes: > During formatted output, if a content type of a text/plain part > has a "format" paramter, include it in the output. > --- > notmuch-show.c | 13 + > 1 file changed, 13 insertions(+) > > diff --git a/notmuch-show.c b/notmuch-show.c > index

[PATCH v1 1/3] notmuch: Include the format parameter of text/plain parts

2018-12-21 Thread David Edmondson
During formatted output, if a content type of a text/plain part has a "format" paramter, include it in the output. --- notmuch-show.c | 13 + 1 file changed, 13 insertions(+) diff --git a/notmuch-show.c b/notmuch-show.c index 07e9a5db..92d18bb8 100644 --- a/notmuch-show.c +++

[PATCH v1 0/3] support for format=flowed display

2018-12-21 Thread David Edmondson
This patch improves the display of format=flowed text parts. I suspect that format=flowed display and some of the other content washing might interact in annoying ways, but the only way to be sure is to see how people feel about the results. David Edmondson (3): notmuch: Include the format

[PATCH v1 2/3] emacs: Pass the part to text/plain hook functions

2018-12-21 Thread David Edmondson
Some text/plain hook functions may wish to access the details of the part that is being manipulated. --- emacs/notmuch-show.el | 2 +- emacs/notmuch-wash.el | 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index

Re: format=flowed incorrect line wrapping

2018-12-21 Thread Nicolas Bock
On Fri, Dec 21 2018, David Edmondson wrote: On Friday, 2018-12-21 at 11:54:46 GMT, David Edmondson wrote: On Thursday, 2018-12-20 at 07:00:08 -07, Nicolas Bock wrote: sorry I didn't explain my problem very well. What I am looking for is to reflow (to borrow a term from NeoMutt [1]) an

Re: format=flowed incorrect line wrapping

2018-12-21 Thread David Edmondson
On Thursday, 2018-12-20 at 07:00:08 -07, Nicolas Bock wrote: > sorry I didn't explain my problem very well. What I am looking for > is to reflow (to borrow a term from NeoMutt [1]) an email message > that I am _reading_ to the buffer width. Currently format=flowed > emails are simply shown as