matt liggett writes:
> the proper function call is
> (define-key vm-mail-mode-map "\M-\t" 'bbdb-complete-name)
> i would think that calling bbdb-insinuate-vm should do this
> anyway, this is what i needed in case anyone else needs to add the same
> functionality
>
> -matt
vm used to use mail-mode-map (or create vm-mail-mode-map from
mail-mode-map on the fly, not sure which), but has changed it's
behaviour. I changed the definition of bbdb-insinuate-sendmail in
bbdb.el to
(defun bbdb-insinuate-sendmail ()
"Call this function to hook BBDB into sendmail (that is, M-x mail)."
+ (if (boundp 'vm-mail-mode-map)
+ (define-key vm-mail-mode-map "\M-\t" 'bbdb-complete-name))
(define-key mail-mode-map "\M-\t" 'bbdb-complete-name)
)
and all works fine. It may be debated that this should go to
bbdb-insinuate-vm, but I prefer to think it as part of
bbdb-insinuate-sendmail instead.
Of course, it is a bit unfriendly of vm to ignore my mail-mode-map
altogether!!!
Tanmoy
____________________________________________________________________________
Internet: [EMAIL PROTECTED] (128.165.23.46) | Tanmoy Bhattacharya
Decnet: BETA::"[EMAIL PROTECTED]" (1.218 = 1242) | T-8 (MS B285) LANL
Other mailers: Please find a gateway | NM 87544-0285, USA
<A HREF=http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>http signature</A>
fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-----------------------------------------------------------------------------