From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9373 Path: news.gmane.org!not-for-mail From: Hadron Newsgroups: gmane.emacs.gnus.user Subject: Re: rx and gnus-posting-styles Date: Sun, 22 Jul 2007 20:10:14 +0200 Organization: http://en.wikipedia.org/wiki/Quark Message-ID: <3jr6n0l37d.fsf@googlemail.com> References: <7y7hd773j.fsf@googlemail.com> <9olkdd76m9.fsf@googlemail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185129717 25962 80.91.229.12 (22 Jul 2007 18:41:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2007 18:41:57 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Jul 22 20:41:55 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ICgNP-0002wB-IL for gegu-info-gnus-english@m.gmane.org; Sun, 22 Jul 2007 20:41:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICgNP-0007Ym-5L for gegu-info-gnus-english@m.gmane.org; Sun, 22 Jul 2007 14:41:55 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 46 Original-X-Trace: individual.net M04EvsZZtlh8oL05ETvg+gZ0kGw5f7wWbH4g3FC5ZPtBCr22Hw X-Orig-Path: news.individual.net!news Cancel-Lock: sha1:iZn12HFAOpit/a2A04QcV+DB0Z0= sha1:bZ2YwmlsK+EK55GE5q+YfEPwUeY= X-Face: 2h#||Cd#d%F*NCm59[_6/{1a@jy%; |j>{D~4^gKg(^i%7j0IK?+,/GmW&:CD5fEKb_! Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79558 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9373 Archived-At: Brep writes: > Hadron writes: > >> Tassilo Horn writes: >> >>> Hadron writes: >>> >>> Hi Hadron, >>> >>>> What am I doing wrong here? >>> >>> As I said in a previous posting: >>> >>> You can but you have to understand backquoting, see >>> (info "(elisp)Backquote"). >>> >>>> (setq gnus-posting-styles >>>> '(,(rx (or "linux" "emacs")) > `(,(rx (or "linux" "emacs")) > backquote here. >>>> (address "hadron+linux@foobar.invalid")) >>>> ) >>>> >>>> Doesn't match either groups containing emacs or linux. >>> >>> Yes, because the rx form won't be expanded. >> >> The form is the code you gave to me in an earlier post and reading the >> text the "," should be backquoting it? Clearly I am missing something >> obvious? Thanks Brep. ,---- | (setq gnus-posting-styles | `( | ( | ,(rx(or "linux" "emacs")) | (name "Hadron")(address "hadronquark@googlemail.com") | ) | ) | ) `---- was the solution.