Re: Integrating with gnus
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. 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) ` which works. -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? 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/
Re: Integrating with gnus
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 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/
Re: Integrating with gnus
On Fri Sep 14 2012 Gijs Hillenius wrote: 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) ` which works. What problem is this patch supposed to solve? Why the call of bbdb-auto-notes? I am not a Gnus expert. Yet it appears to me that something is not working the way it is supposed to. There should be no need to define such a function. It should be sufficient to call (bbdb-mua-auto-update-init 'gnus 'message) plus possibly customizing bbdb-mua-auto-update-p. (See the README file.) Roland -- 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/
Re: Integrating with gnus
Norman Walsh n...@nwalsh.com writes: Hi Norman: It displays about 22 lines for the BBDB record. Any easy way to crank that back down to about 5 lines? Customize bbdb-pop-up-window-size: , | bbdb-pop-up-window-size's value is 0.8 | Original value was 0.5 | | Documentation: | Vertical size of a MUA pop-up BBDB window (vertical split). | If it is an integer number, it is the number of lines used by BBDB. | If it is a fraction between 0 and 1.0 (inclusive), it is the fraction | of the tallest existing window that BBDB will take over. | | You can customize this variable. ` Cheers, Charles -- Linux: Because a PC is a terrible thing to waste. (By komar...@craft.camp.clarkson.edu, Mark Komarinski) pgpOhhgCX9jx8.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/
Re: Integrating with gnus
Norman Walsh n...@nwalsh.com writes: Hi Norman: I've now fixed my local customizations to work with BBDB 3.02. 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. Works fine here. The base of my setup is exactly the same as Sam's. There must be something in you setup preventing this. I suggest starting with a minimal Gnus and bbdb config and start from there. Cheers, Charles -- There are no threads in a.b.p.erotica, so there's no gain in using a threaded news reader. (Unknown source) pgp2ZlCvZPBBZ.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/