From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/26958 Path: main.gmane.org!not-for-mail From: Norman Walsh Newsgroups: gmane.emacs.gnus.general Subject: Message access from gnus-posting-styles? Date: Tue, 16 Nov 1999 10:37:48 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <3182-Tue16Nov1999103748-0500-ndw@nwalsh.com> Reply-To: Norman Walsh NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035164069 22103 80.91.224.250 (21 Oct 2002 01:34:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:34:29 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA01817 for ; Tue, 16 Nov 1999 10:38:28 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAB01101; Tue, 16 Nov 1999 09:38:25 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 16 Nov 1999 09:38:42 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA19158 for ; Tue, 16 Nov 1999 09:38:30 -0600 (CST) Original-Received: from nexus.berkshire.net (nexus.berkshire.net [206.72.196.10]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA01811 for ; Tue, 16 Nov 1999 10:38:00 -0500 (EST) Original-Received: from nwalshpc.berkshire.net (nwalshpc.nwalsh.com [140.186.114.234]) by nexus.berkshire.net (8.9.2/8.9.2) with ESMTP id KAA15254 for ; Tue, 16 Nov 1999 10:37:53 -0500 (EST) X-Mailer: emacs 20.4.1 (via feedmail 7 I) Original-To: ding@gnus.org X-URL: http://nwalsh.com/ Original-Lines: 33 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:26958 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:26958 I'm not very familiar with the guts of pgnus, so I hope I'm just missing something. For a while now, I've been using gnus-posting-styles and a function to generate my mail signature, like this: (setq gnus-posting-styles '((".*" (name "Norman Walsh") (address "ndw@nwalsh.com") ("X-URL" "http://nwalsh.com/") (signature (mail-signature "~/.signature.default"))))) (Obviously there's more to it in real life, but that's the idea) Now, here's my question. I want to make the content of the signature a little more dynamic (I'll spare you the details), so I'd like to know what I can get access to when mail-signature is called in the course of processing gnus-posting styles. In particular, can I get access to the headers? If the message is being created as a reply, can I get the address(es) of the recipients of the message? They don't appear to be in the current buffer when mail-signature is called, but I might have missed something. Cheers, norm -- Norman Walsh | What good is a can of worms if you http://nwalsh.com/ | never open it?--Bob Arning