From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79466 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: inheritatively specifying group parameters Date: Thu, 14 Jul 2011 08:16:39 +0200 Message-ID: <87zkkhcrp4.fsf@member.fsf.org> References: <8762ncnb5a.fsf@member.fsf.org> <87r55v1hks.fsf@member.fsf.org> <871uxvrody.fsf@yun.yagibdah.de> <87fwma7ivx.fsf@member.fsf.org> <87liw22bfi.fsf@yun.yagibdah.de> <877h7l3nwy.fsf@yun.yagibdah.de> <87hb6plw0g.fsf@micropit.couberia.bzh> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1310624240 32539 80.91.229.12 (14 Jul 2011 06:17:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2011 06:17:20 +0000 (UTC) Cc: ding@gnus.org To: pmlists@free.fr (Peter =?utf-8?Q?M=C3=BCnster?=) Original-X-From: ding-owner+M27762@lists.math.uh.edu Thu Jul 14 08:17:16 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhFEW-0002fg-T7 for ding-account@gmane.org; Thu, 14 Jul 2011 08:17:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QhFE6-000378-Ip; Thu, 14 Jul 2011 01:16:46 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QhFE4-00036q-L6 for ding@lists.math.uh.edu; Thu, 14 Jul 2011 01:16:44 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QhFE3-0008JQ-At for ding@lists.math.uh.edu; Thu, 14 Jul 2011 01:16:44 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QhFE1-0004QS-Hi for ding@gnus.org; Thu, 14 Jul 2011 08:16:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 7A0D51A43BE; Thu, 14 Jul 2011 08:16:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8OAkMLJ0a2n7; Thu, 14 Jul 2011 08:16:39 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id DBDD41A43BD; Thu, 14 Jul 2011 08:16:39 +0200 (CEST) In-Reply-To: <87hb6plw0g.fsf@micropit.couberia.bzh> ("Peter \=\?utf-8\?Q\?M\?\= \=\?utf-8\?Q\?\=C3\=BCnster\=22's\?\= message of "Wed, 13 Jul 2011 23:18:39 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79466 Archived-At: pmlists@free.fr (Peter M=C3=BCnster) 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. ,----[ C-h v gnus-parameters RET ] | gnus-parameters is a variable defined in `gnus.el'. | Its value is shown below. |=20 | Documentation: | Alist of group parameters. | [...] |=20 | Value: (("\\(?:\\(?:emac\\|gnu\\)s\\)" | (gnus-button-emacs-level 10)) | ("nnimap\\+" | (gnus-use-scoring nil) | (gcc-self . t)) | ("nnimap\\+Uni:ml/" | (gcc-self . "nnimap+Uni:Sent")) | ("nnimap\\+Fastmail:INBOX\\.mailinglists\\." | (gcc-self . "nnimap+Fastmail:INBOX.Sent Items") | (gnus-use-scoring t))) `---- See? The rx forms are replaced by their results. Bye, Tassilo --=20 Sent from my Emacs