From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.204.155.88 with SMTP id r24cs242250bkw; Mon, 26 Jul 2010 19:43:17 -0700 (PDT) Received: by 10.231.31.202 with SMTP id z10mr9637653ibc.85.1280198596890; Mon, 26 Jul 2010 19:43:16 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id g8si10535087ibb.12.2010.07.26.19.43.15; Mon, 26 Jul 2010 19:43:15 -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; DomainKey-Status: no key 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; domainkeys=neutral (no key) header.From=david@rysdam.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id D4DE21858376; Mon, 26 Jul 2010 22:43:14 -0400 (EDT) Received: from oproxy2-pub.bluehost.com (oproxy2-pub.bluehost.com [67.222.39.60]) by rubyforge.org (Postfix) with SMTP id 974D61858363 for ; Mon, 26 Jul 2010 22:02:30 -0400 (EDT) Received: (qmail 16449 invoked by uid 0); 27 Jul 2010 02:02:29 -0000 Received: from unknown (HELO host378.hostmonster.com) (66.147.240.178) by oproxy2.bluehost.com with SMTP; 27 Jul 2010 02:02:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=rysdam.org; h=Received:Content-Type:Subject:From:To:In-reply-to:References:Date:Message-Id:User-Agent:Content-Transfer-Encoding:X-Identified-User; b=Ly1WpyaTjwH0H6ER7H29MuCtDoFRFLzuW8f0UfpKm1WxQuY9lb2C/P83/TeNEH0qbst9J/+qO8T0OaSzhHnAdfZONf14g5rgA5FcnMd9L+c0lJgzVUu4+6RIZB4HijBf; Received: from pool-71-161-97-45.cncdnh.east.myfairpoint.net ([71.161.97.45] helo=rysdam.org) by host378.hostmonster.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1OdZUy-0005hh-PW for sup-talk@rubyforge.org; Mon, 26 Jul 2010 20:02:29 -0600 From: David Rysdam To: sup-talk In-reply-to: <1279811550-sup-7833@hero> References: <1279811550-sup-7833@hero> Date: Mon, 26 Jul 2010 22:02:27 -0400 Message-Id: <1280195847-sup-7116@hero> User-Agent: Sup/0.10.2 X-Identified-User: {1333:host378.hostmonster.com:kristenv:rysdam.org} {sentby:smtp auth 71.161.97.45 authed with david@rysdam.org} 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 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