Subject: Re: [sup-talk] mis-identified signature block in message body

From: Steven Lawrance <[email-masked]>
Date: Mon, 10 Oct 2011 14:38:49 +1000

Excerpts from Jim Cheetham's message of Mon Oct 10 13:36:45 +1000 2011:
> I have a set of emails that contain a chunk of text at the end that
> seems very much like a signature block :- it is in fact a formatted
> list of things from a DB query.
> 
> Is there a hook that would allow me to intercept the message display,
> and make my own decision about these?

There's no hook but FWIW I have run into the same issue but with
Bugzilla mails.  I just tweaked the matching in message.rb to check
for a "real" signature marker after a match:

http://gitorious.org/~stl/sup/stl-sup/commit/48b397f2a82d32992eb6d48e845762200c4c5fd0

It's not the perfect solution, but it works for me.

cheers,
-- 
Steven Lawrance
[email-masked]
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Jim Cheetham <[email-masked]>
Date: Mon, 10 Oct 2011 16:36:45 +1300

sup identified this as a signature, and displays it folded by default.
It isn't very difficult to just press 'o' to display the content, but
it would be nicer if I could prevent it from happening in the first
place.

-jim