From: Kevin Rodgers <ihs_4664@yahoo.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: eudc fails with bbdb
Date: Thu, 14 Apr 2005 16:33:50 -0600 [thread overview]
Message-ID: <d3mqu3$v03$2@sea.gmane.org> (raw)
In-Reply-To: <m2hdi9cpxl.fsf@seki.fr>
Sébastien Kirche wrote:
> Le 14 Apr 2005, Kevin Rodgers vraute :
>>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.
>
> Many thanks for that explanation !
>
> Actually i had found with Google that 4 years ago you already explained
> why such a call was failing :
>
http://groups-beta.google.com/group/gnu.emacs.help/browse_frm/thread/f1d56b88c1ae9b1f/8d24edc422c9ac0c
>
> But I was not able to find out the solution.
M-x byte-compile-file RET eudc-bbdb.el RET
> BTW : as eudc is part of Emacs, maybe i should send a request to
> emacs-devel for adding the eval-when-compile ? Or maybe Stefan, if you
> are reading this... Or is it a normal case ?
But bbdb is not part of Emacs, and so the eudc-bbdb library which
depends on it is definitely abnormal. eudc-bbdb.el does try to do the
right thing:
(require 'eudc)
(if (not (featurep 'bbdb))
(load-library "bbdb"))
(if (not (featurep 'bbdb-com))
(load-library "bbdb-com"))
but the Lisp files in the Emacs distribution are presumably compiled
without any add-on libraries available. I think if those were changed
to the conventional usage:
(require 'eudc)
(require 'bbdb)
(require 'bbdb-com)
then eudc-bbdb.el would fail to compile in a bare Emacs, so a bogus
eudc-bbdb.elc would not be distributed. As long as Emacs can be built
without every .el file being successfully compiled, that would be fine.
--
Kevin Rodgers
prev parent reply other threads:[~2005-04-14 22:33 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
[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 [this message]
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='d3mqu3$v03$2@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
--cc=bug-gnu-emacs@gnu.org \
/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).