Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Julian Grahsl <julian@jaggy.net>
Subject: Default recipient per group
Date: Sun, 09 Jan 2005 16:40:40 GMT	[thread overview]
Message-ID: <87acri5zgs.fsf@jaggy.net> (raw)


Hello folks !

I am wondering how i could setup gnus in a way that starting a new
mail-message inside a mail-group with "m" will automatically set the
"To: " address of the new message. I maintain a seperate group for a
few people i mail a lot with, so when i enter the group "Peter" and i
start a new message, I would like to see that persons email-address
already in place.

I tried using group-parameters like that:

--SNIP--
(setq gnus-parameters '(
      (".*Peter.*"
        ... some stuff ...
        (to-address . "peter@mail.com")
)))
--SNIP--

But this has no effect. BTW the other group parameters I set near
"...some stuff..." work perfectly.

I could

--SNIP-- 
(setq (message-default-mail-headers "To: peter@mail.com"))
--SNIP--

but then of course, this is used always, no matter what group i am in.
Maybe somebody has an idea on this one, gnus is surely capable of
doing this. (But i am not :-(

Greetings, Julian


             reply	other threads:[~2005-01-09 16:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-09 16:40 Julian Grahsl [this message]
2005-01-10 17:44 ` David Z Maze

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=87acri5zgs.fsf@jaggy.net \
    --to=julian@jaggy.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).