[neomutt-users] "3.16. attach_format"

Richard Russon rich at flatcap.org
Sat Sep 2 13:11:24 CEST 2017

Hi Rudolf,

> I'm new to this list


> Is there an archive?


> set attach_format = “ %u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s]  ”
> gives me an error message "%u%D%I: Unbekannte Variable." meaning unknown variable.

Aha!  I see the problem.  It's those 'curly' quote characters that are
causing problems.  This should work:

set attach_format = "%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s]"

[Technical aside]
The 'set' command breaks up the string by "-quotes and spaces, so it
sees several statements
    set attach_format = “
    set %u%D%I

[Note to self]
Teach parse_set() about curly quotes so that users can safely
cut'n'paste from guide.

    Rich / FlatCap
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20170902/6b2f29e4/attachment.sig>

More information about the neomutt-users mailing list