Gnus development mailing list
 help / color / mirror / Atom feed
From: "Taso N. Devetzis" <devetzis@snet.net>
Subject: gnus-posting-styles and nnml-current-group
Date: 19 Oct 2000 13:24:05 -0400	[thread overview]
Message-ID: <wwmn1g03ft6.fsf_-_@snet.net> (raw)
In-Reply-To: prj@po.cwru.edu's message of "18 Oct 2000 11:13:24 -0400"

Consider the following:

(setq gnus-posting-styles
      '((".*"
	 (name "Bill Clinton")
	 (address "clinton@usa.com"))
	((and message-this-is-mail (equal nnml-current-group "clinton"))
	 (address "clinton@usa.com"))
	((and message-this-is-mail (equal nnml-current-group "private"))
	 (address "clinton_private@usa.com"))
	))

My intention was to set the headers as appropriate when replying to
messages in the various groups, and for this purpose the variable
works fine.

When I'm in the *Group* buffer, however, and begin composing a new
message, the posting style is set according to the last group I was in
before exiting to the *Group* buffer (/nnml-current-group/ remains
set, as one would expect).  I would like the posting style to be
something else in this case (specifically the ".*" default style).
I'm about to hack something up using variables like /current-buffer/
and the like, but thought I'd ask here first.

Thanks.

/taso



             reply	other threads:[~2000-10-19 17:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-19 17:24 Taso N. Devetzis [this message]
2000-10-19 20:59 ` Kai Großjohann
2000-10-19 21:12   ` Taso N. Devetzis

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=wwmn1g03ft6.fsf_-_@snet.net \
    --to=devetzis@snet.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).