From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.204.155.88 with SMTP id r24cs315514bkw; Thu, 5 Aug 2010 08:24:00 -0700 (PDT) Received: by 10.224.54.134 with SMTP id q6mr4980774qag.377.1281021839831; Thu, 05 Aug 2010 08:23:59 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id r20si600784qcs.202.2010.08.05.08.23.59; Thu, 05 Aug 2010 08:23:59 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@googlemail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 44BFB185839F; Thu, 5 Aug 2010 11:23:59 -0400 (EDT) Received: from mail-fx0-f50.google.com (mail-fx0-f50.google.com [209.85.161.50]) by rubyforge.org (Postfix) with ESMTP id 6785D1858112 for ; Thu, 5 Aug 2010 11:22:11 -0400 (EDT) Received: by fxm9 with SMTP id 9so3265039fxm.23 for ; Thu, 05 Aug 2010 08:22:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:from:to:subject :in-reply-to:references:date:message-id:user-agent :content-transfer-encoding; bh=sf002YHDSthZsL6Z8N+iV06FMXA+4p8EZspf3gJT0KA=; b=M9BXEtwiqbN3+qGIK7Z+NxK4nlHrnzqLpk+P/XUSraIYUO/Nlv16Bt8I0BdqsjbhQd KSefh7VRYyZRNQsAQsKMnizsFXVi1Rj0ed8rFMQUqmh9ajYLgzfp3qiXhgT7svy97cA3 Bl8gB52tJ4i/2wriIfMDhpMlbObpHcSK7Nw9s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:from:to:subject:in-reply-to:references:date:message-id :user-agent:content-transfer-encoding; b=cEw89UUhYTAOH7DwQnCqgZGy1jd9rG/MgEy045KRHTxBUsxGwS0iYNVb9ns7XakpKe tzjf51qk1e5HPEz7u9KMYuM9co59JPmQlYQtmxdp1okbyAnsPcPNlJUMTHikMTLyEWjU zz39i+cVuPav+6xpvLM0lnDLdh1t1vJz9Nykk= Received: by 10.223.119.131 with SMTP id z3mr10885392faq.61.1281021730758; Thu, 05 Aug 2010 08:22:10 -0700 (PDT) Received: from localhost (p4FE5DDAC.dip.t-dialin.net [79.229.221.172]) by mx.google.com with ESMTPS id d15sm625676faa.3.2010.08.05.08.22.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 05 Aug 2010 08:22:10 -0700 (PDT) From: arstoien To: sup-talk In-reply-to: <1280195847-sup-7116@hero> References: <1279811550-sup-7833@hero> <1280195847-sup-7116@hero> Date: Thu, 05 Aug 2010 17:21:58 +0200 Message-Id: <1281021633-sup-7274@localhost> User-Agent: Sup/0.11 Subject: Re: [sup-talk] color customization X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Hi David, thanks for this, I wanted to change the color of horizontal bar for quite a while. It worked fine for me except in two places: * the space between the date and the sender name in the index view (where the star is when a message is starred) is still highlighted in green, but only when the message is _not_ starred. When the message is starred it is highlighted correctly. * when I view a message thread the bar is still in the wrong color when it is on regular body text. When it is on a quote it uses the correct colour. I added the :highlight: property to all color entries there are. Do you have the same issue or does it work for you? Excerpts from David Rysdam's message of 2010-07-27 04:02:27 +0200: > 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