From: "Philipp Überbacher" <hollunder@lavabit.com>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Adding string to 'missing attachment detection'
Date: Thu, 06 Oct 2011 15:33:29 +0200 [thread overview]
Message-ID: <1317907930-sup-3325@eris> (raw)
In-Reply-To: <1317903242-sup-784@tilus.net>
Excerpts from Tero Tilus's message of 2011-10-06 14:17:30 +0200:
> Philipp Überbacher, 2011-10-06 10:04:
> > the time to dig deep enough into ruby and sup either. I see that
> > http://sup.rubyforge.org/wiki/wiki.pl?Hooks lists such a hook but sadly
> > no example.
>
> Oh my! Need to fix it. My ~/.sup/hooks/mentions-attachments looks like
>
> body.any? { |l| l =~ /^[^>]/ && l =~ /\b(attach|liite|liittee|ohessa|oheise|oheist)[^ ]*\b/i }
>
> Not pretty but works.
Thanks, this works. I don't understand what this line is doing but it
looks very similar in the source and this line is simply easier to hack
for me, so I go with this solution.
Thanks for sharing,
Philipp
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
next prev parent reply other threads:[~2011-10-06 13: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
2011-10-06 7:04 ` Philipp Überbacher
2011-10-06 12:17 ` Tero Tilus
2011-10-06 13:33 ` Philipp Überbacher [this message]
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=1317907930-sup-3325@eris \
--to=hollunder@lavabit.com \
--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