On Sun, May 29, 2011 at 04:51:01PM +0100, David Woodfall wrote:
On (13:42 29/05/11), Jamie Paul Griffin <[email protected]> put forth the proposition:IIUC, you're talking about when you are composing in the editor, not mutt, which would explain why. I guess this means you have $edit_headers set in $your muttrc file, unset it and you won't see the headers.Is that the only way? I really like to see the To: Cc: and Subject: headers when composing.
You could change your editor to a script that will: 1) copy the original message to a temp message 2) remove unwanted headers from the temp message 3) invoke your editor on the temp message4) update the original message with the retained headers and full body from the temp message once the editor returns
5) remove the temp message (mutt will remove the original)Note that the process above will modify the original even if you don't make any edits, and will thus defeat mutt's detection of unmodified messages. You can just live with that, or add:
2.5) save the ctime of your temp message 3.5) go to 5 if the saved ctime doesn't change -- Ed Blackman
signature.txt
Description: Digital signature
