[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Random signatures
From: |
Jesper Harder |
Subject: |
Re: Random signatures |
Date: |
Tue, 25 May 2004 22:58:41 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Max Quordlepleen <maxq@nonags.com> 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 <http://purl.org/harder/>