<<< Date Index >>>     <<< Thread Index >>>

Re: cc of orginal message in attribution



On 2008-04-03, Ren Clerc <rene@xxxxxxxx> wrote:
> Hi all,
> 
> A question regarding the attribution.  I have the following in my
> muttrc:
> 
> folder-hook .   "set attribution='* %n <%a> [%{%d-%m-%Y %H:%M}]:\n'"
> folder-hook XXX "set attribution='-----Original Message-----\nFrom: %f\nSent: 
> %d\nTo: %t\nSubject: %s\n'"
> 
> The reason is that, when (group-)replying, I want everyone to be able
> to recall from MY mail ALL THE RECIPIENTS to which the quoted e-mail
> was sent.  Please don't start the attribution flame war, I've just
> re-read it in the archives.
> 
> My question is: is it possible to include the Cc: line of the original
> mail in the attribution?  The man section of muttrc on index_format
> only mentions %t.
> 
> Any help would be appreciated.

Here are the macros I use to switch between Internet-style and 
Outlook-style replies.  To include the Cc: line in my Outlook-style 
replies, I use "set header" rather than % sequences in the 
'attribution' string.

macro index,pager ,O    ': set   sig_on_top;set indent_string="";set header;set 
attribution="-----Original Message-----"<Return>' "set Outlook-style replies"

macro index,pager ,o    ': unset sig_on_top;set indent_string="> ";unset 
header;set attribution="On %{%Y-%m-%d}, %f wrote:"<Return>' "set Internet-style 
replies"

Each of those macros should be on a single line.

HTH,
Gary