On Fri, Oct 19, 2007 at 09:42:53PM +0200, Andre Majorel wrote: > Collecting the names of all the headers in either email, sorting > them and feeding them to hdr_order is as time-consuming as the > shell hackery I'm doing now and it's more error-prone. Yeah, but your config (loaded at startup, or when you invoked a macro) could name many headers, not just the ones in the two emails in question; thus, you'd only need to edit the hdr_order list when you see (enough of) a header that you haven't already added. e.g. you feel the need to ensure that List-Id is sorted a particular way... add it to the list. You never have to add it again. List-Post? Add it once. X-Been-There? Add it once. You never have to add anything twice. The amount of time you spend messing with hdr_order will drop off (probably exponentially) over time. > Now, if hdr_order was able to intepret lack of an argument as > "sort everything in alphabetical order"... Or perhaps a trailing > "*" as "sort any other headers in alphabetical order"... That would indeed be useful. Or regexps (e.g. hdr_order ^List- ^X-). -- Dave Evans http://djce.org.uk/ http://djce.org.uk/pgpkey
Attachment:
signature.asc
Description: Digital signature