Norm wrote: > ~ folder +inbox > inbox+ has 16 messages (1-16). > ~ pick -sequence a -subject "nmh 1.6 has been released" > 1 hit > ~ scan a > 12 06/15 Ken Hornstein [Nmh-workers] nmh 1.6 has been > released!<<------- =_a > ~ refile a +inbox -retainsequences > ~ scan a > scan: bad message list a
That's a bug: -retainsequences doesn't add the new message number to the sequence when refiling a message within one folder. Here are the relevant steps of what refile does in that case (for one message): 1) copies the old message to the new file 2) adds the new message number to the sequence 3) removes the old message number from the sequence It writes the sequences file out in step 2), so you can see both the old and new message numbers in the sequence then. I don't know why it clobbers the new message number in step 3). I haven't unravelled the struct msgs data structure and the operations on it. Anyone? In this case, there was only one message in the sequence, so the "empty" sequence was removed in step 3). David _______________________________________________ Nmh-workers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/nmh-workers
