[PATCH 2/2] emacs: show: allow user to insert rfc822 parts as messages

Mark Walters markwalters1009 at gmail.com
Mon Aug 28 04:29:18 PDT 2017


>
>> +  (let* ((folder
>> +	  (read-from-minibuffer "Folder/tags to insert part to: "
>> +				notmuch-show-part-notmuch-insert-folder)))
>> +    (mm-with-unibyte-buffer
>> +     (mm-insert-part handle)
>> +     (notmuch-maildir-fcc-with-notmuch-insert folder nil "Folder/tags to insert part to")
>> +     (message nil))))
>
> Why this? It would be nice to have a comment explaining it.

Assuming you mean the message nil bit, This is actually me being dim. I
want to remove things like the retry message. But it would be much better
to make the insert-part function return something saying whether it
succeeded or not, and then give a useful message.

Best wishes

Mark



More information about the notmuch mailing list