[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] Body preview separator inbox-mode



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