From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19257 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: posting styles and regexps in variables Date: 27 Nov 1998 12:15:46 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035157639 10679 80.91.224.250 (20 Oct 2002 23:47:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:47:19 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA29005 for ; Fri, 27 Nov 1998 06:16:22 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id FAB07039; Fri, 27 Nov 1998 05:16:09 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 27 Nov 1998 05:16:08 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id FAA28919 for ; Fri, 27 Nov 1998 05:15:58 -0600 (CST) Original-Received: from viffer.oslo.metis.no (viffer.oslo.metis.no [195.0.254.249]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA28996 for ; Fri, 27 Nov 1998 06:15:50 -0500 (EST) Original-Received: (from sb@localhost) by viffer.oslo.metis.no (8.8.7/8.8.7) id MAA02701; Fri, 27 Nov 1998 12:15:46 +0100 Original-To: ding@gnus.org Original-Lines: 31 User-Agent: Gnus/5.070054 (Pterodactyl Gnus v0.54) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:19257 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:19257 Pterodactyl Gnus v0.54, XEmacs 20.4 "Emerald" [Lucid] (i386-pc-linux) I tried to use variables holding regexps in gnus-posting-styles, but it looks like a variable symbol always evaluates to true: (setq gnus-posting-styles '((".*" (signature-file "~/.signature") (organization "NCR METIS")) (mc-newsgroups (address "sb@dod.no") (organization "Denizens of Doom, Norway Chapter")) (private-newsgroups (address "steinar@bang.priv.no") (organization "Anarchists Guild")) ; (hobby-newsgroups ; (signature-file "~/.signature-hobby")) )) In this case, the last setting of signature-file and address is the one always chosen. When I had an X-Home-Page setting in the three uncommented entries, all three headers showed up in the message buffer. Is there a way to evaluate what a variable symbol refers to as a string/regexp? Or do I have to work with naked strings here? Thanx! - Steinar