From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32900 Path: main.gmane.org!not-for-mail From: "Taso N. Devetzis" Newsgroups: gmane.emacs.gnus.general Subject: gnus-posting-styles and nnml-current-group Date: 19 Oct 2000 13:24:05 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169105 22372 80.91.224.250 (21 Oct 2002 02:58:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:58:25 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id AFC68D051E for ; Thu, 19 Oct 2000 13:24:54 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id MAB06098; Thu, 19 Oct 2000 12:24:34 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 19 Oct 2000 12:23:54 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id MAA14495 for ; Thu, 19 Oct 2000 12:23:45 -0500 (CDT) Original-Received: from raoul.snet.net (raoul.snet.net [204.60.220.24]) by mailhost.sclp.com (Postfix) with ESMTP id 3BF5BD051E for ; Thu, 19 Oct 2000 13:24:11 -0400 (EDT) Original-Received: (from devetzis@localhost) by raoul.snet.net (8.10.0.Beta10/8.10.0.Beta10/devetzis-1.3) id e9JHO5L20603; Thu, 19 Oct 2000 13:24:05 -0400 (EDT) Original-To: ding@gnus.org In-Reply-To: prj@po.cwru.edu's message of "18 Oct 2000 11:13:24 -0400" Original-Lines: 27 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:32900 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:32900 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