[mew-int 3150] Re: customizing behavior of reply

Tatsuya Kinoshita <[email protected]> Thu, 06 Jun 2013 23:25:14 +0900 (JST)
Newsgroups gmane.mail.mew.general
Message-ID <20130606.232514.1436519292652951074.tats%[email protected]>
On June 6, 2013, [mew-int 3149], jpp (at fc.up.pt) wrote:
> I would like to set up mew so that when I reply to a message, the
> 'From:' field in the draft is automatically set to the recipient
> address of the original message.
[...]
> I know that I can do it manually with 'cases', but I keep forgetting
> changing, and often send messages with wrong addresses.

Set mew-case-guess-when-replied and mew-case-guess-when-replied-alist,
to automatically set the cases when a draft is prepared by replying.

(setq mew-case-guess-when-replied t)
(setq mew-case-guess-when-replied-alist
      '(("\\(From\\|To\\|Cc\\):"
	 ("\\<jpp@a\\.mail\\>" . "case-for-jpp")
	 ("\\<myself@other\\.mail\\>" . "case-for-myself")
	 )))

Thanks,
-- 
Tatsuya Kinoshita