Gnus development mailing list
 help / color / mirror / Atom feed
From: david.goldberg6@verizon.net (Dave Goldberg)
To: ding@gnus.org
Subject: Re: Something like gnus-posting-styles for new mails?
Date: Sun, 18 Mar 2012 20:34:55 -0400	[thread overview]
Message-ID: <84y5qxl974.fsf@davestoy.home> (raw)
In-Reply-To: <yeg8vj32o2f.fsf@carro.ll.iac.es> (Angel de Vicente's message of	"Wed, 14 Mar 2012 15:35:04 +0000")


> I have modified gnus-posting-styles so that I will use an alternative
> mail address when replying to a certain mailing list and it works fine,
> but I would like that when I compose a new mail to that list the From
> header is also "automagically" modified to that alternative mail
> address. I didn't find anything obvious in the gnus-posting-styles
> section in the manual (or surroundings). Is there an easy way to
> acomplish that?

Two possibilities I'm aware of: develop a function for message-send-hook that modifies (more likely replaces) the From address based the To; or decide to only generate messages to that list from within a group you've set up for it.  In that case I believe you can use the posting-style parameter to set up the From address however you like.

-- 
Dave Goldberg
david.goldberg6@verizon.net



      parent reply	other threads:[~2012-03-19  0:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-14 15:35 Angel de Vicente
2012-03-14 15:39 ` Tassilo Horn
2012-03-14 15:58   ` Angel de Vicente
2012-03-14 16:06     ` Greg Troxel
2012-03-14 16:25       ` Angel de Vicente
2012-03-14 15:41 ` Greg Troxel
2012-03-14 15:59   ` Angel de Vicente
2012-03-15  3:56 ` XeCycle
2012-03-19  0:17 ` 황병희
2012-03-19  0:34 ` Dave Goldberg [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=84y5qxl974.fsf@davestoy.home \
    --to=david.goldberg6@verizon.net \
    --cc=ding@gnus.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).