Gnus development mailing list
 help / color / mirror / Atom feed
From: Steve Youngs <steve@youngs.au.com>
Cc: jmarant@nerim.net (Jérôme Marant)
Subject: Re: Posting styles and from field
Date: Fri, 03 Sep 2004 10:59:09 +1000	[thread overview]
Message-ID: <microsoft-free.877jrcuq02.fsf@youngs.au.com> (raw)
In-Reply-To: <87vfew5sgh.fsf@marant.org> (jmarant@nerim.net's message of "Thu, 02 Sep 2004 22:25:18 +0200")

[-- Attachment #1: Type: text/plain, Size: 1198 bytes --]

* jmarant  <jmarant@nerim.net> writes:

  > I use gnus-posting-styles in order to use different
  > addresses w.r.t. various groups.

  > My concern is that Gnus writes From: fields like:

  > From: address (name)

Gnus has never done this for me, although the message that I am
replying to here is pretty strong evidence that it does happen. :-)

  > I'd rather like it to write the From: field that way:

  > From: name <address>

  > What's the way do this?

Well, I don't do anything special...

(setq gnus-posting-styles
      '((".*" 
	 (name "Steve Youngs")
	 (address "steve@this.address"))
        ("^nnml:group.to.use.diff.address"
         (address "steve@somewhere.else"))))

In that example, sending mail from any group _except_
`nnml:group.to.use.diff.address' will have a from header:

  From: Steve Youngs <steve@this.address>

Messages from `nnml:group.to.use.diff.address' will have:

  From: Steve Youngs <steve@somewhere.else>



-- 
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
|                   Te audire no possum.                   |
|             Musa sapientum fixa est in aure.             |
|----------------------------------<steve@youngs.au.com>---|

[-- Attachment #2: Type: application/pgp-signature, Size: 256 bytes --]

  reply	other threads:[~2004-09-03  0:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-02 20:25 Jérôme Marant
2004-09-03  0:59 ` Steve Youngs [this message]
2004-09-03  7:17   ` Jérôme Marant
     [not found] ` <hhisawb21k.fsf@blah.pl>
2004-09-03  7:15   ` Jérôme Marant

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=microsoft-free.877jrcuq02.fsf@youngs.au.com \
    --to=steve@youngs.au.com \
    --cc=jmarant@nerim.net \
    /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).