help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eudc fails with bbdb


From: Kevin Rodgers
Subject: Re: eudc fails with bbdb
Date: Thu, 14 Apr 2005 09:38:37 -0600
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Sébastien Kirche wrote:
> And if try a "Query with form" or either I call
> (eudc-query '((name . "kir")))
>
> It fails with that error :
> Debugger entered--Lisp error: (invalid-function (macro lambda (vector) (list (quote aref) vector 4))) > bbdb-record-phones(["Alain" "Kirche" nil nil nil nil ("address@hidden") ((creation-date . "2004-08-31") (timestamp . "2004-08-31")) ["Alain Kirche" nil #<marker at 4815 in .bbdb> nil]]) > eudc-bbdb-extract-phones(["Alain" "Kirche" nil nil nil nil ("address@hidden") ((creation-date . "2004-08-31") (timestamp . "2004-08-31")) ["Alain Kirche" nil #<marker at 4815 in .bbdb> nil]]) > eudc-bbdb-format-record-as-result(["Alain" "Kirche" nil nil nil nil ("address@hidden") ((creation-date . "2004-08-31") (timestamp . "2004-08-31")) ["Alain Kirche" nil #<marker at 4815 in .bbdb> nil]]) > mapcar(eudc-bbdb-format-record-as-result (["Alain" "Kirche" nil nil nil nil ("address@hidden") (... ...) ["Alain Kirche" nil #<marker at 4815 in .bbdb> nil]] ["S\x8e9\ bastien" "Kirche" ("S\x8e9ki" "Sebastien Kirche" "Seki") nil nil nil ("address@hidden" "address@hidden" "address@hidden" "address@hidden" "address@hidden") (... ...) ["S\x8e9\ bastien Kirche" nil #<marker at 4938 in .bbdb> nil]]))
>   eudc-bbdb-query-internal(((lastname . "kir")) nil)
>   eudc-query(((name . "kir")))
>   eval((eudc-query (quote (...))))
>   eval-last-sexp-1(t)
>   eval-last-sexp(t)
>   eval-print-last-sexp()
>   call-interactively(eval-print-last-sexp)
>
> As you can see, I have 2  records in bbdb containing "kir", but it seems
> to fail to format the output.

Irrelevant.

> Could someone give me some clue ?

The eudc-bbdb-extract-phones function was compiled without the
bbdb-record-phones macro defined, so it was assumed to be a function.

This problem would be prevented if the eudc-bbdb-extract-phones source
file had

        (eval-when-compile (require 'bbdb-foo))

assuming bbdb-record-phones is defined in bbdb-foo.el, which provides
the bbdb-foo feature.

--
Kevin Rodgers





reply via email to

[Prev in Thread] Current Thread [Next in Thread]