Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] change automagicaly inserted line in reply messages
@ 2010-12-17 13:36 Ruthard Baudach
  2010-12-17 13:54 ` Tero Tilus
  2010-12-17 13:54 ` Ben Walton
  0 siblings, 2 replies; 5+ messages in thread
From: Ruthard Baudach @ 2010-12-17 13:36 UTC (permalink / raw)
  To: sup-talk


If I reply to a message sup automagicaly inserts the original message
and a headline "excerpts from..."

Is it possible to costumize this headline?

Ruthard Baudach
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


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

* Re: [sup-talk] change automagicaly inserted line in reply messages
  2010-12-17 13:36 [sup-talk] change automagicaly inserted line in reply messages Ruthard Baudach
@ 2010-12-17 13:54 ` Tero Tilus
  2010-12-20 11:07   ` Wael Nasreddine
  2010-12-17 13:54 ` Ben Walton
  1 sibling, 1 reply; 5+ messages in thread
From: Tero Tilus @ 2010-12-17 13:54 UTC (permalink / raw)
  To: sup-talk

Ruthard Baudach, 2010-12-17 15:36:
> Is it possible to costumize this headline?

Customize?  Yes.  Write ~/.sup/hooks/attribution.rb to build
attribution line to your taste.  Mine looks like

== ~/.sup/hooks/attribution.rb ==
message.from.name + ', ' + message.date.strftime('%Y-%m-%d %H:%M') + ':'
==

--
Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


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

* Re: [sup-talk] change automagicaly inserted line in reply messages
  2010-12-17 13:36 [sup-talk] change automagicaly inserted line in reply messages Ruthard Baudach
  2010-12-17 13:54 ` Tero Tilus
@ 2010-12-17 13:54 ` Ben Walton
  1 sibling, 0 replies; 5+ messages in thread
From: Ben Walton @ 2010-12-17 13:54 UTC (permalink / raw)
  To: sup-talk

Excerpts from Ruthard Baudach's message of Fri Dec 17 08:36:52 -0500 2010:

Hi Ruthard,

> Is it possible to costumize this headline?

You're looking for the attribution hook.

http://sup.rubyforge.org/wiki/wiki.pl?Hooks

HTH.
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

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


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

* Re: [sup-talk] change automagicaly inserted line in reply messages
  2010-12-17 13:54 ` Tero Tilus
@ 2010-12-20 11:07   ` Wael Nasreddine
  2010-12-20 11:28     ` Tero Tilus
  0 siblings, 1 reply; 5+ messages in thread
From: Wael Nasreddine @ 2010-12-20 11:07 UTC (permalink / raw)
  To: sup-talk

This one time, at SUP Camp, Tero Tilus said, On 2010-12-17 14:54:
> Ruthard Baudach, 2010-12-17 15:36:
> > Is it possible to costumize this headline?

> Customize?  Yes.  Write ~/.sup/hooks/attribution.rb to build
> attribution line to your taste.  Mine looks like

> == ~/.sup/hooks/attribution.rb ==
> message.from.name + ', ' + message.date.strftime('%Y-%m-%d %H:%M') + ':'
> ==

Very cool tip, Read mine lol

there's nothing beside the name of this hook on the
wiki so it was hard to figure it out on my own..
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          Waël Nasreddine
website    http://wael.nasreddine.com
Blog       http://emxyptlk.com
TechnoGate http://technogate.fr
mobile     06.32.94.70.13
landline   09.70.444.236
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

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

* Re: [sup-talk] change automagicaly inserted line in reply messages
  2010-12-20 11:07   ` Wael Nasreddine
@ 2010-12-20 11:28     ` Tero Tilus
  0 siblings, 0 replies; 5+ messages in thread
From: Tero Tilus @ 2010-12-20 11:28 UTC (permalink / raw)
  To: sup-talk

Wael Nasreddine, 2010-12-20 13:07:
> there's nothing beside the name of this hook on the
> wiki so it was hard to figure it out on my own..

As the wiki-page says right at the beginning

  To see documentation on the available hooks, just run "sup -l".

;)

--
Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


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

end of thread, other threads:[~2010-12-20 11:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-17 13:36 [sup-talk] change automagicaly inserted line in reply messages Ruthard Baudach
2010-12-17 13:54 ` Tero Tilus
2010-12-20 11:07   ` Wael Nasreddine
2010-12-20 11:28     ` Tero Tilus
2010-12-17 13:54 ` Ben Walton

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