Commit 6eaeafb7 6eaeafb7265a34d600a31f3c88d7cc3e96c2a5d3 by Sergey Poznyakoff

Update

1 parent 5bd554df
2006-01-16 Sergey Poznyakoff <gray@gnu.org.ua>
* NEWS: Updated
* THANKS: Add Walter Neumann
* doc/texinfo/programs.texi: Document inplacealiases and
recursealiases.
* mail/alias.c (alias_expand): Recursively expand aliases if
recursealiases is set.
* mail/mail.c (default_setup): Provide defaults for inplacealiases
and recursealiases.
* mail/mail.h (is_address_field): New prototype.
* mail/send.c (compose_header_set): Check for valid arguments at
the beginning of the function (value can be NULL, e.g. if the user hit
C-D at Cc: prompt).
Call util_merge_addresses() only if inplacealiases is set. Expand
aliases before calling it.
* mail/util.c (is_address_field): Remove static qualifier.
(util_header_expand): Expand aliases unless inplacealiases is set.
* mail/testsuite/mail/send.exp: Set inplacealiases.
2005-12-14 Sergey Poznyakoff <gray@gnu.org.ua>
* lib/mu_dbm.c: Allow specifying full file name (including the
......
GNU mailutils NEWS -- history of user-visible changes. 2005-10-30
Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
GNU mailutils NEWS -- history of user-visible changes. 2006-01-16
Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
See the end of file for copying conditions.
Please send mailutils bug reports to <bug-mailutils@gnu.org>.
......@@ -21,8 +21,17 @@ obtain loader options (which is recommended, anyway).
* mail: New option --exec (-E) allows to execute arbitrary mail commands
before opening the mailbox. Any number of --exec options can be given.
** New variables `recursivealiases' and `inplacealiases' control the way
mail aliases are expanded. When `recursivealiases' is set, aliases
will be expanded recursively. When `inplacealiases' is set, alias
expansion takes place before entering compose mode (by default, it is
carried out when exiting compose mode, right before sending the
message). The default is `set recursivealiases noinplacealiases'.
* Bugfixes:
** mail: Fix handling of conditional expressions
** mail: When several recipients were specified, no alias expansion took
place.
Version 0.6.91:
......
@c This is part of the GNU Mailutils manual.
@c Copyright (C) 1999,2000,2001,2002,2003,2004,2005
@c Copyright (C) 1999,2000,2001,2002,2003,2004,2005,2006
@c Free Software Foundation, Inc.
@c See file mailutils.texi for copying conditions.
@comment *******************************************************************
......@@ -1999,6 +1999,15 @@ composed.
String used by the @code{~m} tilde escape for indenting quoted messages.
@item inplacealiases
@*Type: Boolean
@*Default: False
If set, @command{mail} will expand aliases in the address header field
before entering send mode (@pxref{Composing Mail}). By default, the
address header fields are left intact while composing, the alias
expansion takes place immediately before sending message.
@item keepsave
@*Type: Boolean.
@*Default: False.
......@@ -2132,6 +2141,12 @@ configuration file upon startup. See @ref{Mail Configuration Files}.
When set, any outgoing message will be saved to the named file.
@item recursivealiases
@*Type: Boolean
@*Default: True
When set, @command{mail} will expand aliases recursively.
@item regex
@*Type: Boolean.
@*Default: True.
......