Gnus development mailing list
 help / color / mirror / Atom feed
From: Paul Franklin <paul@cs.washington.edu>
Subject: Re: autoreply function?
Date: 21 Jul 1998 21:35:19 -0700	[thread overview]
Message-ID: <r9qd8ay33lk.fsf@hirame.cs.washington.edu> (raw)
In-Reply-To: Stefan Waldherr's message of "Tue, 21 Jul 1998 18:46:18 GMT"

Well, I do something sort of weird to achieve the same effect:

(defun pdf-gnus-group-hack-cwd ()
  "Change the current directory, so POP mail gets checked."
  (setq default-directory nnml-directory))
(add-hook 'gnus-group-mode-hook 'pdf-gnus-group-hack-cwd)

With this in place, I start with the keystrokes
	R C-x i
and then I use filename completion to enter the response I want.

You should probably not use nnml-directory, and you might actually
want to set it in a message-mode hook.  (Setting it here will only
set it for message buffers coming from Gnus.  I think.)  Another
idea is
  (setq default-directory (concat gnus-directory "tmpl/"))
(I was setting the current directory for different reasons, and
stumbled upon this "feature", which I originally considered a side
effect.)

--Paul

>>>>> Stefan Waldherr writes:

 > 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. This feature would really be cool if you have to reply
 > more or less the same stuff to a number of incoming mails (not at
 > the same time, of course).


  parent reply	other threads:[~1998-07-22  4:35 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 [this message]
1998-07-24  8:29 ` SL Baur

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=r9qd8ay33lk.fsf@hirame.cs.washington.edu \
    --to=paul@cs.washington.edu \
    /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).