summaryrefslogtreecommitdiff
path: root/lisp/bbdb-gnus.el
diff options
context:
space:
mode:
authorRonan Waide <waider@waider.ie>2000-04-05 16:59:10 +0000
committerRonan Waide <waider@waider.ie>2000-04-05 16:59:10 +0000
commitb81fd6439470088f4225acae8273e507bc4d2680 (patch)
tree6f600841ea8587737dd5527b4277e860f0e5dd67 /lisp/bbdb-gnus.el
parent65f5a30e3f2e2eb22f4633bb018c04ef71e5037b (diff)
* Colin's show-all-recipients
Diffstat (limited to 'lisp/bbdb-gnus.el')
-rw-r--r--lisp/bbdb-gnus.el16
1 files changed, 15 insertions, 1 deletions
diff --git a/lisp/bbdb-gnus.el b/lisp/bbdb-gnus.el
index 86a354b..f4d4e99 100644
--- a/lisp/bbdb-gnus.el
+++ b/lisp/bbdb-gnus.el
@@ -195,7 +195,7 @@ See `bbdb/gnus-lines-and-from' for GNUS users, or
the information from the BBDB in the summary buffer (using
`bbdb/gnus-summary-get-author'). This format code is meant to replace
codes that insert sender names or addresses (like %A or %n). Unless
-you've alread got other code using user format B, you might as well
+you've already got other code using user format B, you might as well
stick with the default. Additionally, if the value of this variable
is nil, no format function will be installed for
`bbdb/gnus-summary-get-author'. See also
@@ -436,6 +436,20 @@ addresses better than the traditionally static global scorefile."
"))"))))
bbdb/gnus-score-alist)
+;;; Posted originally by Colin Rafferty on the «bbdb-info» mailing list
+(defun bbdb/gnus-summary-show-all-recipients (not-elided)
+ "Display BBDB records for all recipients of the message."
+ (interactive "P")
+ (gnus-summary-select-article)
+ (let ((bbdb-elided-display (or (not not-elided)
+ (and (boundp 'bbdb-pop-up-elided-display)
+ bbdb-pop-up-elided-display)))
+ (bbdb-auto-notes-alist nil))
+ (bbdb/gnus-pop-up-bbdb-buffer nil)
+ (set-buffer gnus-article-buffer)
+ (bbdb-show-all-recipients)
+ ))
+
;;
;; Insinuation
;;