On Tue, Apr 25, 2017 at 12:49:05PM -0500, Derek Martin wrote:
> On Mon, Apr 24, 2017 at 11:33:20AM +0200, Vincent Lefevre wrote:
> > On 2017-04-23 09:59:33 -0500, Derek Martin wrote:
> > > Although, I don't really get why Mutt needs a feature for this, when
> > > you can just set the environment variables in... the environment.
> > > Before starting Mutt.
> > 
> > This is not just possible for all of them. One problem is COLUMNS,
> > which may be needed for filters not attached to the terminal.
> 
> I don't get it...  I'm not sure how COLUMNS is even useful to filters
> that aren't attached to the terminal.  And if they are, they should be
> able to get the terminal's dimensions.  But, for the sake of argument:

This is helpful when using the sidebar.  In this case, Mutt sets COLUMNS
to the width of the pager area, not the whole window.  I have in my
.mailcap :
  text/html; lynx -dump -width ${COLUMNS:-80} %s; nametemplate=%s.html; 
copiousoutput
which looks much nicer.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to