Hi, I try to add a new window configuration for Gnus' article buffer. It should be like the default one, if the current article's poster has no record in my bbdb. But if there's one it should show the bbdb buffer right of the article buffer.
This is what I've tested so far, but doesn't work: (gnus-add-configuration '(article (cond (gnus-use-trees '(vertical 1.0 (summary 0.25 point) (tree 0.25) (article 1.0))) (t '(vertical 1.0 (summary 0.25 point) (if (bbdb/gnus-show-sender); poster in bbdb? '(horizontal (article 90) ; 90 columns for article buffer (bbdb 1.0)) ; rest for bbdb (article 1.0))))))) ; no entry -> all for article The problem is that `bbdb/gnus-show-sender' doesn't provide a correct return value to `if'. The error message is: ,---- | if: Wrong type argument: number-or-marker-p, nil `---- I've read through the bbdb info page but didn't find another function which tests if the current article's poster is in my bbdb file returning t or nil. Is there one? If not, can anybody help my writing one? Much thanks in advance, Tassilo -- "The number of Unix installations has grown to ten, with more expected." (Unix Programmer's Manual, 2nd ed.; june 1972) ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/