From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3837 Path: news.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.user Subject: Re: Random signatures Date: Tue, 25 May 2004 22:58:41 +0200 Organization: http://purl.org/harder/ Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669832 20516 80.91.229.2 (31 Jan 2006 01:10:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:10:32 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:32:50 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.gnus X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; Max Quordlepleen writes: > ---------------------------------- > (setq gnus-posting-styles > '(signature (concat "~/sigfile-" (int-to-string > (random 10))))) > ---------------------------------- > > This is _supposed to_ pull from a set of files called "sigfile-0" > thruogh to "sigfile-9". However, if I have the above snippet in my > gnus, I can't post at all, something about a "bad format: > signature", IIRC. If anybody cares to administer the kl00stik, I > would be most grateful. First of all you want `signature-file' not `signature', you're also missing some levels of parens: (setq gnus-posting-styles '((".*" (signature-file (concat "~/sigfile-" (int-to-string (random 10))))))) -- Jesper Harder