From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59909 Path: main.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap-generate-folder-list-from-bbdb, almost. Date: Fri, 25 Feb 2005 11:06:49 -0500 Message-ID: <87zmxsipye.fsf@mat.ucm.es> References: <87zmxulou2.fsf@mat.ucm.es> <4nacptn94n.fsf@lifelogs.com> <87vf8hsa8o.fsf@mat.ucm.es> <4nekf5ogxx.fsf@lifelogs.com> Reply-To: Uwe Brauer NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109326151 27848 80.91.229.2 (25 Feb 2005 10:09:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Feb 2005 10:09:11 +0000 (UTC) Original-X-From: ding-owner+M8449@lists.math.uh.edu Fri Feb 25 11:09:10 2005 Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1D4cP8-0000R7-Uv for ding-account@gmane.org; Fri, 25 Feb 2005 11:09:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1D4cNN-0004dQ-00; Fri, 25 Feb 2005 04:07:13 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1D4cNH-0004dL-00 for ding@lists.math.uh.edu; Fri, 25 Feb 2005 04:07:07 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1D4cNF-00016y-0a for ding@lists.math.uh.edu; Fri, 25 Feb 2005 04:07:05 -0600 Original-Received: from parker.sim.ucm.es ([147.96.1.105]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1D4cNC-00070y-00 for ; Fri, 25 Feb 2005 11:07:02 +0100 Original-Received: from parker.sim.ucm.es (parker.sim.ucm.es [127.0.0.1]) by localhost.ucm.es (Postfix) with ESMTP id 89CD92F45F1 for ; Fri, 25 Feb 2005 11:07:01 +0100 (CET) Original-Received: from postal.sim.ucm.es (postal.sim.ucm.es [147.96.1.222]) by parker.sim.ucm.es (Postfix) with ESMTP id 747F62F434D for ; Fri, 25 Feb 2005 11:07:01 +0100 (CET) Original-Received: from Gilgamesch (sello.sim.ucm.es [147.96.1.223]) by ucmail.ucm.es (PMDF V6.2-X17 #30932) with ESMTP id <0ICG0G2ERPFJIH@ucmail.ucm.es> for ding@gnus.org; Fri, 25 Feb 2005 11:06:56 +0100 (CET) In-reply-to: <4nekf5ogxx.fsf@lifelogs.com> Original-To: ding@gnus.org X-Mailer: 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid (via feedmail 11-beta-1 I) User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4.17 (linux) X-Hashcash: 1:20:050225:ding@gnus.org::lbJTEXCEfiJUbJoz:000024nM X-Spam-Score: -2.7 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu X-MailScanner-From: ding-owner+m8449@lists.math.uh.edu X-MailScanner-To: ding-account@gmane.org Xref: main.gmane.org gmane.emacs.gnus.general:59909 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59909 >>>>> "Ted" == Ted Zlatanov writes: Ted> Use the ,@ expansion instead of just , Ted> See the Elisp manual, section "Macros" for more information. Ted> It's really not that complicated, and you'll understand it Ted> better from the many examples. I tried to avoid it for a Ted> while, and my code turned out much uglier without macros :) Ted> Here's an example that returns (1 5 6 2 3) because the (list) function Ted> call is flattened by the ,@ operator. Ted> `(1 ,@(list 5 6) 2 3) Ted> That should be exactly what you need. THANKS, VERY MUCH It works like charm. I think after some review I will try that this function gets included into gnus (and/or bbdb. find it *very* useful. Uwe