SZÉPE Viktor <[email protected]> wrote:
 |Idézem/Quoting Steffen Nurpmeso <[email protected]>:
 |> SZÉPE Viktor <[email protected]> wrote:
 |>|Idézem/Quoting Steffen Nurpmeso <[email protected]>:
 |>|> SZÉPE Viktor <[email protected]> wrote:
 |>|>|Idézem/Quoting Steffen Nurpmeso <[email protected]>:
 |>|>|> SZÉPE Viktor <[email protected]> wrote:
 |>  ...
 |>|>|>|>|>|I'd like to see colorful messages.
 |>  ...
 |>|>|Could it be that there are no defaults? Or the defaults are missing
 |>|>|from this release?
 |>|>
 |>|> No, that is conscious.  The old colours were nothing but a hack
 |>|> and announced like that.  Except for colour-pager and
 |>|> colour-disable, which were already designed as being upward
 |>|> compatible.  The new ones are upward compatible as such, they will
 |>|> only gain some extensions over time.  No defaults, no.
 |>  ...
 |>|Could you add one (iso/256) color scheme to the rc file as a comment?
 |>
 |> But why, Viktor?  I think it is almost painful there is an example
 |> in the global .rc which installs `colour's for the prompt, is it
 |> really such a long way to see this and then look in the manual
 |> which documents all that?
 |
 |For a simple user it may be too hard to figure out a usable color scheme.

No, sorry.  You will never find the right one.

 |For example I would gladly copy Midnight Commander's editor's "Mail  
 |folder" scheme but it is tedious.
 |
 |context linestart From\s \n\n cyan
 |     keyword linestart From: brightgreen
 |     keyword linestart From\s brightred
 |     keyword <*@*> white
 |     keyword whole +@+ white
 |     keyword linestart To: brightmagenta
 |     keyword linestart Subject: brightred/Orange
 |     keyword linestart +: brown

This is not the example i would use :-))
And it is not tedious for the things we support except that From_
has its own colour slot as it is no header, strictly speaking, but
instead a property of the MBOX database format.  You have

  colour 256 view-from_ fg=red,ft=bold
  colour 256 view-header fg=green,ft=bold from
  colour 256 view-header fg=magenta,ft=bold to
  colour 256 view-header fg=red,ft=bold subject
  colour 256 view-header fg=brown

I will introduce a default mapping that can be used to join any
Co# > 2 settings for v14.9.4.  Header body and part body content
specifics will not happen that soon, likely even not before v15.
So in fact it would not be that hard now to support header body
content queries at the time of this writing, and then highlight
the entire body differently if we find a match.  But what you want
is highlighting of regions, and that messes with a piece of code
that will be rewritten completely and thus means useless work.
And i will turn away for some time after v14.9.4, so, sorry, that
is a task for a later time.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to