Using patterns in hooks

2010-06-13 Thread martin f krafft
Dear mutts, I am seeking a technical solution to a PEBCAK¹ case routed in my inability — at times — to think before I do. ;) ¹) http://en.wikipedia.org/wiki/Pebcak Basically, I would like to instruct mutt to refuse sending a message when any one (or both) of two cases is true: a. a message is s

Re: Using patterns in hooks

2010-06-13 Thread Javier Rojas
On Sun, Jun 13, 2010 at 07:57:23PM +0200, martin f krafft wrote: > Dear mutts, > > I am seeking a technical solution to a PEBCAK¹ case routed in my > inability — at times — to think before I do. ;) > > ¹) http://en.wikipedia.org/wiki/Pebcak > > Basically, I would like to instruct mutt to refuse

Re: Using patterns in hooks

2010-06-13 Thread Simon Ruderich
On Sun, Jun 13, 2010 at 07:57:23PM +0200, martin f krafft wrote: > Dear mutts, > > [snip] > > Basically, I would like to instruct mutt to refuse sending a message > when any one (or both) of two cases is true: > > a. a message is somehow marked as not-yet-ready > b. a message is addressed to a "pro

Re: Using patterns in hooks

2010-06-13 Thread martin f krafft
also sprach Javier Rojas [2010.06.13.2055 +0200]: > The following is a tip to check if you attached a file to a message, > triggered when you use the "attach" word in the text body. > > http://wiki.mutt.org/?ConfigTricks/CheckAttach > > It might be a good solution for your problem; it doesn't us