On Wed Feb 2 2011 Johnny wrote: > "Roland Winkler" <wink...@gnu.org> writes: > > Further, I don't understand how to get the bbdb/gnus-show-sender to add > unknown addresses; [snip]
> However, browsing the lisp code, I assume that the following is actually > invoked (?) which seems to simply return nothing if the sender is not > found, as opposed to adding the sender: > > > (defun bbdb/gnus-summary-sender-in-bbdb (header) > > "Given a Gnus message header, return a mark if the poster is in the BBDB, > > \" \" otherwise. The mark itself is the value of the field indicated > > by `bbdb/gnus-message-marker-field' (`mark-char' by default) if the > indicated field > > is in the poster's record, and `bbdb/gnus-summary-known-poster-mark' > otherwise." > > > > Is there something I am missing here, as I believe there ought to be a > fast and easy method to do exactly what is stated in the manual; > i.e. look up an address, and if it doesn't exist, volunteer to add > it. The generic command for this is now bbdb-mua-display-sender. In Gnus, BBDB binds this command to ";". Unfortunately I am not a more experienced Gnus user, and there is a nasty technicality about keybindings in Gnus that I do not yet understand myself: While bbdb-insinuate-gnus contains the line (define-key gnus-summary-mode-map ":" 'bbdb-mua-display-sender) the command `gnus-article-read-summary-keys provides an additional wrapper for bbdb-mua-display-sender which restores the windwo configuration if this command is invoked from within a Gnus *Article* buffer. So the command bbdb-mua-display-sender has not quite the intended effect of displaying a BBDB window for the record matching the sender of a Gnus message. Currently, the command bbdb-mua-display-sender only works as intended from within a Gnus *Summary* buffer. Comments from more experienced Gnus users are appreciated. Possibly, we should continue this thread on the Gnus mailing list. Roland ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/