> * Sam Steingold <f...@tah.bet> [2011-12-28 13:47:57 -0500]:
>
> hmm, I restarted emacs with your suggested settings.
>
> bbdb/gnus-update-records-p
> (lambda nil (let ((bbdb-update-records-p (quote query))) 
> (bbdb-select-message)))
>
> bbdb-mua-auto-update-p
> search
>
> when I view a gnus article (message) from an unknown sender, I am
> offered creation of a record.
> on the plus side, I can now create records from messages (":" and ";"
> work again!)

here is the fix:

diff --git a/lisp/bbdb-mua.el b/lisp/bbdb-mua.el
index e0059a1..2d515ab 100644
--- a/lisp/bbdb-mua.el
+++ b/lisp/bbdb-mua.el
@@ -657,7 +657,8 @@ For interactive calls, see function 
`bbdb-mua-update-interactive-p'."
   (interactive (list nil (bbdb-mua-update-interactive-p)))
   (let (records)
     (bbdb-mua-wrapper
-     (setq records (bbdb-mua-update-records header-class update-p)))
+     (setq records (bbdb-mua-update-records
+                    header-class (or update-p bbdb-mua-auto-update-p))))
     (if records (bbdb-display-records-internal records))
     records))
 


-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000
http://pmw.org.il http://thereligionofpeace.com http://dhimmi.com
http://camera.org http://openvotingconsortium.org http://mideasttruth.com
What was the best thing before sliced bread?


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to