On Mon Dec 27 2010 Philipp Haselwarter wrote:
> Hi,
> I'm trying to get bbdb3 working and I came across a (potential)
> bug. When I'm in the summary-buffer and I hit ':' to run
> `bbdb-mua-display-sender', I get an error.
> 
> The relevant code is in "bbdb-mua.el" at `bbdb-update-records' line 206:
> ,----
> |   (if (functionp update-p)                
> |       (setq update-p (funcall update-p))) 
> `----
> 
> If 'cl is loaded, `search' is a function, which gets called with no
> arguments here:

Thanks for reporting this! -- Up to now, I always considered name
clashes due to loading cl a more academic problem because I never
had to deal with real-world examples.

> ,----
> | search is a compiled Lisp function in `cl-seq.el'.
> | 
> | (search SEQ1 SEQ2 [KEYWORD VALUE]...)
> `----

... But here we are! This must fail.

Let me think about this. One solution would be to check first whether
the value of UPDATE-P is the symbol 'search, and only if it is not
the code could check whether UPDATE-P is callable.

Roland

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to