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

Re: updated bj.current_shortcut patches for 1.4.1i?



On Fri, Feb 13, 2004 at 08:21:26AM EST, Christoph Berg wrote:
> Re: David Yitzchak Cohen in <20040204024109.GB14769@xxxxxxx>

> > Why don't you just do something like this instead?
> > folder-hook =folder1 fcc-hook =folder1
> > folder-hook =folder2 fcc-hook =folder2
> > etc.
> 
> That's ugly.

That's not nearly as ugly, when you consider how easy it is to do for
most fairly standard configurations:

> > ...so you can just put this in your muttrc:
> > source "ls ~/mail | sed 's/(.*)/folder-hook =\1 fcc-hook =\1/'|"

:-)

(Note that the above doesn't work in stock 1.5.6i, due to a bug introduced
a while ago in fixing another bug.  You'll need a fairly recent CVS
(or a 1.4.x - which still has the other bug since nobody bothered to
fix it, so it never got this bug; or a 1.5.x where (x<=5), before the
other bugfix that caused the new bug) if you want to do that.)

> I'm using the following in conjunction with the trash_folder patch:
> 
> folder-hook .                   'set trash="=trash/trash"'
> folder-hook IN/.                'push ":set trash=\"^.trash\"\n"'

That's an interesting way of automating things, actually. . .

 - 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: pgptCcdOizwF0.pgp
Description: PGP signature