diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-08-14 22:53:52 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-08-14 22:53:52 +0300 |
commit | 9b0dee5fa917d5804aa2ca89a186ea8da64578ca (patch) | |
tree | d4725ee292d4d803da77d3a283b1accfeec27f39 /NEWS | |
parent | f2eb56bb7632e4044173a344964d6739a7ef4b7f (diff) | |
download | mailutils-9b0dee5fa917d5804aa2ca89a186ea8da64578ca.tar.gz mailutils-9b0dee5fa917d5804aa2ca89a186ea8da64578ca.tar.bz2 |
Mail: configurable `headers' output format.
* mail/from.c: Rewrite using format string.
* mail/mail.c (default_setup): Set default value for `headline'.
(main): Fix call to util_do_command.
* mail/mail.h [HAVE_STDARG_H]: Remove conditions.
(mail_compile_headline): New proto.
* mail/mailvar.c (mailvar_tab): New variable "headline".
* mail/util.c: Minor fixes.
* NEWS, doc/programs.texi: Update.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,4 +1,4 @@ -GNU mailutils NEWS -- history of user-visible changes. 2009-08-03 +GNU mailutils NEWS -- history of user-visible changes. 2009-08-14 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. See the end of file for copying conditions. @@ -83,6 +83,12 @@ described. For each variable, this command prints its name, data type, current value and a short description. +** headline variable + +The headline variable holds a format string to use for the header +summary. Its format is mostly compatible with that of the `nail' +mail reader. + ** showenvelope variable If the `showenvelope' variable is set, print command will include the @@ -90,7 +96,7 @@ SMTP envelope in its output. ** fromfield variable -The `fromenvelope' boolean variable, if set, instructs mail to obtain +The `fromfield' boolean variable, if set, instructs mail to obtain the sender address from the `From:' header. This is the default. If unset, the sender address is obtained from the SMTP envelope. |