"Excerpts from <person''s> message of Tue Jul 13 10:46:51 -0400" Is the format of that a config option that isn''t documented or is it hardcoded?
Excerpts from David Rysdam''s message of Wed Jul 14 10:24:01 -0300 2010:> "Excerpts from <person''s> message of Tue Jul 13 10:46:51 -0400" > > Is the format of that a config option that isn''t documented or is it > hardcoded?$ grep -Rn Excerpts * modes/edit-message-mode.rb:476: @body.join("\n") =~ /(\S+)\s*Excerpts from.*\n(>.*\n)+\s*\Z/ modes/reply-mode.rb:14:Generates an attribution ("Excerpts from Joe Bloggs''s message of Fri Jan 11 09:54:32 -0500 2008:"). modes/reply-mode.rb:187: "Excerpts from #{@m.from.name}''s message of #{@m.date}:" Looks hardcoded to me. Since I don''t really understand ruby, this is a wild guess. Mariano
Excerpts from David Rysdam''s message of Wed Jul 14 09:24:01 -0400 2010:> Is the format of that a config option that isn''t documented or is it > hardcoded?What you''re looking for is the attribution hook. Run sup with -l to see the list of available hooks and the location where sup expects to find the file. Additionally, it tells you ''what you get'' and ''what to give back.'' In this case, you have a message variable available that represents the message you''re replying to and you need to return a string. HTH. -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302
Excerpts from Ben Walton''s message of Wed Jul 14 09:45:00 -0400 2010:> Excerpts from David Rysdam''s message of Wed Jul 14 09:24:01 -0400 2010: > > > Is the format of that a config option that isn''t documented or is it > > hardcoded? > > What you''re looking for is the attribution hook. Run sup with -l to > see the list of available hooks and the location where sup expects to > find the file. Additionally, it tells you ''what you get'' and ''what to > give back.''Whoa, that -l thing is an awesome feature. One thanks for the attribution hook and one thanks for the -l feature.