Hi,

* Jim MacBaine [04/05/02 23:52:27 CEST] wrote:
> I'm regularly recieving perl and java programs 
> and I have to sort out "the good from the bad".

Your boss doesn't seem to like you? ,-)

> Right now I'm using mutt and use a mailcap entry
> to open the attachments in NEdit to have the
> syntax highlighted and help my brain sorting 
> the code. 

Good.

> But it would be great to have a auto_view filter
> that shows the mail coloured. Something like lynx 
> -dump with the right escape sequences. 

Colored dumps? Not that I know...

> Sure, I could define regexps in mutt for this, but
> I doubt whether this is worth the work and whether
> this means reinventing the wheel.

Yeah, you could also write a short display_filter which performs syntax
checking or even some sort of compiling to pre-select and kill the
really bad ones.

But vim is also abled to detect some primitive syntax errors and color
it. This is not possible with color patterns for mutt. No matter how
hard you try.

> I've not digged deeper into vi/vim than the basic
> editing functions, but perhaps it can be misused
> for this...

Why do call this 'misuse'? It should work so why not try it?

Cheers, Rocco.

Attachment: msg26812/pgp00000.pgp
Description: PGP signature

Reply via email to