From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46410 Path: main.gmane.org!not-for-mail From: Torsten Hilbrich Newsgroups: gmane.emacs.gnus.general Subject: Re: BBDB buffer and Gnus Date: Thu, 05 Sep 2002 14:21:44 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <877ki0tynb.fsf@myrkr.in-berlin.de> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031228755 1031 127.0.0.1 (5 Sep 2002 12:25:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2002 12:25:55 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17mvhq-0000GU-00 for ; Thu, 05 Sep 2002 14:25:54 +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 17mvhR-0003fZ-00; Thu, 05 Sep 2002 07:25:29 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 05 Sep 2002 07:26:03 -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 HAA00251 for ; Thu, 5 Sep 2002 07:25:50 -0500 (CDT) Original-Received: (qmail 837 invoked by alias); 5 Sep 2002 12:25:11 -0000 Original-Received: (qmail 832 invoked from network); 5 Sep 2002 12:25:10 -0000 Original-Received: from hirsch.in-berlin.de (@192.109.42.6) by gnus.org with SMTP; 5 Sep 2002 12:25:10 -0000 Original-Received: from hirsch.in-berlin.de (localhost [127.0.0.1]) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with ESMTP id g85CP8mg026720 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Thu, 5 Sep 2002 14:25:08 +0200 Original-Received: from myrkr.in-berlin.de (uucp@localhost) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with BSMTP id g85CP22R026708 for ding@gnus.org; Thu, 5 Sep 2002 14:25:02 +0200 X-Envelope-From: news@myrkr.in-berlin.de X-Envelope-To: ding@gnus.org Original-Received: from news by myrkr.in-berlin.de with local (Exim 4.04 #1 (Debian)) id 17mvdp-00010a-00 for ; Thu, 05 Sep 2002 14:21:45 +0200 Original-To: ding@gnus.org Original-Lines: 35 Original-X-Trace: myrkr.in-berlin.de 1031228504 3816 127.0.0.1 (5 Sep 2002 12:21:44 GMT) Original-X-Complaints-To: usenet@myrkr.in-berlin.de Original-NNTP-Posting-Date: Thu, 5 Sep 2002 12:21:44 +0000 (UTC) X-Face: &h3VJ.Wf$"FwQv&ybX66{lt4*Mo%#kP6^"eU?7~UHhgF6l7)UB0f~g'}64W-b{tK1Jyh)^! %sc(cpH%Yv}bh"VwaJ>>!Kv*k4EJn^Lt[X|f< User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu) Cancel-Lock: sha1:Bix7PmRphhmIHz7S1PvAKlI5wto= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46410 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46410 Ian Swainson writes: > Hi, > > I have the following Gnus layout: > > (gnus-add-configuration > '(article > (horizontal 1.0 > (vertical 0.3 (group 1.0)) > (vertical 1.0 > (summary 0.28 point) > (article 1.0) > ("*BBDB*" 6) > )))) > > Is there any way I can only show the BBDB buffer if a BBDB entry > exists for the person whose mail I am reading? I found the following way: (gnus-add-configuration '(article (horizontal 1.0 (vertical 0.3 (group 1.0)) (vertical 1.0 (summary 0.28 point) (article 1.0) (if (bbdb/gnus-update-record) '("*BBDB*" 6)) )))) The function bbdb/gnus-update-record returns non-nil if there is a record for the current entry. Torsten