info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnus-posting-styles confusing


From: Hadron
Subject: Re: gnus-posting-styles confusing
Date: Mon, 13 Aug 2007 11:40:31 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux)

Tassilo Horn <tassilo@member.fsf.org> writes:

>
> Sure, here're mine.
>
> (setq gnus-posting-styles
>       `((".*"
>          (address "thorn+news@fastmail.fm")
>          ("Face" (lambda ()
>                    (let ((file (th-random-file "~/.faces" "\\.jpg")))
>                      (message "Chose %s as Face file." file)
>                      (gnus-face-from-file file))))
>          (signature (fortune-to-signature
>                      (replace-regexp-in-string
>                       "\\.dat$" ""
>                       (th-random-file fortune-dir)))))
>
>         (,(rx "infko.")
>          (address "heimdall@uni-koblenz.de"))
>
>         (,(rx (or (and (opt "de.") (or "comp." "comm.software."))
>                   "gnu."
>                   "nntp+Gmane:"))
>          (address "tassilo@member.fsf.org"))
>

*snip*

>
>         (,(rx "nnimap+Fastmail:INBOX.uni")
>          (address "heimdall@uni-koblenz.de"))))
>

Here's an extract from mine which will give you some more ideas,

          (
           ,(rx(or "linux" "emacs" "programming" "sport" "embedded" "physics"))
;;         (x-face-file "~/.xfaces/hadron.xface")
           (face (gnus-face-from-file "~/.xfaces/penguin.jpg"))
;;         (face (gnus-face-from-file "~/.xfaces/quark.jpg"))
           (organization "http://en.wikipedia.org/wiki/Quark";)
           (eval (setq pgg-gpg-user-id "5C******"))
           (eval(setq gnushush-user-agent-header (quote real)))
           (signature-file "~/.sigs/hadron")
           )


reply via email to

[Prev in Thread] Current Thread [Next in Thread]