<<< Date Index >>>     <<< Thread Index >>>

Re: colours and quotes



* Andre Lerche <a.lerche@xxxxxxx> [2004-05-27 20:00] wrote:
> Hi!
> 
> Is it somehow possible to colour not the whole quotes including
> the quoted text but only the >-chars?
> 
> For example I want to colour the quotes
> 
> > >
> > >
> >
> 
> with
> 
> green red
> green red
> green
> 
> I've tried it without look with
> 
> color body red default "^[A-Za-z0-9\ ]*>[\ ]*>"
> color body green default "^[A-Za-z0-9\ ]*>"
> 
> but the resulting colours are
> 
> red red
> red red
> green
> 
> Any thoughts?
> 
> Andre
>      

Hi Andre,

This is what I have in my config file(s). Unfortunately I cannot take
credit for these lines. They were yanked off of someone else's.

 set quote_regexp="^([   ]*[|>:}%])+|^[a-zA-Z]{,9}>"

 and then for a bit of colo(u)r:

  color quoted      cyan   black  # pager body
  color quoted1     red    black  # pager body
  color quoted2     cyan   black  # pager body
  color quoted3     yellow black  # pager body

I know this isn't exactly what you were looking for, but I hope it helps
a little bit.

Nicolaus
-- 
Truly simple systems... require infinite testing.
                -- Norman Augustine