From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45377 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: Mon, 24 Jun 2002 14:35:31 -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 1024943772 6014 127.0.0.1 (24 Jun 2002 18:36:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Jun 2002 18:36:12 +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 17MYhA-0001Yt-00 for ; Mon, 24 Jun 2002 20:36:12 +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 17MYgp-0006lm-00; Mon, 24 Jun 2002 13:35:51 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 24 Jun 2002 13:36:10 -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 NAA21365 for ; Mon, 24 Jun 2002 13:35:59 -0500 (CDT) Original-Received: (qmail 9853 invoked by alias); 24 Jun 2002 18:35:35 -0000 Original-Received: (qmail 9848 invoked from network); 24 Jun 2002 18:35:35 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (@129.22.96.25) by gnus.org with SMTP; 24 Jun 2002 18:35:35 -0000 Original-Received: (qmail 19344 invoked by uid 500); 24 Jun 2002 18:35:53 -0000 Original-To: Gnus List In-Reply-To: (Steve Youngs's message of "Sun, 23 Jun 2002 16:58:39 +1000") Mail-Copies-To: nobody Mail-Followup-To: Gnus List Original-Lines: 23 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:45377 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45377 Steve Youngs wrote: > PJ> Use normal variables instead of gnus-article-banner-alist entries, and > PJ> use `, in gnus-parameters. > PJ> (setq my-banner-1 "regexp-1" > PJ> my-banner-2 "regexp-2" > PJ> gnus-parameters > PJ> `(("group1" > PJ> (banner . ,my-banner-1)) > PJ> ("group2" > PJ> (banner . ,(concat my-banner-1 "\\|" my-banner-2))))) > > Yep, that works quite well. But I'd rather use > 'gnus-article-banner-alist' than define a whole stack of little > variables. However, your suggestion helped me solve another little > problem I had, so thank you. Well, the variables are used at the time gnus-parameters is defined, not when the parameters are used. So if you just don't want to pollute the global variable namespace, a let form would work here too. FWIW. paul