* [sup-talk] mis-identified signature block in message body
@ 2011-10-10 3:36 Jim Cheetham
2011-10-10 4:38 ` Steven Lawrance
0 siblings, 1 reply; 2+ messages in thread
From: Jim Cheetham @ 2011-10-10 3:36 UTC (permalink / raw)
To: sup-talk
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.
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.
Is there a hook that would allow me to intercept the message display,
and make my own decision about these?
-jim
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [sup-talk] mis-identified signature block in message body
2011-10-10 3:36 [sup-talk] mis-identified signature block in message body Jim Cheetham
@ 2011-10-10 4:38 ` Steven Lawrance
0 siblings, 0 replies; 2+ messages in thread
From: Steven Lawrance @ 2011-10-10 4:38 UTC (permalink / raw)
To: sup-talk
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
stl@koffein.net
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-10 5:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-10 3:36 [sup-talk] mis-identified signature block in message body Jim Cheetham
2011-10-10 4:38 ` Steven Lawrance
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox