Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: how to change "from" address depending on which adress im replying to?
Date: Wed, 26 Oct 2005 21:50:31 +0200	[thread overview]
Message-ID: <v9sluo83co.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m37jc1lf4a.fsf@kurono.home>

On Tue, Oct 25 2005, Joakim Verona wrote:

> How do I  change the "from" address depending on which adress I'm
> replying to?

Put something like this in `gnus-posting-styles':

   ((string-match "joakim"
		  (with-current-buffer gnus-article-buffer
		    (message-fetch-field "From")))
    (address "address-for-replies-to-joakim"))

Untested and without proper error handling.  (gnus-article-buffer
might be nil or the buffer might not exist)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




  reply	other threads:[~2005-10-26 19:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-25 16:45 Joakim Verona
2005-10-26 19:50 ` Reiner Steib [this message]
2005-10-27 12:45 ` Xavier Maillard

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=v9sluo83co.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).