Gnus development mailing list
 help / color / mirror / Atom feed
From: Adam Duck <duck@informatik.uni-frankfurt.de>
Subject: gnus-summary-line-format / bbdb integration
Date: Tue, 02 Nov 2004 23:11:36 +0100	[thread overview]
Message-ID: <86vfcn3nqf.fsf@oumu.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 688 bytes --]

Hi list,

I've been using gnus for quite some time now and started playing
around with it.  I must say that it's one of the - if not the - best
programs I've ever used.  But I have two questions I haven't seen
answered anywhere:

1.) I have the following `gnus-summary-line-format':

Value: "%U%R%z %*%B%-50,50s|%d|%4L(%5k)|%(%[ %-23,23f%]%)\\n"

Well, it doesn't work correctly because I'd like to have "%-50,50(Bs)"
or something.  Meaning: I want to pad and max both, B and s, to 50
chars.  I can't believe that gnus doesn't have such a grouping
operator in format-strings but does have some other very obscure
things... :)

2.) I have the following code in .gnus:

[-- Attachment #2: Type: application/emacs-lisp, Size: 252 bytes --]

[-- Attachment #3: Type: text/plain, Size: 181 bytes --]

But I'd like to have "*BBDB*" pop up only if bbdb actually has some
data on the person in the headers.  So, which function do I test?  I
tried `bbdb/gnus-update-records' like this:

[-- Attachment #4: Type: application/emacs-lisp, Size: 96 bytes --]

[-- Attachment #5: Type: text/plain, Size: 193 bytes --]

but all it says then is

Invalid function: *BBDB*

so, what do I do wrong here?  Oh, I just found out it also does this
for "(if t ...) which is bad... So, what do I do wrong here?

bye, Adam.

                 reply	other threads:[~2004-11-02 22:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=86vfcn3nqf.fsf@oumu.localdomain \
    --to=duck@informatik.uni-frankfurt.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).