Gijs Hillenius <g...@hillenius.net> writes:
> On 13 Sep 2012, Norman Walsh wrote:
>
> [...]
>
>> With BBDB 2.x, opening a message in Gnus would display the matching
>> BBDB record in a small buffer near the bottom of the screen.

Sam's suggestion:

  (require 'bbdb)
  (require 'bbdb-loaddefs)
  (bbdb-initialize 'gnus 'message)
  (bbdb-mua-auto-update-init 'gnus 'message)

had no effect, but this did work:

> yeah, I could not get that working here either....
>
> However, Vincent Bernat suggests:
>
> http://comments.gmane.org/gmane.emacs.gnus.general/81908
>
> ,----
> | (add-hook 'bbdb-notice-mail-hook 'bbdb-auto-notes)
> | (add-hook 'gnus-article-prepare-hook 'vbe/gnus/bbdb-display-record)
> | (defun vbe/gnus/bbdb-display-record ()
> |   "Display appropriate BBDB record for the current message."
> |   (unless
> |       (bbdb-mua-display-records nil 'search)
> |     ;; No record found, close the BBDB popup
> |     (let ((window (get-buffer-window bbdb-buffer-name)))
> |       (when window (delete-window window)))))
> `----

It displays about 22 lines for the BBDB record. Any easy way to crank
that back down to about 5 lines?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <n...@nwalsh.com> | Many who find the day too long, think
http://nwalsh.com/            | life too short.--Charles Caleb Colton

Attachment: pgpyCIVpmsV1a.pgp
Description: PGP signature

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to