Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Body preview separator inbox-mode
Date: Thu, 17 Feb 2011 14:58:40 +0100	[thread overview]
Message-ID: <1297951012-sup-2455@Otokar> (raw)
In-Reply-To: <1297941721-sup-6759@blake>

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 `<module:Redwood>'
/usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup:69:in `<top (required)>'
/usr/bin/sup:19:in `load'
/usr/bin/sup:19:in `<main>'

yet I have the correct .sup/colors.yaml :

$ cat .sup/color.yaml
:snippet:
:bg: default
:fg: black
:attrs:
- bold

Do you know where the problem might come from ?

Thanks,
-- 
Matthieu RAKOTOJAONA
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


  reply	other threads:[~2011-02-17 14:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-16 20:23 Philippe LeCavalier
2011-02-17  9:20 ` Shadowfirebird
2011-02-17  9:59   ` Ico Doornekamp
2011-02-17 11:24     ` Shadowfirebird
2011-02-17 13:58       ` Matthieu Rakotojaona [this message]
2011-02-17 14:42         ` Philippe LeCavalier
2011-02-17 16:44         ` Gregor Hoffleit
2011-02-17 17:45           ` Ico Doornekamp
2011-02-17 18:18             ` Matthieu Rakotojaona

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=1297951012-sup-2455@Otokar \
    --to=matthieu.rakotojaona@gmail.com \
    --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