>> Regarding Re: BBDB beginners guide?; Johnny <yggdra...@gmx.co.uk> adds:
> Ok, I have realised that the BBDB 2.35 documentation works ok and using > 'C-h a', 'C-h v' goes a long way. However, I am trying to make BBDB stop > asking me to add mail addresses. I found: > bbdb-add-address(es) in the online documentation and set this to nil or > 'never. Here is my setting: (still using 2.35 with Robert Fenks extensions) (require 'bbdb) (setq bbdb-use-pop-up nil bbdb-completion-display-record t) (add-hook 'mail-setup-hook 'bbdb-define-all-aliases) (add-hook 'gnus-message-setup-hook 'bbdb-define-all-aliases) (add-hook 'wl-mail-setup-hook 'bbdb-define-all-aliases) (setq bbdb-quiet-about-name-mismatches t) ;; that is useful since some mail clients don't deal with ;; NON ASCII chars in the same way. So Sometimes you receive ;; José sometims Jose (setq bbdb-send-mail-style 'gnus) ;chance that (setq bbdb-dwim-net-address-allow-redundancy t) (autoload 'bbdb/vm-auto-add-label "bbdb-vm" "Run VM major mode on a buffer" nil) (add-hook 'bbdb-notice-hook 'bbdb/vm-auto-add-label) (setq bbdb-complete-name-allow-cycling t) (bbdb-initialize 'gnus 'message) (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus) (require 'bbdb-anniv) (add-hook 'list-diary-entries-hook #'bbdb-include-anniversaries) (require 'bbdb-rf) In this setting every new mail (even spam) will add an entry to the BBDB (I once reached 3000 entries) that is where bbdb-expire comes in handy (require 'bbdb-expire) (setq bbdb-expire-this-old 7) ; all bbdb entries older than 7 days will be deleted, The only exceptions are entries with have the following fields. (bbdb-expire-field-foo-p 'mail-alias) (bbdb-expire-field-foo-p 'vm-folder) (bbdb-expire-field-foo-p 'vm-virtual) (bbdb-expire-field-foo-p 'tel) (bbdb-expire-field-foo-p 'news) (bbdb-expire-field-foo-p 'signature) (bbdb-expire-field-foo-p 'imap) ;Version:1.111 (bbdb-expire-field-foo-p 'mail-hierarchy) ;Version:1.112 (bbdb-expire-field-foo-p 'birthday) (bbdb-expire-field-foo-p 'face) (bbdb-expire-field-foo-p 'www) (setq bbdb-expire-preservation-functions '(bbdb-expire-field-permanent-p bbdb-expire-field-mail-alias-p bbdb-expire-field-vm-folder-p bbdb-expire-field-vm-virtual-p bbdb-expire-field-signature-p bbdb-expire-field-tel-p bbdb-expire-field-imap-p bbdb-expire-field-mail-hierarchy-p bbdb-expire-field-face-p bbdb-expire-field-birthday-p bbdb-expire-field-www-p bbdb-expire-field-news-p bbdb-expire-field-notes-p)) (bbdb-expire-initialize) Another extremely useful pkg is moy-bbdb since it adds an entry one a message is sent (and had no bbdb entry) (require 'moy-bbdb) (autoload 'bbdb/send-hook "moy-bbdb" "Function to be added to `message-send-hook' to notice records when sending messages" t) (add-hook 'message-send-hook 'bbdb/send-hook) ; If you use Gnus (add-hook 'mail-send-hook 'bbdb/send-hook) ; For other mailers ; (VM, Rmail) I also use the gnus splitting method and split messages according to their bbdb entry (I think this code is included in the official bbdb pkg) You can then use sigadapt which inserts signatures according bbdb entries. I used that code and have extension for adding gcc fields according to the bbdb entries and set also the ispell dictionary according to a bbdb entry called ispell-dict. If you are interested I can send you details. Uwe Brauer ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/