[RFC PATCHv2 0/8] vim: add mailcap filtering to show

Subject: [RFC PATCHv2 0/8] vim: add mailcap filtering to show

Date: Thu, 13 Oct 2016 14:47:48 -0600

To: notmuch@notmuchmail.org

Cc: nlhowell@gmail.com

From: Nick Howell


This patch series adds the ability to display parts with non-plaintext
mime types. It uses the mailcap facility (see the commit message for
the first patch) to transform to plaintext. The latter patches add
special handling for multipart/alternative (instead of just treating
it as multipart/mixed).

Probably we should choose a more secure default, e.g. whitelisting
environment variables. It would be nice to recommend the use of a
sandbox.

Changes v1..v2:
- add missing patch "add multipart/alternative picking"
- correct poor conflict resolution in "handle mailcap failure
  gracefully"

Nick Howell (8):
  vim: show: add mailcap filtering
  vim: mailcap: forbid access to display server
  vim: mailcap: gracefully handle missing mimetype
  vim: mailcap: don't corrupt the view if filters write to stderr
  vim: mailcap: redraw after processing
  vim: show: add multipart/alternative picking
  vim: mailcap: show all alternatives if none preferred
  vim: mailcap: handle mailcap failure gracefully

 vim/notmuch.vim | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 66 insertions(+), 4 deletions(-)

-- 
2.7.3


Thread: