[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Question about anno

From: Paul Fox
Subject: Re: [Nmh-workers] Question about anno
Date: Tue, 06 Dec 2005 18:49:59 -0500

 > Some years ago as part of the new attachment handling stuff, I added a
 > -delete option to anno that allows header fields to be deleted from
 > messages.  Today I was using anno with this option to delete some
 > headers from messages and ran across something that I had never thought
 > about when doing the initial implementation.  anno -delete only deletes
 > the first matching header field.  So, if there is more than one header
 > field with the same field name, only the first gets deleted.  This was
 > not what I wanted today!
 > So, the question is, which of the following options do you like best or
 > hate least?
 >  1.  Add a -all dash option to anno that says to delete all matching
 >      headers, or
 >  2.  Just make anno -delete remove all matching headers.

i think you should delete them all.  the fact that anno itself
adds two headers by default means that if you're trying to undo
what you added before, you need to get rid of more than one.  and
if you want to be selective, there's already the "-number"
argument.  (i.e., i believe "-delete -number 1" is the current
default behavior.)

 paul fox, address@hidden (arlington, ma, where it's 24.4 degrees)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]