[comp.emacs] RMAIL reply-to-sender-only

mly@PREP.AI.MIT.EDU (Richard Mlynarik) (10/15/87)

This, or something closely resembling it, should work as part of one's
emacs init file:

(defun rmail-reply-to-sender-only ()
  "Reply to the sender of the current message.
Does not address the reply to any CC recipients.
While composing the reply, use \\[mail-yank-original] to yank the
original message into it."
  (interactive)
  (rmail-reply t))

(setq rmail-mode-hook (function (lambda ()
                        ;; case-sensitivity for pointy-headed un*x weenies
                        (local-set-key "r" 'rmail-reply-to-sender-only)
                        (local-set-key "R" 'rmail-reply))))

[To avoid other sorts of embarrassment (of the kind which should be
experienced by people who CC info-gnu-emacs, for example) have your
site's customisation file include mailing lists to which one should
not normally automatically reply in `rmail-default-dont-reply-to-names'.]