From: Ben Walton <bwalton@artsci.utoronto.ca>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Adding string to 'missing attachment detection'
Date: Wed, 05 Oct 2011 20:00:00 -0400 [thread overview]
Message-ID: <1317859138-sup-1659@pinkfloyd.chass.utoronto.ca> (raw)
In-Reply-To: <1317841994-sup-3161@eris>
Excerpts from Philipp's message of Wed Oct 05 15:18:49 -0400 2011:
Hi Philipp,
> All I'd need is a way to add the word 'Anhang' to that mechanism. Can
> you tell me where to do this? I tried a web search and looked through
> some source files but couldn't find the right place so far.
You want to write a 'mentions-attachments' hook. You'll get the
variables header, and body. Scan the body for whatever terms you
want/need and return true/false as desired.
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
next prev parent reply other threads:[~2011-10-06 6:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-05 19:18 Philipp
2011-10-06 0:00 ` Ben Walton [this message]
2011-10-06 7:04 ` Philipp Überbacher
2011-10-06 12:17 ` Tero Tilus
2011-10-06 13:33 ` Philipp Überbacher
2011-10-06 12:55 ` Ben Walton
2011-10-06 13:34 ` Philipp Überbacher
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=1317859138-sup-1659@pinkfloyd.chass.utoronto.ca \
--to=bwalton@artsci.utoronto.ca \
--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