From: lee <lee@yun.yagibdah.de>
To: ding@gnus.org
Subject: Re: inheritatively specifying group parameters
Date: Thu, 14 Jul 2011 18:05:02 +0200 [thread overview]
Message-ID: <87ei1setld.fsf@yun.yagibdah.de> (raw)
In-Reply-To: <87zkkhcrp4.fsf@member.fsf.org> (Tassilo Horn's message of "Thu, 14 Jul 2011 08:16:39 +0200")
Hi Tassilo, hi Peter!
Tassilo Horn <tassilo@member.fsf.org> writes:
> pmlists@free.fr (Peter Münster) writes:
>
> Hi Peter,
>
>>>>>>> `((,(rx (or "emacs" "gnus")) ;; 1)
>>
>>> How comes that the following doesn't work:
>>>
>>> '((,(rx (or "bogus" "mail"))
>>
>> '() is not the same as `().
>> '(): everything is quoted, same as (quote ...)
>> `(): not all is quoted, everything inside ,() is expanded
>>
>> (I'm a lisp-beginner, so my explanation might be wrong...)
>
> You are totally correct. In my code, I've used ` and the ,(rx "foo")
> forms say that this form should be evaluated when expanding the macro,
> resulting in a regular expression.
Ah, I didn't know that, I've only just started to learn some lisp. I
noticed the different apostrophes and only thought it must be due to
different character encoding.
>
> ,----[ C-h v gnus-parameters RET ]
> | gnus-parameters is a variable defined in `gnus.el'.
> | Its value is shown below.
> |
> | Documentation:
> | Alist of group parameters.
> | [...]
> |
> | Value: (("\\(?:\\(?:emac\\|gnu\\)s\\)"
> [...]
> `----
>
> See? The rx forms are replaced by their results.
Yes, and now the error message I got becomes understandable :) I'll try
it out again :)
next prev parent reply other threads:[~2011-07-14 16:05 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-08 13:31 Where are group parameters stored? Dave Abrahams
2011-07-08 13:40 ` Tassilo Horn
2011-07-12 17:21 ` Dave Abrahams
2011-07-12 18:26 ` Tassilo Horn
2011-07-13 0:54 ` lee
2011-07-13 7:13 ` Tassilo Horn
2011-07-13 20:05 ` lee
2011-07-13 20:50 ` inheritatively specifying group parameters (was: Where are group parameters stored?) lee
2011-07-13 21:18 ` inheritatively specifying group parameters Peter Münster
2011-07-14 6:16 ` Tassilo Horn
2011-07-14 16:05 ` lee [this message]
2011-07-14 6:19 ` Where are group parameters stored? Tassilo Horn
2011-07-14 16:25 ` lee
2011-07-14 18:26 ` Tassilo Horn
2011-07-14 19:18 ` lee
2011-07-14 17:20 ` Dave Abrahams
2011-07-13 5:23 ` Steinar Bang
2011-07-19 16:49 ` Lars Magne Ingebrigtsen
2011-07-13 5:18 ` Steinar Bang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ei1setld.fsf@yun.yagibdah.de \
--to=lee@yun.yagibdah.de \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).