Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Steven Lawrance <stl@koffein.net>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] mis-identified signature block in message body
Date: Mon, 10 Oct 2011 14:38:49 +1000	[thread overview]
Message-ID: <1318221253-sup-6406@soma.koffein.net> (raw)
In-Reply-To: <CA+2knquF3sVRcetVB7OuQaCURPMLw8_WveFx-kDYBpfJti_9Lg@mail.gmail.com>

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


      reply	other threads:[~2011-10-10  5:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10  3:36 Jim Cheetham
2011-10-10  4:38 ` Steven Lawrance [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1318221253-sup-6406@soma.koffein.net \
    --to=stl@koffein.net \
    --cc=sup-talk@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox