|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
If you are using mutt as your MUA then try this line in your .muttrc color body brightred brightdefault "(warning|alert|caution|fail(ure|ed))" That should be all on one line with a space after brightdefault Now when you view peoples log files in your mail and either warning alert caution fail failure or failed appear they will show up as bright red. Well, actually if they appear anywhere in your mail body then they will show up as bright red. For some reason, they also blink for me but not sure why. But the For an added bonus # Week Days - long form: color body brightgreen blue '\<(Monday|Tuesday|Wednesday|Thursday|Friday|Satur day|Sunday)\>' # Week Days - short form: color body blue green "\\<(Mon|Tue|Wed|Thu|Fri|Sat|Sun)\\>" The Week Days - long form: one should all be on one line with a space after the blue. As you can see there are interesting possibilities with highlighting certain interesting words or patterns. Can Icedove do that? -- Chris. ====== Don't forget to check that your /etc/apt/sources.lst entries point to etch and not testing, otherwise you may end up with a broken system once etch goes stable. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Tue, Mar 27, 2007 at 06:50:42PM EST, Chris Bannister wrote:
> Hi, > > If you are using mutt as your MUA then try this line in your .muttrc > color body brightred brightdefault > "(warning|alert|caution|fail(ure|ed))" > > That should be all on one line with a space after brightdefault > > Now when you view peoples log files in your mail and either > warning alert caution fail failure or failed appear they will show up as > bright red. Well, actually if they appear anywhere in your mail body > then they will show up as bright red. > > For some reason, they also blink for me but not sure why. > But the > > > For an added bonus > # Week Days - long form: > color body brightgreen blue > '\<(Monday|Tuesday|Wednesday|Thursday|Friday|Satur day|Sunday)\>' > > # Week Days - short form: > color body blue green "\\<(Mon|Tue|Wed|Thu|Fri|Sat|Sun)\\>" > > The Week Days - long form: one should all be on one line with a space > after the blue. > > As you can see there are interesting possibilities with highlighting > certain interesting words or patterns. > > Can Icedove do that? :-) ... always thought it would be nice if the mutt website had a collection of coloring themes same as vim, eg. .. just so new users could get started with minimal headaches .. and come back to it after the dust settles. I downloaded a few useful samples from some place or other but they are not very sophisticated and I've never really had time to tweak further. Thanks, cga -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Wed, Mar 28, 2007 at 11:50:42AM +1200, Chris Bannister wrote:
> Hi, > > If you are using mutt as your MUA then try this line in your .muttrc > color body brightred brightdefault > "(warning|alert|caution|fail(ure|ed))" > > That should be all on one line with a space after brightdefault > > Now when you view peoples log files in your mail and either > warning alert caution fail failure or failed appear they will show up as > bright red. Well, actually if they appear anywhere in your mail body > then they will show up as bright red. > > For some reason, they also blink for me but not sure why. > But the > > > For an added bonus > # Week Days - long form: > color body brightgreen blue > '\<(Monday|Tuesday|Wednesday|Thursday|Friday|Satur day|Sunday)\>' > > # Week Days - short form: > color body blue green "\\<(Mon|Tue|Wed|Thu|Fri|Sat|Sun)\\>" > > The Week Days - long form: one should all be on one line with a space > after the blue. > > As you can see there are interesting possibilities with highlighting > certain interesting words or patterns. > > Can Icedove do that? > Much appreciated, now I can read logs in style. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On 2007-03-28 11:50:42 +1200, Chris Bannister wrote:
> If you are using mutt as your MUA then try this line in your .muttrc > color body brightred brightdefault > "(warning|alert|caution|fail(ure|ed))" [...] But how can you do this for log messages only? For instance, I'd like to do the same thing for diffs I receive by mail (those which are sent by a Subversion server), but things like color body brightred black '^-.*' wouldn't be nice with other messages. I thought about setting $display_filter in a message-hook to use a colorization script (such as my tdiff script), but this has no effect. Perhaps Mutt resets the color due to its own colorization. -- Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On Wed, Mar 28, 2007 at 04:21:13PM +0200, Vincent Lefevre wrote:
> On 2007-03-28 11:50:42 +1200, Chris Bannister wrote: > > If you are using mutt as your MUA then try this line in your .muttrc > > color body brightred brightdefault > > "(warning|alert|caution|fail(ure|ed))" > [...] > > But how can you do this for log messages only? > > For instance, I'd like to do the same thing for diffs I receive > by mail (those which are sent by a Subversion server), but things > like > > color body brightred black '^-.*' > > wouldn't be nice with other messages. > > I thought about setting $display_filter in a message-hook to use > a colorization script (such as my tdiff script), but this has no > effect. Perhaps Mutt resets the color due to its own colorization. > can you use auto_view for this? I've got it set for viewing html email through links and it works great. maybe you could setup an auto_view for diffs and run it through just about any text viewer with a specified color scheme. .02 A -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGCqvgaIeIEqwil4YRAv+sAJ96qa9Mq1P5Drv6NwuaRC r53uhSTwCgzmXC SO9Gtr7Mya7w7h2+gSl+St0= =+qng -----END PGP SIGNATURE----- |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On 2007-03-28 10:54:41 -0700, Andrew Sackville-West wrote:
> can you use auto_view for this? Not possible: the diffs are in the body of the message (text/plain). -- Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Am 2007-03-27 20:11:24, schrieb cga2000:
> .. always thought it would be nice if the mutt website had a collection > of coloring themes same as vim, eg. .. just so new users could get > started with minimal headaches .. and come back to it after the dust > settles. > > I downloaded a few useful samples from some place or other but they are > not very sophisticated and I've never really had time to tweak further. Something like: ----[ '/home/michelle.konzack/.mutt/hook-folder' ]--------------------- # # folder-hook [!]<pattern> <command> # folder-hook . 'uncolor body *' folder-hook BTS_debian 'source ~/.mutt/colors_diff' folder-hook ML_debian.changes 'source ~/.mutt/colors_debian' folder-hook ML_debian.devel 'source ~/.mutt/colors_diff' folder-hook ML_debian.l10n 'source ~/.mutt/colors_po' folder-hook ML_linux.linux-kernel 'source ~/.mutt/colors_diff' ----8<----------------------------------------------------------------- another thing is ~/.mutt/colors_xf86log :-) Files attached. Thanks, Greetings and nice Day Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFGE+04C0FPBMSS+BIRAtUNAJwKI3oi4E5uG1oucJ2XgK diJM5e0ACfYjyI yyizqlMm1Rr9U4xMSra+4yk= =WzYX -----END PGP SIGNATURE----- |
|
![]() |
| Outils de la discussion | |
|
|