Gnus development mailing list
 help / color / mirror / Atom feed
From: Joakim Hove <joakim.hove@phys.ntnu.no>
Subject: Run an arbitrary function on message after splitting
Date: 20 Apr 2001 22:44:36 +0200	[thread overview]
Message-ID: <k0nelunfgi3.fsf@metropolis.phys.ntnu.no> (raw)

Hello,

I am using Gnus to read my mail. Normally gnus is running continuously
for weeks at a time, and mail is fetched automagically from my pop
account after 15 minutes of idle time (or something like that).

Would it be possible to make gnus run a particular function, with
the newly arrived messages as argument. For instance every time a new
message has been dumped into my "jokes" folder I would like gnus to
forward the message to some friends, and every time I get a mail from
my mother in law I would like gnus to mark the message as read, and
auto-reply that I will be out of office for the next few months.

Of course I understand that the particular functions I want are not
ready made, but what I was wondering was how to invoke (hook-up) a set
of such functions. Or if it is at all feasible.

Regards - Joakim Hove


-- 
==== Joakim Hove      www.phys.ntnu.no/~hove/   =======================
|| Institutt for fysikk  (735) 93637 / E3-166  |  Skøyensgate 10D    ||
|| N - 7491 Trondheim    hove@phys.ntnu.no     |  N - 7030 Trondheim ||
================================================= 73 93 31 68 =========



             reply	other threads:[~2001-04-20 20:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-20 20:44 Joakim Hove [this message]
2001-04-20 21:07 ` Kai Großjohann
2001-04-20 21:15   ` Joakim Hove
2001-04-20 21:17   ` Joakim Hove
2001-04-21 13:48     ` Kai Großjohann
2001-04-25 22:21       ` Simon Josefsson

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=k0nelunfgi3.fsf@metropolis.phys.ntnu.no \
    --to=joakim.hove@phys.ntnu.no \
    /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;
as well as URLs for NNTP newsgroup(s).