Hadron <[EMAIL PROTECTED]> writes:
Hi Hadron,
> The main question is, however, can I use "rx" directly or not in
> gnus-posting-style?
You can but you have to understand backquoting, see (info
"(elisp)Backquote"). Here are my posting styles:
,----[ ~/.gnus.el ]
| (setq gnus-posting-styles
| `((".*"
| (address "[EMAIL PROTECTED]")
| ("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 bol "infko.")
| (address "[EMAIL PROTECTED]"))
|
| (,(rx bol (or (and (opt "de.") (or "comp." "comm.software."))
| "gnu."
| "nntp+Gmane:"))
| (address "[EMAIL PROTECTED]"))
|
| ("^de.alt.music.metal"
| (signature (th-now-playing)))
|
| (,(rx bol "nnimap+Fastmail:INBOX")
| (address "[EMAIL PROTECTED]"))
|
| (,(rx bol "nnimap+Fastmail:INBOX.FSF")
| (address "[EMAIL PROTECTED]"))
|
| (,(rx bol "nnimap+Fastmail:INBOX.mailinglists."
| (or "emms-patches"
| "stumpwm-devel"
| "bbdb-info"
| "sbcl-devel"
| "openchrome"))
| (address "[EMAIL PROTECTED]"))
|
| (,(rx bol "nnimap+Fastmail:INBOX.mailinglists."
| (or "d-barf"
| "tsdh-fans"
| "dtofans"))
| (address "[EMAIL PROTECTED]"))
|
| (,(rx bol "nnimap+Fastmail:INBOX.uni")
| (address "[EMAIL PROTECTED]"))))
`----
Bye,
Tassilo
--
VI VI VI - The Roman Number Of The Beast
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english