replcomps - dotfiles - leot's dotfiles
(HTM) hg clone https://bitbucket.org/iamleot/dotfiles
(DIR) Log
(DIR) Files
(DIR) Refs
---
replcomps
---
1 %; replcomps - our default component file for "repl"
2 %;
3 %;
4 %; First, output a "From" header.
5 %<(getenv LOCALMAILBOX)%|%(void(localmbox))%>%(void(width))%(putaddr From: )
6 %;
7 %; These next lines slurp in lots of addresses for To: and cc:.
8 %; Use with repl -query or else you may get flooded with addresses!
9 %; Currently %(decode) should NOT be used on address fields, in case invalid
10 %; characters are in an address.
11 %;
12 %; If no To:/cc:/Fcc: text, we output empty fields for prompter to fill in.
13 %;
14 %(lit)%(formataddr{reply-to})\
15 %(formataddr %<{from}%(void{from})%|%(void{apparently-from})%>)\
16 %(formataddr{resent-to})\
17 %(formataddr{prev-resent-to})\
18 %(formataddr{x-to})\
19 %(formataddr{apparently-to})\
20 %(void(width))%(putaddr To: )
21 %(lit)%(formataddr{to})\
22 %(formataddr{cc})\
23 %(formataddr{x-cc})\
24 %(formataddr{resent-cc})\
25 %(formataddr{prev-resent-cc})\
26 %(formataddr(localmbox))\
27 %(void(width))%(putaddr cc: )
28 Fcc: %<{fcc}%{fcc}%|+outbox%>
29 Subject: %<{subject}Re: %(void{subject})%(trim)%(putstr)%>
30 %;
31 %; Make References: and In-reply-to: fields for threading.
32 %; Use (void), (trim) and (putstr) to eat trailing whitespace.
33 %;
34 %<{message-id}In-reply-to: %{message-id}\n%>\
35 %<{message-id}References: \
36 %<{references}%(void{references})%(trim)%(putstr) %>\
37 %(void{message-id})%(trim)%(putstr)\n%>\
38 Comments: In-reply-to \
39 %<{from}%(void{from})%?(void{apparently-from})%|%(void{sender})%>\
40 %(trim)%(putstr)\n\
41 message dated "%<(nodate{date})%{date}%|%(tws{date})%>."
42 --------