"Roland Winkler" <wink...@gnu.org> writes:

> On Wed Aug 8 2012 Julien Cubizolles wrote:
>> (add-hook 'mail-setup-hook 'bbdb-define-all-aliases)
>> (add-hook 'message-setup-hook 'bbdb-define-all-aliases)
>
>   (add-hook 'mail-setup-hook 'bbdb-mail-aliases)

I can't get it to work. I have several mail adresses with the mail-alias
field set to "auteur" but pressing TAB or C-TAB after auteur in the To:
field doesn't autocomplete.

Here are the (I think) relevant parts of my .emacs file : I've added
bbdb-mail-aliases to every hook related to composing to no avail...

(add-to-list 'load-path "/home/wilk/info/emacs/bbdb3/lisp")
(add-to-list 'load-path "/home/wilk/info/emacs/bbdb3/bits")
(add-to-list 'Info-default-directory-list "~/info/emacs/bbdb3/doc/")
(require 'bbdb)
(define-key message-mode-map [C-tab] 'bbdb-complete-mail)
(add-hook 'mail-setup-hook 'bbdb-mail-aliases)
(add-hook 'mail-mode-hook 'bbdb-mail-aliases)
(add-hook 'message-setup-hook 'bbdb-mail-aliases)
(add-hook 'message-mode-hook 'bbdb-mail-aliases)
(require 'bbdb-anniv)
(setq bbdb-read-name 'last-first)
(setq bbdb-name-format 'last-first)
(define-key bbdb-mode-map "r" 'bbdb-merge-records)

(setq bbdb-north-american-phone-numbers-p nil)
(bbdb-initialize 'gnus 'w3)

(add-to-list 'load-path "/home/wilk/.emacs.d/bbdb-vcard")
(require 'bbdb-vcard)
(setq bbdb-quiet-about-name-mismatches t
      bbdb-complete-name-allow-cycling t)
(setq bbdb-electric t)

>> I'm having the same problem with bbdb-insinuate-message when replying
>> to/forwarding a message or editing a draft : the text from the original
>> message isn't copied.

This problem is now gone, I don't really know how since I just removed
some duplicated lines (like (require 'bbdb and such)) my .emacs and
.gnus.el files.

Julien.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to