Re: Colors aren't quite working

2001-04-11 Thread Conor Daly

On Mon, Apr 09, 2001 at 10:30:53PM +0200 or thereabouts, Erika Pacholleck wrote:
 ( Apr-09-2001 ) Conor Daly --:
   This should work.
   
   color index red default "~l"
   color index brightred default "~N~l"
   color index brightyellow default "~N!~l"
 
 Try naming the color instead of default
 
  It *should* work but alas it doesn't.  I'm using 
  Mutt 1.2.5i (2000-07-28)
  System: Linux 2.2.16-22 [using slang 10401]
  Compile options: snipped them
 
 I am using the same mutt version, compile options identical
 BUT: linked against ncuses-5.2
 
  the same .muttrc worked beautifully on an RH 6.2 box.  
  Any thoughts?
 
 Just an idea what you might check, RH 6.2 slang or ncurses?
 Don't know about slang but I read somewhere that some variables
 have to be set (.profile or so) - as said, all just ideas.
 -- 
 Erika

AAARRR!

from my .muttrc

lists [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
lists issues techtalk grrltalk
lists mutt-users mailman-users

List mails don't get coloured.  I added

subscribe [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
subscribe issues techtalk grrltalk
subscribe mutt-users mailman-users

and it all worked!  Interesting how the "Reply to list" works for "lists"
but colours work only for "subscribe"d lists.

All fixed,  Thanks for suggestions.

Conor
-- 
Conor Daly 
Met Eireann, Glasnevin Hill, Dublin 9, Ireland
Ph +353 1 8064217 Fax +353 1 8064275

  7:33pm  up 2 days,  4:44,  9 users,  load average: 0.11, 0.04, 0.01



Re: Colors aren't quite working

2001-04-09 Thread Conor Daly

On Fri, Apr 06, 2001 at 09:58:18PM +0200 or thereabouts, Michael Tatge wrote:
 Conor Daly muttered:
  On Thu, Apr 05, 2001 at 03:40:03PM +0100 or thereabouts, Ailbhe Leamy wrote:
  I have a number of lists defined which are recognised, for instance, by "L"
  to "reply to list" but are not recognised for colours.  my colour entries in
  .muttrc are
  
  color index brightyellow default "~N"
  color index red default "~l" # colour list messages red
  color index brightred default "~N~l" # colour new list messages bright red 
  
  Note the "list" rules are the *last* "index" rules in .muttrc but this
  colouring just doesn't happen.
  
 
 This should work.
 
 color index red default "~l"
 color index brightred default "~N~l"
 color index brightyellow default "~N!~l"

It *should* work but alas it doesn't.  I'm using 

 mutt -v
Mutt 1.2.5i (2000-07-28)
Copyright (C) 1996-2000 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.2.16-22 [using slang 10401]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  -USE_SETGID  -USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
+USE_IMAP  +USE_GSS  +USE_SSL  +USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
SHAREDIR="/etc"
SYSCONFDIR="/etc"
ISPELL="/usr/bin/ispell"
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the muttbug utility.

the same .muttrc worked beautifully on an RH 6.2 box.  

Any thoughts?  I'll have to go look at the bug database.

Conor.
--
Conor Daly 
Met Eireann, Glasnevin Hill, Dublin 9, Ireland
Ph +353 1 8064217 Fax +353 1 8064275

  1:22pm  up 5 days,  3:02,  4 users,  load average: 0.06, 0.05, 0.01



Re: Colors aren't quite working

2001-04-09 Thread Erika Pacholleck

( Apr-09-2001 ) Conor Daly --:
  This should work.
  
  color index red default "~l"
  color index brightred default "~N~l"
  color index brightyellow default "~N!~l"

Try naming the color instead of default

 It *should* work but alas it doesn't.  I'm using 
 Mutt 1.2.5i (2000-07-28)
 System: Linux 2.2.16-22 [using slang 10401]
 Compile options: snipped them

I am using the same mutt version, compile options identical
BUT: linked against ncuses-5.2

 the same .muttrc worked beautifully on an RH 6.2 box.  
 Any thoughts?

Just an idea what you might check, RH 6.2 slang or ncurses?
Don't know about slang but I read somewhere that some variables
have to be set (.profile or so) - as said, all just ideas.
-- 
Erika



Re: Colors aren't quite working

2001-04-07 Thread Michael Tatge

Conor Daly muttered:
 On Thu, Apr 05, 2001 at 03:40:03PM +0100 or thereabouts, Ailbhe Leamy wrote:
 I have a number of lists defined which are recognised, for instance, by "L"
 to "reply to list" but are not recognised for colours.  my colour entries in
 .muttrc are
 
 color index brightyellow default "~N"
 color index red default "~l" # colour list messages red
 color index brightred default "~N~l" # colour new list messages bright red 
 
 Note the "list" rules are the *last* "index" rules in .muttrc but this
 colouring just doesn't happen.
 

This should work.

color index red default "~l"
color index brightred default "~N~l"
color index brightyellow default "~N!~l"


HTH,

Michael
-- 
We are Pentium of Borg. Division is futile. You will be approximated.
(seen in someone's .signature)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: Colors aren't quite working

2001-04-06 Thread Conor Daly

On Thu, Apr 05, 2001 at 03:40:03PM +0100 or thereabouts, Ailbhe Leamy wrote:
 OK, I have gone a little mad with colours, but I'm too lazy to actualyl
 read things, I prefer to have it land in my brain without my
 intervention.
 

I'm getting oddness also with 

Mutt 1.2.5i (2000-07-28)
Copyright (C) 1996-2000 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.2.16-22 [using slang 10401]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  -USE_SETGID  -USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
+USE_IMAP  +USE_GSS  +USE_SSL  +USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
SHAREDIR="/etc"
SYSCONFDIR="/etc"
ISPELL="/usr/bin/ispell"
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the muttbug utility.

I have a number of lists defined which are recognised, for instance, by "L"
to "reply to list" but are not recognised for colours.  my colour entries in
.muttrc are

color hdrdefault blue default
color quoted brightgreen default
color signature cyan default
color indicator blue red
color index yellow default ""
color index brightyellow default "~N"
color index red default "~l" # colour list messages red
color index brightred default "~N~l" # colour new list messages bright red 
color error brightred default
color status black brightred
color tree brightmagenta default# the thread tree in the index menu
color tilde brightmagenta default
color message brightcyan default
color normal default default
color attachment brightmagenta default
color search default green# how to hilite search patterns in the pager
color header cyan default "^(To|Date|From|Subject):"
color body red default "(ftp|http)://[^ ]+"# point out URLs
color body white default [-a-z_0-9.]+@[-a-z_0-9.]+# e-mail addresses
color underline brightgreen default

Note the "list" rules are the *last* "index" rules in .muttrc but this
colouring just doesn't happen.

IMAP rocks over my previous version on rh6.2 (mutt-1.0.1i) but the colours
worked correctly there.  
-- 
Conor Daly 
Met Eireann, Glasnevin Hill, Dublin 9, Ireland
Ph +353 1 8064217 Fax +353 1 8064275

  9:19am  up 1 day, 22:59,  6 users,  load average: 0.13, 0.07, 0.02



Re: Colors aren't quite working

2001-04-05 Thread Wade A. Mosely

Ailbhe Leamy wrote:
 Nothing I've tried has allowed me to colour ^X-(anything except
 X-Mailer:) seperately from X-Mailer:
 
 XMailer: always gets trapped in the X- colouring.

Try specifying the X- coloring before the X-Mailer coloring, e.g.

color header   green black ^X-.*:
color header   white black ^X-Mailer:

Good luck.

-- Mr. Wade

-- 
Linux: The Choice of the GNU Generation





Re: Colors aren't quite working

2001-04-05 Thread Ailbhe Leamy

On (05/04/01 15:26), Wade A. Mosely wrote:
 Ailbhe Leamy wrote:
  Nothing I've tried has allowed me to colour ^X-(anything except
  X-Mailer:) seperately from X-Mailer:
  
  XMailer: always gets trapped in the X- colouring.
 
 Try specifying the X- coloring before the X-Mailer coloring, e.g.
 
 color header   green black ^X-.*:
 color header   white black ^X-Mailer:

Sadly, this doesn't work. Nor does reversing the order. Is there a way
to construct a muttrc-friendly regexp to match "^X-(.*!'Mailer'):" or
something?

Ailbhe

-- 
Homepage: http://ailbhe.ossifrage.net/



Re: Colors aren't quite working

2001-04-05 Thread Aaron Schrab

At 21:06 +0100 05 Apr 2001, Ailbhe Leamy [EMAIL PROTECTED] wrote:
 On (05/04/01 15:26), Wade A. Mosely wrote:
  color header   green black ^X-.*:
  color header   white black ^X-Mailer:

color header   green black ^X-
color header   white black ^X-Mailer:

Works for me.  I'm using the development version, but that shouldn't
matter.

 Sadly, this doesn't work. Nor does reversing the order. Is there a way
 to construct a muttrc-friendly regexp to match "^X-(.*!'Mailer'):" or
 something?

If for some reason the above doesn't work for you you could use a regexp
like:

  x-([^m]|m[^a]|ma[^i]|mai[^l]|mail[^e]|maile[^r]|mailer[^:]+):

Ugly but it should work.

-- 
Aaron Schrab [EMAIL PROTECTED]  http://www.execpc.com/~aarons/
 Do not simplify the design of a program if a way can be found to make
 it complex and wonderful.



Re: Colors aren't quite working

2001-04-05 Thread Ailbhe Leamy

On (05/04/01 16:39), Aaron Schrab wrote:
 color header   green black ^X-
 color header   white black ^X-Mailer:
 
 Works for me.  I'm using the development version, but that shouldn't
 matter.

 If for some reason the above doesn't work for you you could use a regexp
 like:
 
   x-([^m]|m[^a]|ma[^i]|mai[^l]|mail[^e]|maile[^r]|mailer[^:]+):

OK, neither of these work. Am I overloading mutt's ability to parse
colours? Is my version of mutt weaker than another, and if so, where
can I get the .deb for the other? Or should I give up, and use header
order to make the vgrep easier, rather than colours?

Ailbhe

-- 
Homepage: http://ailbhe.ossifrage.net/



Re: Colors aren't quite working

2001-04-05 Thread Ailbhe Leamy

On (05/04/01 16:39), Aaron Schrab wrote:
 color header   green black ^X-
 color header   white black ^X-Mailer:

OK, so I start mutt in a different xterm and suddenly it works. After
I've emailed to say "It still won't play nice!"

I have no idea why.

Thanks to everyone who helped.

If anyone can tell me why neither :source-ing the .muttrc nor feeding
it the :color commands direct while it was running worked, I'd be most
grateful.

Ailbhe
contrite

-- 
Homepage: http://ailbhe.ossifrage.net/



Re: Colors aren't quite working

2001-04-05 Thread Wade A. Mosely

Ailbhe Leamy wrote:
 On (05/04/01 15:26), Wade A. Mosely wrote:
  Ailbhe Leamy wrote:
   Nothing I've tried has allowed me to colour ^X-(anything except
   X-Mailer:) seperately from X-Mailer:
   
   XMailer: always gets trapped in the X- colouring.
  
  Try specifying the X- coloring before the X-Mailer coloring, e.g.
  
  color header   green black ^X-.*:
  color header   white black ^X-Mailer:
 
 Sadly, this doesn't work. Nor does reversing the order. Is there a way
 to construct a muttrc-friendly regexp to match "^X-(.*!'Mailer'):" or
 something?

Hmm... what I posted works for me without problems.  I'm using Mutt/1.2.5i.

-- 
Linux: The Choice of the GNU Generation