In 30. June 1995 Jens-U H. Petersen wrote:
>
> Yes, I had similar problems. What I did is probably not a
> complete (clean) solution, but I simply don't use the
> mail-abbrevs package that comes with bbdb, rather I use FSF's
> version "mailabbrev": then at least I don't get any errors like
> you describe and alias expansion works as normal from the
> `.mailrc' file (and also from .bbdb).
>
Thank you, this solved my problem! Now all works like they should work.
> However I have a different problem with bbdb: the first I send a
> mail `bbdb-complete-name' doesn't get bound to M-TAB: bbdb hasn't
> been insinuated properly?..... from the next mail it works again.
> Why is that?
>
I had same problem before, but when I moved (require 'mail-abbrevs) [which
is now ofcourse (require 'mailabbrev)] from the mail-setup-hook to global
scope M-TAB and automatic alias expansion worked also when composing the
first letter.
This is how I now set the alias "things" in my .emacs:
(require 'mailabbrev)
(setq mail-setup-hook
'(lambda ()
(bbdb-insinuate-sendmail)
(bbdb-define-all-aliases)
(mail-abbrevs-setup)
))
> I have (add-hook 'mail-setup-hook 'bbdb-insinuate-sendmail)
> in my .emacs file and (bbdb-insinuate-vm) in my .vm file.
>
I have (bbdb-insinuate-vm) right after I've loaded the BBDB and VM stuff in
in my .emacs.
Regards,
--
<< Tuomo-Markus Tikkanen <<>> Work: [EMAIL PROTECTED] >>
<< Nokia Research Center <<>> Univ.: [EMAIL PROTECTED] >>
<< P.O. Box 45 <<>> Voice: +358 0 4376 6480 >>
<< FIN-00211 HELSINKI <<>> FAX: +358 0 4552 458 >>
<< <A HREF="http://www.lut.fi/~tikkanen/">HOMEPAGE</A> >>