Re: attribution
[*** I apologize profusely for the top-posting and for having my
signature in the wrong place. I'm using this reply format as an
example to help answer Bharath's question. ***]
Is the information at the top of your message below the kind of
thing you want to include in your reply? You can get that by
setting the 'header' variable.
As an example, I use a macro to change my reply format between
"Internet" style and "Outlook" style. I set the "Outlook" style for
this reply. I use it at work to answer those messages from Outlook
users that come formatted as:
[reply N]
-----Original Message-----
...
-----Original Message-----
[reply 2]
-----Original Message-----
[reply 1]
-----Original Message-----
[original message]
and where it is just cleaner to follow suit.
macro pager ,O ': set sig_on_top;set indent_string="";set header;set
attribution="-----Original Message-----"<Return>' "set Outlook-style replies"
macro 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 is on a single line.
HTH,
Gary
--
Gary Johnson | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx | Mobile Broadband Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA
-----Original Message-----
From: Bharath Bhushan <bharath.bhushan@xxxxxxxxx>
Subject: attribution
Date: Thu, 29 Mar 2007 12:37:19 +0530
To: mutt-users@xxxxxxxx
User-Agent: Thunderbird 1.5.0.10 (X11/20070307)
I want to set the attribution variable such that in the initial portion
of the reply, I can put in arbitrary headers from the original mail (at
least From, To, Cc, Date, and Subject headers and probably more).
I read the documentation for "attribution" and for "index_format" and I
don't see much help (Cc insertion is not possible).
I looked a bit into "reply-hook" but could not understand how I could
achieve what I wanted using it.
Any help is appreciated.
Bharath