Re: changing subject of all messages in a thread

2008-05-22 Thread martin f krafft
also sprach David Champion [EMAIL PROTECTED] [2008.05.06.1919 +0200]: prompt would be handy. Meanwhile, you might try something like: $ cat mutt-subject-edit [...] :source mutt-subject-edit | [tag some messages] tag-prefixedit-message

Re: changing subject of all messages in a thread

2008-05-06 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, May 6 at 03:36 PM, quoth martin f krafft: But... can it help me change the subject line for messages that are part of a subthread? I know how to set $editor to get it to do this automatically, but how do I convince mutt to spawn the

Re: changing subject of all messages in a thread

2008-05-06 Thread David Champion
part of a subthread? I know how to set $editor to get it to do this automatically, but how do I convince mutt to spawn the editor on all tagged messages or messages of a subthread without manually iterating? set editor=perl -pi -e 's/^Subject: .*/Subject: mwahaha/;' %s [tag some messages]

Re: changing subject of all messages in a thread

2008-05-06 Thread martin f krafft
also sprach David Champion [EMAIL PROTECTED] [2008.05.06.1804 +0100]: part of a subthread? I know how to set $editor to get it to do this automatically, but how do I convince mutt to spawn the editor on all tagged messages or messages of a subthread without manually iterating? set

Re: changing subject of all messages in a thread

2008-05-06 Thread David Champion
/me wants mutt to have a prompt function. prompt would be handy. Meanwhile, you might try something like: $ cat mutt-subject-edit #!/bin/sh printf New subject: /dev/tty read subj /dev/tty cat X set editor=perl -pi -e 's/^Subject: .*/Subject: $subj/;' %s X :source mutt-subject-edit | [tag