Gnus development mailing list
 help / color / mirror / Atom feed
From: SL Baur <steve@xemacs.org>
Subject: Re: autoreply function?
Date: 24 Jul 1998 01:29:30 -0700	[thread overview]
Message-ID: <m2pvev3b4l.fsf@altair.xemacs.org> (raw)
In-Reply-To: Stefan Waldherr's message of "21 Jul 1998 20:42:41 +0200"

Stefan Waldherr <swa@cs.cmu.edu> writes in ding@gnus.org:

> anyone knows of an autoreply function for gnus? I envision something
> where you read an incoming mail, hit one or two keys and gnus will
> cite the original, append a pre-defined reply and send it.

I have used the following in the past ...

(defun message-patch-ack ()
  "Semi-Automated Patch Acknowledgement."
  (interactive)
  (message-remove-header "from")
  (message-add-header "From: Patch Acknowledgement <steve@xemacs.org>"
                      "X-Emacs-Patch-Ack: yes")

  (message-goto-body)
  (if emacs-beta-version
      (insert "Thanks for the patches, they've been applied to XEmacs-"
              (format "%d.%d-beta%d"
                      emacs-major-version
                      emacs-minor-version
                      emacs-beta-version)
              ".\n\n")
    (insert "Thanks for the patches, they've been applied to XEmacs-"
            (format "%d.%d-pre"
                    emacs-major-version
                    emacs-minor-version)
            ".\n\n")))

(add-hook 'message-load-hook
          (define-key message-mode-map [(control ?c) ?p] 'message-patch-ack))


      parent reply	other threads:[~1998-07-24  8:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-21 18:42 Stefan Waldherr
1998-07-21 19:25 ` David S. Goldberg
1998-07-22  4:35 ` Paul Franklin
1998-07-24  8:29 ` SL Baur [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=m2pvev3b4l.fsf@altair.xemacs.org \
    --to=steve@xemacs.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;
as well as URLs for NNTP newsgroup(s).