Re: [PATCH v1 1/1] emacs: Add `notmuch-wash-cut-here'

2019-04-25 Thread David Bremner
David Edmondson writes: > Add `notmuch-wash-cut-here' as a washing function that can be added to > `notmuch-show-insert-text/plain-hook' to excerpt 'cut here' sections, > such as those generated by `message-mark-inserted-region'. How hard would it be to test this? Usually we like to have a test

Re: [PATCH v1 1/1] emacs: Add `notmuch-wash-cut-here'

2019-04-03 Thread Pierre Neidhardt
That'd be great! Would you like to implement this? Either way, the patch looks good to me and it'd be great to see it merged upstream. Thanks! -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP signature ___ notmuch mailing

Re: [PATCH v1 1/1] emacs: Add `notmuch-wash-cut-here'

2019-03-20 Thread David Edmondson
On Wednesday, 2019-03-20 at 09:52:24 +01, Pierre Neidhardt wrote: > Question: Is is possible to configure the wash function to be expanded > by default? Probably the simplest approach would be to have `notmuch-wash-region-to-button' return the button it creates to the caller, which could then

Re: [PATCH v1 1/1] emacs: Add `notmuch-wash-cut-here'

2019-03-20 Thread Pierre Neidhardt
I've added notmuch-wash-cut-here to notmuch-show-insert-text/plain-hook, and this works great, thanks for the prompt solution! :) Question: Is is possible to configure the wash function to be expanded by default? -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP

[PATCH v1 1/1] emacs: Add `notmuch-wash-cut-here'

2019-03-19 Thread David Edmondson
Add `notmuch-wash-cut-here' as a washing function that can be added to `notmuch-show-insert-text/plain-hook' to excerpt 'cut here' sections, such as those generated by `message-mark-inserted-region'. --- emacs/notmuch-wash.el | 31 +++ 1 file changed, 31 insertions(+)