Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Body preview separator inbox-mode
@ 2011-02-16 20:23 Philippe LeCavalier
  2011-02-17  9:20 ` Shadowfirebird
  0 siblings, 1 reply; 9+ messages in thread
From: Philippe LeCavalier @ 2011-02-16 20:23 UTC (permalink / raw)
  To: sup-talk

Just an idea...

Could we have a body preview separator(| or , maybe?). I find it less
efficient when visually browsing the inbox-mode to not have any kind of
separator between each thread/response.

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sup-talk] Body preview separator inbox-mode
  2011-02-16 20:23 [sup-talk] Body preview separator inbox-mode Philippe LeCavalier
@ 2011-02-17  9:20 ` Shadowfirebird
  2011-02-17  9:59   ` Ico Doornekamp
  0 siblings, 1 reply; 9+ messages in thread
From: Shadowfirebird @ 2011-02-17  9:20 UTC (permalink / raw)
  To: sup-talk

> Could we have a body preview separator(| or , maybe?). I find it less
> efficient when visually browsing the inbox-mode to not have any kind of
> separator between each thread/response.

+1.   I can't tell what's subject and what's message body 'hint'.

-- 
A boss with no humor is like a job that's no fun.
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sup-talk] Body preview separator inbox-mode
  2011-02-17  9:20 ` Shadowfirebird
@ 2011-02-17  9:59   ` Ico Doornekamp
  2011-02-17 11:24     ` Shadowfirebird
  0 siblings, 1 reply; 9+ messages in thread
From: Ico Doornekamp @ 2011-02-17  9:59 UTC (permalink / raw)
  To: sup-talk

* On Thu Feb 17 10:20:10 +0100 2011, Shadowfirebird wrote:
 
> > Could we have a body preview separator(| or , maybe?). I find it less
> > efficient when visually browsing the inbox-mode to not have any kind of
> > separator between each thread/response.
> 
> +1.   I can't tell what's subject and what's message body 'hint'.

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.


-- 
:wq
^X^Cy^K^X^C^C^C^C
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sup-talk] Body preview separator inbox-mode
  2011-02-17  9:59   ` Ico Doornekamp
@ 2011-02-17 11:24     ` Shadowfirebird
  2011-02-17 13:58       ` Matthieu Rakotojaona
  0 siblings, 1 reply; 9+ messages in thread
From: Shadowfirebird @ 2011-02-17 11:24 UTC (permalink / raw)
  To: sup-talk

> 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.

-- 
System restarting, wait...
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sup-talk] Body preview separator inbox-mode
  2011-02-17 11:24     ` Shadowfirebird
@ 2011-02-17 13:58       ` Matthieu Rakotojaona
  2011-02-17 14:42         ` Philippe LeCavalier
  2011-02-17 16:44         ` Gregor Hoffleit
  0 siblings, 2 replies; 9+ messages in thread
From: Matthieu Rakotojaona @ 2011-02-17 13:58 UTC (permalink / raw)
  To: sup-talk

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sup-talk] Body preview separator inbox-mode
  2011-02-17 13:58       ` Matthieu Rakotojaona
@ 2011-02-17 14:42         ` Philippe LeCavalier
  2011-02-17 16:44         ` Gregor Hoffleit
  1 sibling, 0 replies; 9+ messages in thread
From: Philippe LeCavalier @ 2011-02-17 14:42 UTC (permalink / raw)
  To: sup-talk

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 `<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
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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sup-talk] Body preview separator inbox-mode
  2011-02-17 13:58       ` Matthieu Rakotojaona
  2011-02-17 14:42         ` Philippe LeCavalier
@ 2011-02-17 16:44         ` Gregor Hoffleit
  2011-02-17 17:45           ` Ico Doornekamp
  1 sibling, 1 reply; 9+ messages in thread
From: Gregor Hoffleit @ 2011-02-17 16:44 UTC (permalink / raw)
  To: sup-talk

* Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com> [Do Feb 17 14:58:40 +0100 2011]
> $ cat .sup/color.yaml
> :snippet:
> :bg: default
> :fg: black
> :attrs:
> - bold

Afaik, YAML (http://www.yaml.org/spec/1.2/spec.html) depends on the
indentation for determination of the structure. I would have expected
the above snippet definition to look like this:

    :snippet:
      :bg: default
      :fg: black
      :attrs:
      - bold


Regards,
    Gregor
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sup-talk] Body preview separator inbox-mode
  2011-02-17 16:44         ` Gregor Hoffleit
@ 2011-02-17 17:45           ` Ico Doornekamp
  2011-02-17 18:18             ` Matthieu Rakotojaona
  0 siblings, 1 reply; 9+ messages in thread
From: Ico Doornekamp @ 2011-02-17 17:45 UTC (permalink / raw)
  To: sup-talk

* On Thu Feb 17 17:44:17 +0100 2011, Gregor Hoffleit wrote:
 
> Afaik, YAML (http://www.yaml.org/spec/1.2/spec.html) depends on the
> indentation for determination of the structure. I would have expected
> the above snippet definition to look like this:
> 
>     :snippet:
>       :bg: default
>       :fg: black
>       :attrs:
>       - bold

Very true, apologies for the cut&paste failure


-- 
:wq
^X^Cy^K^X^C^C^C^C
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [sup-talk] Body preview separator inbox-mode
  2011-02-17 17:45           ` Ico Doornekamp
@ 2011-02-17 18:18             ` Matthieu Rakotojaona
  0 siblings, 0 replies; 9+ messages in thread
From: Matthieu Rakotojaona @ 2011-02-17 18:18 UTC (permalink / raw)
  To: sup-talk

Excerpts from Ico Doornekamp's message of 2011-02-17 18:45:15 +0100:
> * On Thu Feb 17 17:44:17 +0100 2011, Gregor Hoffleit wrote:
>  
> > Afaik, YAML (http://www.yaml.org/spec/1.2/spec.html) depends on the
> > indentation for determination of the structure. I would have expected
> > the above snippet definition to look like this:
> > 
> >     :snippet:
> >       :bg: default
> >       :fg: black
> >       :attrs:
> >       - bold
> 
> Very true, apologies for the cut&paste failure

It's working now, many thanks !
-- 
Matthieu RAKOTOJAONA
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-02-17 18:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-16 20:23 [sup-talk] Body preview separator inbox-mode 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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox