Re: Mutt hanging on color

2000-06-29 Thread Thomas Roessler
On 2000-06-29 19:42:26 +0800, Wari Wahab wrote: > The question still remains though, why does mutt freeze.. Simple: The regexp library hangs when trying the regular expression. I don't believe it's an endless loop - most likely, mutt will continue to work in an hour or two. ;-)

Re: Mutt hanging on color

2000-06-29 Thread Wari Wahab
Alright, this works as well ;) I have no idea what the regexp refer to though and yours is considerably easier to understand.. The question still remains though, why does mutt freeze.. * Thomas Roessler <[EMAIL PROTECTED]> [000629 15:44]: > On 2000-06-29 14:46:31 +0800, Wari Wahab wrote: > > >

Re: Mutt hanging on color

2000-06-29 Thread Thomas Dickey
On Thu, Jun 29, 2000 at 11:17:45AM +0530, Suresh Ramasubramanian wrote: > Wari Wahab proclaimed on mutt-users that: > > ># SCREAMING TEXT (often used in spam) > >color body brightyellow default" \([-A-Z']{2,}[ ,]*\)+" > > Maybe your terminal doesn't understand a color called brightyellow?

Re: Mutt hanging on color

2000-06-29 Thread Thomas Roessler
On 2000-06-29 14:46:31 +0800, Wari Wahab wrote: > > color body brightyellow default" \([A-Z']{2,}[ ,]*\)+" As a general rule, try to avoid regular expressions which nest multiple instances of "+" and "*". They tend to take very long to apply. Note, BTW, that the grouping and the trailin

Re: Mutt hanging on color

2000-06-28 Thread Wari Wahab
Yes, that's true... But somehow changing the colour to #aa works for me... Can you believe that? I was gonna say about the > but I'm not sure that it is.. * David Porter <[EMAIL PROTECTED]> [000629 14:43]: > > This is curious enough to investigate... > > * Suresh Ramasubramanian <[EMA

Re: Mutt hanging on color

2000-06-28 Thread David Porter
This is curious enough to investigate... * Suresh Ramasubramanian <[EMAIL PROTECTED]>: > Wari Wahab proclaimed on mutt-users that: > > ># SCREAMING TEXT (often used in spam) > >color body brightyellow default" \([-A-Z']{2,}[ ,]*\)+" > > Maybe your terminal doesn't understand a color calle

Re: Mutt hanging on color

2000-06-28 Thread Suresh Ramasubramanian
Wari Wahab proclaimed on mutt-users that: >Oh man, it works!! But I have brightyellow almost everywhere in the >.mutt.color.body.. !?!?! It's the same terminal anyway, fscked if I know what's up :) -suresh >color header brightyellow default .* >color body brightyellow default "\\<\([-A-Z']{

Re: Mutt hanging on color

2000-06-28 Thread Wari Wahab
Oh man, it works!! But I have brightyellow almost everywhere in the .mutt.color.body.. color header brightyellow default .* color body brightyellow default "\\<\([-A-Z']{2,}[ ,]*\)+" color body brightyellow red "1-[0-9]{3}[- ][-0-9]+ +ext.? [0-9]+" color body brightyellow default "\\(c\\)"

Re: Mutt hanging on color

2000-06-28 Thread Suresh Ramasubramanian
Wari Wahab proclaimed on mutt-users that: ># SCREAMING TEXT (often used in spam) >color body brightyellow default" \([-A-Z']{2,}[ ,]*\)+" Maybe your terminal doesn't understand a color called brightyellow? Try giving a hex equivalent - #aa will do very fine I think. -suresh -- Sures