<<< Date Index >>>     <<< Thread Index >>>

Re: muttrc and functions



On Fri, Mar 05, 2004 at 10:10:00AM EST, Jeff Abrahamson wrote:
> On Wed, Mar 03, 2004 at 10:08:56PM -0800, David Ellement wrote:
> >   [17 lines, 70 words, 477 characters]  Top characters: noeit\ndc
> > On 2004-03-03, Jeff Abrahamson wrote

> > > Now, being a programmer, I'd like to be able to define a function and
> > > then just have one line for each:
> > > 
> > >     condition1 do-function
> > >     condition2 do-function
> > >     condition3 do-function
> > >     ...
> > > 
> > > Is anything of the sort possible in mutt config?
> > 
> > Michael Elkins submitted a patch to mutt-dev last June which introduced
> > user defined macro-functions.
> >     (Message-ID: <20020612225109.GA10379@xxxxxxxxxxx>)
> 
> I've noticed this list often mention patches to solve such problems.

Yeah, that seems to be "the Mutt way" (TM?) as of late.

> Does this mean that the patch is included in CVS and we can expect to
> see it in a future version,

possibly, but not likely

> I just can get the improvement sooner by
> applying the patch to my copy of mutt.

possibly, but not likely

> Or does it mean that it is not in CVS,

much more often the case

> and so if I apply this patch I
> will have to maintain a separate, private branch by continuing to
> apply the patch?

If you don't do a fresh checkout every time but instead simply update
from CVS, you don't have to reapply the patch every time you update.
CVS was made for this sort of stuff.

> Sort of like the compressed mbox patch I've so often
> read about that I gather is not a part of mutt and isn't going to be.

...or at least isn't likely to be ;-)

 - Dave

-- 
Uncle Cosmo, why do they call this a word processor?
It's simple, Skyler.  You've seen what food processors do to food, right?

Please visit this link:
http://rotter.net/israel

Attachment: pgpyJG1IQTTon.pgp
Description: PGP signature