On 27/04/04 00.37, Alexis Sukrieh wrote: > I've patched mutt to fit my needs. > > Feel free to what you want with it :) > > > Aim > > If you are subscribed to a lot of mailing-list, you must want > sometimes to unsubscribe some of them. This feature is here to > help you in this job. Just press 'X' when browsing a mailing > list in mutt. > > Feature > > provide a new command named 'list-unsubscribe', which is mapped > on the 'X' keystroke. > > When lauching this command, mutt will read the header > 'List-Unsubscribe' in the selected mail and prepare a new > mail with : > - to: <email-list-unsubscribe> > - subject: unsubscribe > - body : empty Just an observation: There are AFAIK sevaral different ways to interact with mailinglists, does your patch address that? Also, why not go for something more generally useful? Make a command that will take a message, feed it to a script, and use the output as the template for a new message, jumping straight to the compose menu regardless of the normal setup (or controlled by a seperate variable). Then list-unsubscribe becomes a special case, likely a few lines of sed/perl/shell or whatever, and a host of other interactions with lists and the like becomes possible. Just my little idea of what would be useful. /dossen PS: I guess you could do it with mutt as-is, except that you would need to hack around the usual problems with restoring variables, and you would likely loose the editor to whatever script creates the template (unless you are very clever).
Attachment:
pgpxLFKH41zyW.pgp
Description: PGP signature