Gnus development mailing list
 help / color / mirror / Atom feed
From: Torsten Hilbrich <gnus@myrkr.in-berlin.de>
Subject: Re: BBDB buffer and Gnus
Date: Thu, 05 Sep 2002 14:21:44 +0200	[thread overview]
Message-ID: <877ki0tynb.fsf@myrkr.in-berlin.de> (raw)
In-Reply-To: <uofbcpysq.fsf@clients.ie>

Ian Swainson <ian.swainson@clients.ie> 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



      reply	other threads:[~2002-09-05 12:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-05  9:32 Ian Swainson
2002-09-05 12:21 ` Torsten Hilbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877ki0tynb.fsf@myrkr.in-berlin.de \
    --to=gnus@myrkr.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).