Hi, I just installed BBDB and it works wonderful! The documentation is excellent, except for one item: I had to google for quite a while until I got the mail-alias feature to work. I finally found a newsgroup with the solution to put
---
;; Expand mail aliases
(add-hook 'mail-setup-hook 'bbdb-define-all-aliases)
(add-hook 'mail-mode-hook 'mail-abbrevs-setup)
---
in my .vm file and use Tab (interestingly, not M-Tab) to expand the
mail-aliases.
After finding the solution on the net I also found it in the manual
(last paragraph of the "Mail sending interfaces" section). The reason
I didn't understand it from the beginning is that at first I didn't
know what "to actually define the aliases" means. A slight rewrite of
this paragraph in the manual might help other newcomers to have a
smoother start.
Yours,
Matthias
Emacs : GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2003-10-27 on daffy.perf.redhat.com
Package: BBDB 2.34
current state:
==============
(setq
emacs-version "21.3.1"
bbdb-version-date "$Date: 2002/01/15 22:53:47 $"
bbdb-file-format 6
bbdb-no-duplicates-p nil
bbdb-address-editing-function 'bbdb-address-edit-default
bbdb-address-formatting-alist '((bbdb-address-is-continental .
bbdb-format-address-continental)
(nil . bbdb-format-address-default))
bbdb-addresses-label-list '("Home" "Office" "Mobile" "Other")
bbdb-after-change-hook nil
bbdb-after-read-db-hook nil
bbdb-always-add-addresses nil
bbdb-auto-revert-p nil
bbdb-canonicalize-net-hook nil
bbdb-canonicalize-redundant-nets-p t
bbdb-case-fold-search t
bbdb-change-hook 'bbdb-timestamp-hook
bbdb-check-zip-codes-p t
bbdb-complete-name-allow-cycling nil
bbdb-complete-name-full-completion 5
bbdb-complete-name-hooks '(ding)
bbdb-completion-display-record t
bbdb-completion-type nil
bbdb-continental-zip-regexp "^\\s *[A-Z][A-Z]?\\s *-\\s *[0-9][0-9][0-9]"
bbdb-create-hook 'bbdb-creation-date-hook
bbdb-default-area-code nil
bbdb-default-country "Emacs"
bbdb-default-domain nil
bbdb-default-label-list '("Home" "Office" "Mobile" "Other")
bbdb-define-all-aliases-field 'mail-alias
bbdb-dial-local-prefix nil
bbdb-dial-local-prefix-alist '(((if bbdb-default-area-code
(format "(%03d)" bbdb-default-area-code) "")
"")
)
bbdb-dial-long-distance-prefix nil
bbdb-display-layout nil
bbdb-display-layout-alist '((one-line (order phones mail-alias net notes)
(name-end . 24) (toggle . t))
(multi-line (indention . 14) (toggle . t))
(pop-up-multi-line (indention . 14)))
bbdb-dwim-net-address-allow-redundancy nil
bbdb-electric-p nil
bbdb-elided-display nil
bbdb-expand-mail-aliases t
bbdb-extract-address-component-handler 'message
bbdb-extract-address-component-ignore-regexp
"\\(\\(undisclosed\\|unlisted\\)[^,]*recipients\\)\\|no To-header on input"
bbdb-extract-address-component-regexps '(("\"\\([^\"]*\\)\"\\s-*<\\([^>]+\\)>"
(car
(mail-extract-address-components
(concat
"\""
(match-string 1 adstring)
"\"")
)
)
2)
("\\([^<>, ][^<>,]+[^<>,
]\\)\\s-*<\\([^>]+\\)>" 1 2)
("<\\([^>]+\\)>" nil 2)
("\\(\\b[^<\",()]+\\b\\)\\s-*(\\([^)]+\\))"
(car
(mail-extract-address-components
(concat
"\""
(match-string 2 adstring)
"\"")
)
)
1)
("\\b\\(\\([^@ \n.]+\\.[^@
\n.]+\\)@[^@ \n]+\\)\\b"
(car
(mail-extract-address-components
(concat
"\""
(match-string 2 adstring)
"\"")
)
)
1)
("\\b\\(\\([^@ \n]+\\)@[^@
\n]+\\)\\b" nil 1)
("\\b\\([^@ \n]+\\)\\b" nil 1))
bbdb-extract-address-components-func 'bbdb-rfc822-addresses
bbdb-file "~/.bbdb"
bbdb-file-remote nil
bbdb-file-remote-save-always t
bbdb-finger-buffer-name "*finger*"
bbdb-finger-host-field 'finger-host
bbdb-get-addresses-headers '((authors "From" "Resent-From" "Reply-To")
(recipients "Resent-To" "Resent-CC" "To" "CC"
"BCC")
)
bbdb-get-only-first-address-p t
bbdb-gui t
bbdb-hashtable-size 1021
bbdb-info-file nil
bbdb-initialize-hook nil
bbdb-legal-zip-codes '("^$"
"^[ \n]*[0-9][0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[ \n]*$"
"^[ \n]*\\([0-9][0-9][0-9][0-9][0-9]\\)[ \n]*-?[
\n]*\\([0-9][0-9][0-9][0-9]?\\)[ \n]*$" "^[ \n]*\\([A-Za-z0-9]+\\)[
\n]+\\([A-Za-z0-9]+\\)[ \n]*$" "^[ \n]*\\([A-Z]+\\)[ \n]*-?[
\n]*\\([0-9]+ ?[A-Z]*\\)[ \n]*$" "^[ \n]*\\([A-Z]+\\)[ \n]*-?[
\n]*\\([0-9]+\\)[ \n]+\\([0-9]+\\)[ \n]*$")
bbdb-list-hook '(bbdb-fontify-buffer)
bbdb-load-hook nil
bbdb-message-caching-enabled t
bbdb-mode-hook nil
bbdb-modem-device "/dev/modem"
bbdb-modem-dial nil
bbdb-new-nets-always-primary nil
bbdb-north-american-phone-numbers-p t
bbdb-notes-default-separator ", "
bbdb-notes-sort-order '((notes . 0) (www . 1) (ftp . 2) (gopher . 3)
(telnet . 4) (mail-alias . 5) (mail-folder . 6)
(lpr . 7) (creation-date . 1000) (timestamp . 1001))
bbdb-notice-auto-save-file nil
bbdb-notice-hook nil
bbdb-offer-save t
bbdb-phones-label-list '("Home" "Office" "Mobile" "Other")
bbdb-pop-up-display-layout nil
bbdb-pop-up-elided-display nil
bbdb-pop-up-target-lines 5
bbdb-quiet-about-name-mismatches nil
bbdb-readonly-p nil
bbdb-refile-notes-default-merge-function 'bbdb-refile-notes-default-merge-function
bbdb-refile-notes-generate-alist '((creation-date .
bbdb-refile-notes-string-least)
(timestamp . bbdb-refile-notes-string-most)
)
bbdb-save-db-timeout nil
bbdb-send-mail-style nil
bbdb-silent-running nil
bbdb-snarf-web-prop 'www
bbdb-sound-files ["/usr/demo/SOUND/sounds/touchtone.0.au"
"/usr/demo/SOUND/sounds/touchtone.1.au" "/usr/demo/SOUND/sounds/touchtone.2.au"
"/usr/demo/SOUND/sounds/touchtone.3.au" "/usr/demo/SOUND/sounds/touchtone.4.au"
"/usr/demo/SOUND/sounds/touchtone.5.au" "/usr/demo/SOUND/sounds/touchtone.6.au"
"/usr/demo/SOUND/sounds/touchtone.7.au" "/usr/demo/SOUND/sounds/touchtone.8.au"
"/usr/demo/SOUND/sounds/touchtone.9.au" "/usr/demo/SOUND/sounds/touchtone.pound.au"
"/usr/demo/SOUND/sounds/touchtone.star.au"]
bbdb-sound-player "/usr/demo/SOUND/play"
bbdb-time-display-format "%d %b %Y"
bbdb-update-records-mode 'annotating
bbdb-use-alternate-names t
bbdb-use-pop-up t
bbdb-user-mail-names nil
bbdb-write-file-hooks '(bbdb-write-file-hook-fn)
bbdb/mail-auto-create-p t
bbdb/news-auto-create-p nil
bbdb/vm-auto-add-label-field 'mail-alias
bbdb/vm-auto-add-label-list nil
bbdb/vm-set-auto-folder-alist-field 'vm-folder
bbdb/vm-update-records-mode '(if (vm-new-flag msg) (quote annotating)
(quote searching))
features '(reporter info vc vm-sort mail-utils view mailalias vm-reply
vm-undo bbdb-gui vm-page vm-mime vm-save vm-toolbar vm-summary
tapestry vm-motion vm-message vm-folder autoinsert vm-misc
vm-easymenu vm-menu vm-mouse vm-window u-vm-color mailcrypt
bbdb-vm bbdb-snarf mail-extr rfc822 bbdb-com mailabbrev sendmail
vm-autoload vm-vars vm-startup vm-version vm two-column latin-1
mwheel bbdb-autoloads bbdb timezone reportmail lucid gif png
x-symbol-emacs x-symbol-hooks x-symbol-autoloads completion
completer cl cl-19 cmuscheme scheme ess-mous mouseme thingatpt
browse-url ess-noweb noweb-font-lock-mode essl-bug essd-omg
essl-omg essd-els essd-sas essl-sas essa-sas essd-arc essd-vst
essd-xls essl-lsp essd-sta essl-sta make-regexp essd-sp6 essd-sp5
essd-sp3 essd-s4 essd-r ess-menu essl-s ess-inf ess-utils ess-mode
noweb-mode ess ess-cust ess-emcs ess-site scilab-mode compile
shell comint ring table easymenu byte-opt bytecomp byte-compile
quail tabify rect advice advice-preload jit-lock font-lock
regexp-opt bmacs-gnu-emacs bmacs tex-site tooltip image tool-bar
disp-table fontset ediff-hook vc-hooks lisp-float-type lisp-mode
page menu-bar timer select scroll-bar mldrag mouse facemenu faces
cus-face frame ucs-tables misc-lang vietnamese tibetan thai lao
korean japanese hebrew greek romanian slovak czech european
ethiopic devanagari indian cyrillic chinese case-table help
overlay md5 base64 format mule env backquote custom widget
x-toolkit)
)
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/
