From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45325 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Re: Defining multiple banners for a mail group. Date: Thu, 20 Jun 2002 12:37:06 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024591099 3375 127.0.0.1 (20 Jun 2002 16:38:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Jun 2002 16:38:19 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17L4wt-0000sJ-00 for ; Thu, 20 Jun 2002 18:38:19 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17L4w0-0008WE-00; Thu, 20 Jun 2002 11:37:24 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 20 Jun 2002 11:37:43 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA13075 for ; Thu, 20 Jun 2002 11:37:31 -0500 (CDT) Original-Received: (qmail 2664 invoked by alias); 20 Jun 2002 16:37:08 -0000 Original-Received: (qmail 2659 invoked from network); 20 Jun 2002 16:37:07 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (@129.22.96.25) by gnus.org with SMTP; 20 Jun 2002 16:37:07 -0000 Original-Received: (qmail 30509 invoked by uid 500); 20 Jun 2002 16:37:29 -0000 Original-To: Gnus List In-Reply-To: (Steve Youngs's message of "Wed, 19 Jun 2002 13:56:08 +1000") Mail-Copies-To: nobody Mail-Followup-To: Gnus List Original-Lines: 27 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45325 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45325 Steve Youngs wrote: > But I want to do something like... > > (setq gnus-article-banner-alist > '((banner-1 . "regexp-1") > (banner-2 . "regexp-2"))) > > (setq gnus-parameters > '(("group1" > (banner . banner-1)) > ("group2" > (banner . (concat banner-1 "\\|" banner-2))))) > > But I can't get it to work. Anybody got any ideas? Use normal variables instead of gnus-article-banner-alist entries, and use `, in gnus-parameters. (setq my-banner-1 "regexp-1" my-banner-2 "regexp-2" gnus-parameters `(("group1" (banner . ,my-banner-1)) ("group2" (banner . ,(concat my-banner-1 "\\|" my-banner-2))))) paul