#3837: [PATCH] Add width expando for external filters
-------------------------+----------------------
 Reporter:  flatcap      |      Owner:  mutt-dev
     Type:  enhancement  |     Status:  new
 Priority:  minor        |  Milestone:
Component:  display      |    Version:  1.6.0
 Keywords:  patch        |
-------------------------+----------------------
 This patch is the work of Dave Sterba (kdave).

 By default, the external filters don't know about the width of the screen.
 This patch adds an expando '%w' (screen width) that can be used in your
 mailcap file.

 Now, filters can make intelligent formatting decisions.

 Example .mailcap file for displaying html

 {{{
 text/html; links -dump -dump-width %w %s; nametemplate=%s.html;
 copiousoutput
 }}}

 (some versions of links will need '-width' instead of '-dump-width')

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3837>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to