Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: Random signatures
       [not found] ` <87vfii993b.fsf@tc-1-100.kawasaki.gol.ne.jp>
@ 2004-05-26 22:20   ` Max Quordlepleen
  0 siblings, 0 replies; 2+ messages in thread
From: Max Quordlepleen @ 2004-05-26 22:20 UTC (permalink / raw)



ThanksMiles. I shall play with that code too. Much obliged.
 
-- 
Patriotism is a pernicious, psychopathic form of idiocy.- G.B.Shaw
Linux User 297164
http://maxqnz.com/References.html


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

* Re: Random signatures
       [not found] <m2pt8sl0ce.fsf@maxqnz.com>
@ 2004-05-25 20:58 ` Jesper Harder
       [not found] ` <87vfii993b.fsf@tc-1-100.kawasaki.gol.ne.jp>
  1 sibling, 0 replies; 2+ messages in thread
From: Jesper Harder @ 2004-05-25 20:58 UTC (permalink / raw)


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/>


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

end of thread, other threads:[~2004-05-26 22:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m2pt8sl0ce.fsf@maxqnz.com>
2004-05-25 20:58 ` Random signatures Jesper Harder
     [not found] ` <87vfii993b.fsf@tc-1-100.kawasaki.gol.ne.jp>
2004-05-26 22:20   ` Max Quordlepleen

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