diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-07-19 08:31:14 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-07-19 08:43:48 +0300 |
commit | 62e22dcc8419437e03225ae55223aaf97227b1e1 (patch) | |
tree | b4ca558c2b90155199f0db98c4206d98390858ca /NEWS | |
parent | 8ad474712f6758cdff637c5391867706957dfd74 (diff) | |
download | mailutils-62e22dcc8419437e03225ae55223aaf97227b1e1.tar.gz mailutils-62e22dcc8419437e03225ae55223aaf97227b1e1.tar.bz2 |
mail: provide mechanism for listing and editing attachments from the shell
* NEWS: Update.
* mail/escape.c (escape_check_args): Take two additional arguments
specifying minimum and maximum number of parameters to expect.
All uses updated. Remove static qualifier.
* mail/mail.h (send_attach_file): Rename to send_attach_file_default
(escape_check_args,escape_list_attachments)
(escape_attach,escape_remove_attachment): New protos.
* mail/send.c (send_attach_file): Take encoding and content type
as arguments.
(send_attach_file_default): New function.
(escape_list_attachments)
(escape_attach,escape_remove_attachment): New functions.
* mail/table.c: New escapes: l, +, ^
* include/mailutils/list.h (mu_list_remove_nth)
(mu_list_remove_nth_nd): New protos.
* libmailutils/list/Makefile.am (liblist_la_SOURCES): Add removenth.c
* libmailutils/list/removenth.c: New file.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1,4 +1,4 @@ -GNU mailutils NEWS -- history of user-visible changes. 2012-07-18 +GNU mailutils NEWS -- history of user-visible changes. 2012-07-19 Copyright (C) 2002-2012 Free Software Foundation, Inc. See the end of file for copying conditions. @@ -135,6 +135,20 @@ Here, the file "prog" will be attached witg the content type "main.c" and "ext.h" will be marked with content type "text/c" and encoded using "quoted-printable" algorithm. +The mail shell provides the following new escapes to handle attachments: + + ~l + Lists all attachments. The output is a numbered list of + attachments with their corresponding content types and + encodings. + + ~+ filename [content-type [encoding]] + Attach the file `filename'. Optional arguments supply the content + type and encoding to use instead of the defaults. + + ~^ N + Delete Nth attachment. + ** MH: improved compatibility with other implementations ** MH inc: new option --moveto |