[PATCH v4 5/7] emacs/show: Make the insertion of part headers overridable.

2015-11-07 Thread Mark Walters
From: David Edmondson This allows callers of notmuch-show-insert-bodypart to use a `let' binding to override the default function for specifying when part headers should be inserted. --- emacs/notmuch-show.el | 16 1 file changed, 12 insertions(+), 4 deletions(-)

[PATCH v4 7/7] test: fix the tests for the new reply code

2015-11-07 Thread Mark Walters
This sets the part-insertion code to never insert part headers (as we didn't before). With that change there is only one failing test: this test has a text part (an email message) listed as application/octet-stream. Notmuch show displays this part, but the reply code omitted it as it had type

[PATCH v4 4/7] emacs/show: Remove the 'no-buttons option of `notmuch-show-insert-bodypart'

2015-11-07 Thread Mark Walters
From: David Edmondson No code uses the 'no-buttons argument to `notmuch-show-insert-bodypart', so remove it. --- emacs/notmuch-show.el | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 9fc79e0..f8184e2

[PATCH v4 6/7] emacs/mua: Let user specify which parts get a header in citations.

2015-11-07 Thread Mark Walters
From: David Edmondson Add a customizable function specifying which parts get a header when replying, and give some sensible possiblities. These are, 1) all parts except multipart/*. (Subparts of a multipart part do receive a header button.) 2) only included text/* parts. 3)

[PATCH v4 1/7] emacs/show: Re-arrange determination if a part header is necessary

2015-11-07 Thread Mark Walters
From: David Edmondson Move the determination of whether a part header is required to a distinct function. --- emacs/notmuch-show.el | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index

[PATCH v4 3/7] emacs/mua: Generate improved cited text for replies

2015-11-07 Thread Mark Walters
From: David Edmondson Use the message display code to generate message text to cite in replies. --- emacs/notmuch-mua.el | 38 -- 1 file changed, 8 insertions(+), 30 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index

[PATCH v4 0/7] emacs: Improve the cited message included in replies

2015-11-07 Thread Mark Walters
This is a rebase and somewhat tweaked version of dme's series from last year id:1399897769-26809-1-git-send-email-...@dme.org One particular motivation for this series is that it fixes a long standing bug we have that replying to a message with an rfc822 part completely omits that part. It also

[PATCH v4 2/7] emacs/show: Accommodate the lack of part header buttons

2015-11-07 Thread Mark Walters
From: David Edmondson Various pieces of code assumed (reasonably) that part header buttons are present. Modify them to avoid problems if no part headers were inserted. --- emacs/notmuch-show.el | 88 --- 1 file changed, 48

[PATCH] Add a method to reparent threads to the database.

2015-11-07 Thread Steven Allen
This allows threads yielded from a query to outlive the query. --- lib/notmuch.h | 11 +++ lib/thread.cc | 6 ++ 2 files changed, 17 insertions(+) diff --git a/lib/notmuch.h b/lib/notmuch.h index 310a8b8..9a2869b 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -1188,6 +1188,17 @@

multiple directories for path?

2015-11-07 Thread Julien Cubizolles
I've my mail in two different directories: a Maildir sync by offlineimap and nnml mail spools. How can I have notmuch index both ? The path entry in .notmuch-config doesn't seem to allow multiple values. Julien. ___ notmuch mailing list

Re: multiple directories for path?

2015-11-07 Thread Tomi Ollila
On Sat, Nov 07 2015, Julien Cubizolles wrote: > I've my mail in two different directories: a Maildir sync by offlineimap > and nnml mail spools. How can I have notmuch index both ? The path entry > in .notmuch-config doesn't seem to allow multiple values. You can make