From owner-freebsd-hackers Thu Jun 20 13:33:50 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from tesla.distributel.net (nat.MTL.distributel.NET [66.38.181.24]) by hub.freebsd.org (Postfix) with ESMTP id 66C3437B416 for ; Thu, 20 Jun 2002 13:33:28 -0700 (PDT) Received: (from bmilekic@localhost) by tesla.distributel.net (8.11.6/8.11.6) id g5KKUxY24506; Thu, 20 Jun 2002 16:30:59 -0400 (EDT) (envelope-from bmilekic@unixdaemons.com) Date: Thu, 20 Jun 2002 16:30:59 -0400 From: Bosko Milekic To: "Brandon D. Valentine" Cc: Matthew Hunt , freebsd-hackers@FreeBSD.ORG Subject: Re: Some small projects for mutt(1) Message-ID: <20020620163059.A24472@unixdaemons.com> References: <20020620161838.A24262@unixdaemons.com> <20020620152533.H753-100000@dallben.homeportal.2wire.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020620152533.H753-100000@dallben.homeportal.2wire.net>; from bandix@geekpunk.net on Thu, Jun 20, 2002 at 03:27:24PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 20, 2002 at 03:27:24PM -0500, Brandon D. Valentine wrote: > On Thu, 20 Jun 2002, Bosko Milekic wrote: > > >On Thu, Jun 20, 2002 at 01:10:39PM -0700, Matthew Hunt wrote: > >> This shouldn't be hard to glue together without modifying mutt itself. > >> Make a little program, foo, that takes the message on stdin, passes > >> it through "formail -x subject", massages it into a procmail rule, and > >> appends it to some procmail rule file. The "massage" step should include > >> escaping characters that have special meanings in procmail regexps, and > >> adding something like (Re: *)? at the beginning of the subject when > >> appropriate. Shouldn't be more than a screenful of Perl. > > > > Interesting. How would you have a key bound sequence in mutt set off > >the script on the message, though? For instance, if I do a "ctrl+B", how > >would you ensure that the Right Thing happens, without modifying mutt > >code? > > Check out mutt2procmailrc written by my good friend timball: > > http://www.ghettohack.net/timball/ Hey, this is awesome stuff! Thanks! How come we don't have a port? > It rocks. > > Brandon D. Valentine > -- > http://www.geekpunk.net bandix@geekpunk.net > ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ > +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. Regards, -- Bosko Milekic bmilekic@unixdaemons.com bmilekic@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message