[PATCH v1 0/3] emacs: Allow saving of threads and messages

Mark Walters markwalters1009 at gmail.com
Fri May 9 05:05:09 PDT 2014


Hi

I think the functionality is well worth having ("|" cat - > a-file is
ugly!). However, I am not sure about this approach.

The first two patches are fine, although I think I like constructing a
query then quoting rather than quoting bits of a query and bolting them
together (even the both work).

My concern is that the current approach gives the user no warning if
they are about to overwrite an existing file, and that this is true
regardless of any emacs settings. 

Could we do these saves by loading into a temporary buffer and then
using the normal emacs save buffer functions? That way we get the
benefit of emacs's normal query-overwrite, and respect any user
customizations of that.

The only potential problem is to make sure we don't do any accidental
charset conversion. I guess this functionality is probably easy to test
at least!

Best wishes

Mark



On Fri, 09 May 2014, David Edmondson <dme at dme.org> wrote:
> emacs: Allow saving of threads and messages
>
> Similar to the pipe (|) support, allow saving of threads and messages.
>
>
> David Edmondson (3):
>   emacs: Fix indentation.
>   emacs: Minor re-work of `notmuch-show-pipe-message'
>   emacs: Add `notmuch-show-save-message' to save messages
>
>  emacs/notmuch-show.el | 161 ++++++++++++++++++++++++++++----------------------
>  1 file changed, 91 insertions(+), 70 deletions(-)
>
> -- 
> 2.0.0.rc0
>
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch


More information about the notmuch mailing list