Gnus development mailing list
 help / color / mirror / Atom feed
* posting styles and regexps in variables
@ 1998-11-27 11:15 Steinar Bang
  1998-11-28  0:01 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Steinar Bang @ 1998-11-27 11:15 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-11-30 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-27 11:15 posting styles and regexps in variables Steinar Bang
1998-11-28  0:01 ` Lars Magne Ingebrigtsen
1998-11-30  8:18   ` Steinar Bang
1998-11-30 12:35     ` Kai.Grossjohann

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).