From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.224.197 with SMTP id ip5cs47388icb; Thu, 17 Feb 2011 06:45:59 -0800 (PST) Received: by 10.142.226.18 with SMTP id y18mr1521168wfg.320.1297953959163; Thu, 17 Feb 2011 06:45:59 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id t9si1291858vch.162.2011.02.17.06.45.57; Thu, 17 Feb 2011 06:45:58 -0800 (PST) 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 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id C007C3C804B; Thu, 17 Feb 2011 09:45:57 -0500 (EST) Received: from plecavalier.com (thelittlecloset.ca [64.40.149.83]) by rubyforge.org (Postfix) with ESMTP id A3A7718582E2 for ; Thu, 17 Feb 2011 09:43:02 -0500 (EST) Received: (qmail 22033 invoked from network); 17 Feb 2011 08:43:01 -0600 Received: from ottawa-hs-64-26-175-141.s-ip.magma.ca (HELO localhost) (64.26.175.141) by thelittlecloset.ca with (DHE-RSA-AES128-SHA encrypted) SMTP; 17 Feb 2011 08:43:00 -0600 From: Philippe LeCavalier To: sup-talk In-reply-to: <1297951012-sup-2455@Otokar> References: <1297887707-sup-809@plc.intranet.plecavalier.com> <1297934366-sup-3072@blake> <1297936718-sup-9587@pruts.nl> <1297941721-sup-6759@blake> <1297951012-sup-2455@Otokar> Date: Thu, 17 Feb 2011 09:42:59 -0500 Message-Id: <1297953660-sup-4629@plc.intranet.plecavalier.com> User-Agent: Sup/0.12.1 Subject: Re: [sup-talk] Body preview separator inbox-mode 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 Excerpts from Matthieu Rakotojaona's message of Thu Feb 17 08:58:40 -0500 2011: > Excerpts from Shadowfirebird's message of 2011-02-17 12:24:42 +0100: > > > Consider defining a different color for :snippet in .sup/colors.yaml. I > > > use > > > > > > :snippet: > > > :bg: default > > > :fg: black > > > :attrs: > > > - bold > > > > > > which gives dark gray on black, works ok for me. > > > > To clarify, it appears you can copy the above into a new file .sup/colors.yaml and restart sup -- and it works brilliantly. Ta. > > Hello, > > Strange, I did as you say and I have an error : > > > NoMethodError from thread: main > undefined method `[]' for nil:NilClass > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/colormap.rb:190:in `rescue in block in populate_colormap' > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/colormap.rb:187:in `block in populate_colormap' > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/colormap.rb:186:in `each_pair' > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/colormap.rb:186:in `populate_colormap' > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup:182:in `' > /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup:69:in `' > /usr/bin/sup:19:in `load' > /usr/bin/sup:19:in `
' > > yet I have the correct .sup/colors.yaml : > > $ cat .sup/color.yaml > :snippet: > :bg: default > :fg: black > :attrs: > - bold Did you double check to ensure you don't already have that entry? I did. The only thing I added was the '- bold' > > Do you know where the problem might come from ? > > Thanks, -- Thanks, Phil _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk