Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: David Rysdam <david@rysdam.org>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] color customization
Date: Mon, 26 Jul 2010 22:02:27 -0400	[thread overview]
Message-ID: <1280195847-sup-7116@hero> (raw)
In-Reply-To: <1279811550-sup-7833@hero>

An agent or agents purporting to be David Rysdam said:
> I've customized my colors a bit, but there's a couple things I can't
> find.  How do I configure the color the movable horizontal "bar" (I
> know there's a term for this but I don't remember it)?  And more
> importantly, how do I configure the color the text highlighted by that
> bar?  Like, I have my new messages set to red but when the bar is on
> them they are black.  I want them red *always*.

Replying to myself again, for the benefit of others and after two
nights of hacking the code to try to figure this out:

Each of the colors takes a property called "highlight" that is the
name of another color in colors.yaml.  That color's fg/bg indicate how
it should display when "highlighted" by the cursor.  For example:

:index_new:
  :highlight: index_new_highlight
  :attrs:
  - bold
  :fg: red
  :bg: default
:index_new_highlight:
  :fg: red
  :bg: cyan

In this example, new mails are red in the thread view on a white
background (for me) and when highlighted by the cursor they are red on
a cyan background.

This works with the code currently in the repository but not with
.10.2, the default version on Ubuntu.  Since .10.2 also doesn't use
ncursesw by default, I'm going to switch the repository pretty soon.
Or maybe a few versions back to avoid any Maildir unpleasantness...
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


  reply	other threads:[~2010-07-27  2:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22 15:12 David Rysdam
2010-07-27  2:02 ` David Rysdam [this message]
2010-08-05 15:21   ` arstoien
     [not found]     ` <1264760080.41.0.139357784083.issue58@masanjin.net>
2010-08-05 16:27       ` Gregor Hoffleit
     [not found]         ` <1281029479-sup-2414@localhost>
2010-08-05 17:34           ` arstoien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1280195847-sup-7116@hero \
    --to=david@rysdam.org \
    --cc=sup-talk@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox