I use %uB in my gnus summary line format which lands in
bbdb/gnus-summary-get-author(). This extracts the mail headers, and
generally shows "from" unless it is gnus-ignored-from-addresses, in
that case it shows To/Cc/newsgroup. To do so it calls mail-header(),
which depends on "headers". A recent change removed the setting of
headers, causing runtime error (void headers). This may happen when
listing a summary where the sender is in gnus-ignored-from-addresses
and other headers aren't present (say a Bcc'd mail). The following
patch brings "headers" back in, to avoid the error.
regards
Kousik Nandy
Index: bbdb-gnus.el
===================================================================
RCS file: /cvsroot/bbdb/bbdb/lisp/bbdb-gnus.el,v
retrieving revision 1.102
diff -u -r1.102 bbdb-gnus.el
--- bbdb-gnus.el 4 Dec 2007 23:24:53 -0000 1.102
+++ bbdb-gnus.el 5 Dec 2007 06:13:04 -0000
@@ -331,7 +331,8 @@
(to (when (and (boundp 'gnus-ignored-from-addresses)
gnus-ignored-from-addresses
(string-match gnus-ignored-from-addresses from))
- (let* ((to (or (mail-header 'To)
+ (let* ((headers (mail-header-extra header))
+ (to (or (mail-header 'To)
(mail-header 'CC)
(mail-header 'Newsgroups))))
(if (and to (listp to))
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
[email protected]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/