Jim -- ...and then Jim MacBaine said... % % Hello everybody,
Hi! % % I'm regularly recieving perl and java programs % and I have to sort out "the good from the bad". The perl sounds fun, but I feel for you for the java junk ;-) % % Right now I'm using mutt and use a mailcap entry % to open the attachments in NEdit to have the ... % But it would be great to have a auto_view filter ... % % 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; that sounds ugly. % % I've not digged deeper into vi/vim than the basic % editing functions, but perhaps it can be misused % for this... Oh, it certainly could :-) % % Does anyone of you have an idea? Do they show up as part of the message text, or is their type not recognized and so they're not displayed? I don't know of any pagers (ie, not meant to be an editor but instead just a file viewer) that do syntax highlighting, though that doesn't at all mean that they aren't out there. If you see them with the pager now, then you might whip up a message-hook that sets your pager to vim (or maybe vim -R) so that you can take advantage of vim's *extensive* syntax highlighting -- and, new in 6.1 or so, folding, too. % % Regards, % Jim :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
msg26809/pgp00000.pgp
Description: PGP signature