unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: eudc fails with bbdb
Date: Thu, 14 Apr 2005 09:38:37 -0600	[thread overview]
Message-ID: <d3m2jl$9o2$1@sea.gmane.org> (raw)
In-Reply-To: <m2wtr5r44b.fsf@seki.fr>

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 
("xxx@aol.com") ((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 
("xxx@aol.com") ((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 
("xxx@aol.com") ((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 ("xxx@aol.com") (... ...) ["Alain Kirche" nil #<marker at 4815 
in .bbdb> nil]] ["S\x8e9\ bastien" "Kirche" ("S\x8e9ki" "Sebastien 
Kirche" "Seki") nil nil nil ("xxx@yyy.fr" "xxx.yyy@free.fr" 
"xxx.yyy@zzz.com" "xxx@laposte.net" 
"sebastien.kirche.no@spam.free.fr.invalid") (... ...) ["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

  parent reply	other threads:[~2005-04-14 15:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-14 11:26 eudc fails with bbdb Sébastien Kirche
2005-04-14 14:40 ` Stefan Monnier
2005-04-14 15:47   ` Sébastien Kirche
2005-04-15 13:28     ` Stefan Monnier
2005-04-15 14:57       ` Sébastien Kirche
2005-04-15 15:53         ` Stefan Monnier
2005-04-15 16:42           ` Sébastien Kirche
2005-04-16  4:11             ` Stefan Monnier
2005-04-14 15:38 ` Kevin Rodgers [this message]
     [not found] ` <mailman.1508.1113493483.2895.help-gnu-emacs@gnu.org>
2005-04-14 15:56   ` Sébastien Kirche
2005-04-14 22:33     ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='d3m2jl$9o2$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).