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

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

Re: rx and gnus-posting-styles


From: Hadron
Subject: Re: rx and gnus-posting-styles
Date: Sun, 22 Jul 2007 20:10:14 +0200

Brep <brep@smth.org> writes:

> Hadron <hadronquark@googlemail.com> writes:
>
>> Tassilo Horn <tassilo@member.fsf.org> writes:
>>
>>> Hadron <hadronquark@googlemail.com> 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.


reply via email to

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