Gnus development mailing list
 help / color / mirror / Atom feed
* Gnus & BBDB
@ 1997-02-20  9:17 Han Pilmeyer
  1997-02-20 10:21 ` Hans de Graaff
  0 siblings, 1 reply; 2+ messages in thread
From: Han Pilmeyer @ 1997-02-20  9:17 UTC (permalink / raw)


Hi,

Can someone help me to configure  BBDB 1.51 under Gnus (5.4). At the
moment I only have the following in my .emacs:

;;; BBDB
(autoload 'bbdb         "bbdb-com" "Insidious Big Brother Database" t)
(autoload 'bbdb-name    "bbdb-com" "Insidious Big Brother Database" t)
(autoload 'bbdb-company "bbdb-com" "Insidious Big Brother Database" t)
(autoload 'bbdb-net     "bbdb-com" "Insidious Big Brother Database" t)
(autoload 'bbdb-notes   "bbdb-com" "Insidious Big Brother Database" t)
(autoload 'bbdb-insinuate-vm       "bbdb-vm"    "Hook BBDB into VM")
(autoload 'bbdb-insinuate-rmail    "bbdb-rmail" "Hook BBDB into RMAIL")
(autoload 'bbdb-insinuate-mh       "bbdb-mhe"   "Hook BBDB into MH-E")
(autoload 'bbdb-insinuate-gnus     "bbdb-gnus"  "Hook BBDB into GNUS")
(autoload 'bbdb-insinuate-sendmail "bbdb"       "Hook BBDB into sendmail")
(setq bbdb-always-add-addresses 't)
(setq bbdb-offer-save "never")
(setq bbdb-use-pop-up nil)
(add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)
(autoload 'bbdb/gnus-lines-and-from "bbdb-gnus")
(setq gnus-optional-headers 'bbdb/gnus-lines-and-from)

I can see that BBDB adds new addresses that I receive mail from to the
database. Which is what I want. But when sending mail I don't seem to
be able to use the database.

Ideally I would like to get:
- Mail address completion when sending mail (using e.g. M-TAB)
- Replacement of the address in a reply with the primary address
  from the database

I even looked in the FAQ, but that doesn't have my answer (yet).

Cheers
-- 
Han Pilmeyer, han@uto.dec.com, Phone: +31 30 2832671, FAX: +31 30 2832686
Digital Equipment B.V., Europalaan 44, 3526 KS Utrecht, The Netherlands
|         Answers are the easy part, questions raise the doubt   -JB          |
All opinions are those of the author, not of Digital Equipment!


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Gnus & BBDB
  1997-02-20  9:17 Gnus & BBDB Han Pilmeyer
@ 1997-02-20 10:21 ` Hans de Graaff
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff @ 1997-02-20 10:21 UTC (permalink / raw)


Han Pilmeyer <han@uto.dec.com> writes:

> I can see that BBDB adds new addresses that I receive mail from to the
> database. Which is what I want. But when sending mail I don't seem to
> be able to use the database.
> 
> Ideally I would like to get:
> - Mail address completion when sending mail (using e.g. M-TAB)

(defun bbdb-insinuate-message ()
  "Call this function to hook BBDB completion into message"
  (define-key message-mode-map "\M-\t" 'bbdb-complete-name))
(add-hook 'message-mode-hook 'bbdb-insinuate-message)

Hans


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-02-20 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-02-20  9:17 Gnus & BBDB Han Pilmeyer
1997-02-20 10:21 ` Hans de Graaff

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 NNTP newsgroup(s).