This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The nmh Mail Handling System".
The branch, master has been updated via 9e27fef315a1e9df848c357cc4c96b1c000bfcd7 (commit) via ae773e71c0efe0a8a7bb2f243e784c576e72c9e4 (commit) from 5ea646bd6534ab3b4d228c1c20998fdfa69ecfcf (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://git.savannah.gnu.org/cgit/nmh.git/commit/?id=9e27fef315a1e9df848c357cc4c96b1c000bfcd7 commit 9e27fef315a1e9df848c357cc4c96b1c000bfcd7 Author: Ken Hornstein <k...@pobox.com> Date: Mon Feb 20 00:31:14 2012 -0500 Put default From: headers in these component files, and document the components file now that we can have comments. diff --git a/etc/components b/etc/components index 26d54c2..64a0337 100644 --- a/etc/components +++ b/etc/components @@ -1,6 +1,25 @@ +%; +%; Our default components file. Used by `comp' +%; +%; +%; This line creates our From: header based on the following ordering: +%; +%; - Use a -from switch if it exists ({from}) +%; - Use our local mailbox identity; first from the Local-Mailbox profile +%; entry, otherwise gets the information from the local system +%; %<{from}%|%(void(localmbox))%>%(void(width))%(putaddr From: ) +%; +%; Here we include an address list if one or more "-to" arguments were +%; given, otherwise just output a blank header. We do the same for the +%; "cc" header as well. +%; %<{to}%(void(width))%(putaddr To: )%|To:%> %<{cc}%(void(width))%(putaddr cc: )%|cc:%> +%; +%; Slight difference here: if we're not given "-fcc" on the command line, +%; make the default mailbox +outbox +%; Fcc: %<{fcc}%(putstr)%|+outbox%> Subject: -------- diff --git a/etc/replcomps b/etc/replcomps index 9166411..204f117 100644 --- a/etc/replcomps +++ b/etc/replcomps @@ -1,4 +1,9 @@ -%; $Header$ +%; +%; replcomps - our default component file for "repl" +%; +%; +%; First, output a "From" header. +%(void(localmbox))%(void(width))%(putaddr From: ) %; %; These next lines slurp in lots of addresses for To: and cc:. %; Use with repl -query or else you may get flooded with addresses! diff --git a/etc/replgroupcomps b/etc/replgroupcomps index 210a3e0..7b48e18 100644 --- a/etc/replgroupcomps +++ b/etc/replgroupcomps @@ -20,6 +20,7 @@ %; cc (and) %; personal address %; +%(void(localmbox))%(void(width))%(putaddr From: ) %(lit)%(formataddr{mail-followup-to})\ %<(nonnull)%(void(width))%(putaddr To: )\n\ %|\ http://git.savannah.gnu.org/cgit/nmh.git/commit/?id=ae773e71c0efe0a8a7bb2f243e784c576e72c9e4 commit ae773e71c0efe0a8a7bb2f243e784c576e72c9e4 Author: Ken Hornstein <k...@pobox.com> Date: Mon Feb 20 00:31:01 2012 -0500 Clean up documentation formatting diff --git a/man/comp.man b/man/comp.man index 251619b..aa0c184 100644 --- a/man/comp.man +++ b/man/comp.man @@ -135,7 +135,7 @@ escapes are either new or have an alternate meaning: .RS 5 .nf .ta \w'Escape 'u +\w'Returns 'u -.I Escape Returns Description +.I Escape Returns Description fcc string Any folders specified with `\-fcc\ folder' from string Any addresses specified with `\-from\ address' to string Any addresses specified with `\-to\ address' diff --git a/man/mh-format.man b/man/mh-format.man index 6b384d1..d8a83b2 100644 --- a/man/mh-format.man +++ b/man/mh-format.man @@ -261,9 +261,9 @@ width integer output buffer size in bytes charleft integer bytes left in output buffer timenow integer seconds since the UNIX epoch me string the user's mailbox (username) -myhost string the user's local hostname -myname string the user's name -localmbox string the complete local mailbox +myhost string the user's local hostname +myname string the user's name +localmbox string the complete local mailbox eq literal boolean \fInum\fR == \fIarg\fR ne literal boolean \fInum\fR != \fIarg\fR gt literal boolean \fInum\fR > \fIarg\fR ----------------------------------------------------------------------- Summary of changes: etc/components | 19 +++++++++++++++++++ etc/replcomps | 7 ++++++- etc/replgroupcomps | 1 + man/comp.man | 2 +- man/mh-format.man | 6 +++--- 5 files changed, 30 insertions(+), 5 deletions(-) hooks/post-receive -- The nmh Mail Handling System _______________________________________________ Nmh-commits mailing list Nmh-commits@nongnu.org https://lists.nongnu.org/mailman/listinfo/nmh-commits