[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rx and gnus-posting-styles
From: |
Tassilo Horn |
Subject: |
Re: rx and gnus-posting-styles |
Date: |
Wed, 18 Jul 2007 19:47:05 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
Hadron <hadronquark@googlemail.com> 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 "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 bol "infko.")
| (address "heimdall@uni-koblenz.de"))
|
| (,(rx bol (or (and (opt "de.") (or "comp." "comm.software."))
| "gnu."
| "nntp+Gmane:"))
| (address "tassilo@member.fsf.org"))
|
| ("^de.alt.music.metal"
| (signature (th-now-playing)))
|
| (,(rx bol "nnimap+Fastmail:INBOX")
| (address "thorn@fastmail.fm"))
|
| (,(rx bol "nnimap+Fastmail:INBOX.FSF")
| (address "tassilo@member.fsf.org"))
|
| (,(rx bol "nnimap+Fastmail:INBOX.mailinglists."
| (or "emms-patches"
| "stumpwm-devel"
| "bbdb-info"
| "sbcl-devel"
| "openchrome"))
| (address "tassilo@member.fsf.org"))
|
| (,(rx bol "nnimap+Fastmail:INBOX.mailinglists."
| (or "d-barf"
| "tsdh-fans"
| "dtofans"))
| (address "thorn@fastmail.fm"))
|
| (,(rx bol "nnimap+Fastmail:INBOX.uni")
| (address "heimdall@uni-koblenz.de"))))
`----
Bye,
Tassilo
--
VI VI VI - The Roman Number Of The Beast
- rx and gnus-posting-styles, Hadron, 2007/07/18
- Re: rx and gnus-posting-styles,
Tassilo Horn <=
- Message not available
- Re: rx and gnus-posting-styles, Hadron, 2007/07/18
- Re: rx and gnus-posting-styles, Hadron, 2007/07/18
- Re: rx and gnus-posting-styles, Tassilo Horn, 2007/07/19
- Message not available
- Re: rx and gnus-posting-styles, Hadron, 2007/07/19
- Re: rx and gnus-posting-styles, Tassilo Horn, 2007/07/19
- Message not available
- Re: rx and gnus-posting-styles, Hadron, 2007/07/20
- Re: rx and gnus-posting-styles, Tassilo Horn, 2007/07/20
- Message not available
- Re: rx and gnus-posting-styles, Hadron, 2007/07/22
- Re: rx and gnus-posting-styles, Tassilo Horn, 2007/07/22
- Re: rx and gnus-posting-styles, Brep, 2007/07/22