> Ideally, we would put this output in the notmuch errors buffer but the > handler is called asynchronously so we don't know when the output will > appear. Thus if we put it straight into the errors buffer it could get > interleaved with other errors, otoh we can't easily tell when we > have got all the error output so can't wait until the process is complete. Hi Mark; I think your patch is OK, but would it be much harder to created a named buffer like *notmuch-view-$message-d* ? (using e.g. the code from notmuch-show). I might make debugging easier. Of course those buffers would accumulate, along with show, search and pick buffers... Or we could push this as is, and add some debugging facility later like a variable notmuch-view-errors-buffer. d