I have for some time successfully used a local-abbrev-table
for my message mode. The relevant lines from my .emacs
should be:

(quietly-read-abbrev-file)
(defun turn-on-abbrev-mode ()
  (abbrev-mode 1))
(defun my-message-mode-hook ()
  (setq local-abbrev-table my-message-mode-abbrev-table)
  (turn-on-abbrev-mode)
)
(add-hook 'message-mode-hook 'my-message-mode-hook)

The problem occurs when I want to use BBDB alias in combination
with this. Adding the following line to my .emacs breaks the
local-abbrev-table (C-h v in message-mode now tells me that
local-abbrev-table is nil in buffer *mail*).

(add-hook 'message-setup-hook 'bbdb-define-all-aliases)

I'm not sure if this is a bug or if it a simple case of
user-error, any help would be much appreciated.

Niklas

Emacs  : GNU Emacs 20.7.1 (i386-*-nt5.0.2195)
 of Tue Jun 13 2000 on buffy
Package: BBDB 2.32

current state:
==============
(setq
 bbdb-version-date "$Date: 2001/03/04 20:27:21 $"
 bbdb-file-format 6
 bbdb-no-duplicates-p nil
 bbdb-after-change-hook nil
 bbdb-after-read-db-hook nil
 bbdb-always-add-addresses t
 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-completion-display-record t
 bbdb-completion-type nil
 bbdb-create-hook 'bbdb-creation-date-hook
 bbdb-default-area-code nil
 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-dwim-net-address-allow-redundancy t
 bbdb-electric-p nil
 bbdb-elided-display t
 bbdb-file "~/.bbdb"
 bbdb-file-remote nil
 bbdb-file-remote-save-always t
 bbdb-finger-host-field 'finger-host
 bbdb-gui t
 bbdb-hashtable-size 1021
 bbdb-info-file nil
 bbdb-initialize-hook nil
 bbdb-list-hook '(bbdb-fontify-buffer)
 bbdb-load-hook nil
 bbdb-message-caching-enabled t
 bbdb-mode-hook nil
 bbdb-new-nets-always-primary t
 bbdb-north-american-phone-numbers-p nil
 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 '(bbdb-auto-notes-hook)
 bbdb-offer-save t
 bbdb-pop-up-elided-display-fields nil
 bbdb-pop-up-elided-display-name-end 48
 bbdb-pop-up-target-lines 3
 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-use-alternate-names t
 bbdb-user-mail-names "\\bniklas(.morberg)?\\(@axis.\\(com\\|se\\)\\)?"
 bbdb-write-file-hooks '(bbdb-write-file-hook-fn)
 bbdb/mail-auto-create-p t
 bbdb/news-auto-create-p nil
 bbdb/prompt-for-create-p nil
 bbdb/vm-set-auto-folder-alist-field 'vm-folder
 features '(reporter info pp view bbdb-com gnus-ems mailabbrev color-theme edmacro 
gnuserv filladapt font-latex mini-cl cl cl-19 tex-site tex-mik message-x
            advice advice-preload bbdb-autoloads bbdb timezone message mml easymenu 
mm-decode mm-encode mailcap mm-bodies uudecode mail-parse rfc2045
            rfc2231 rfc2047 gnus-util qp ietf-drums time-date parse-time nnheader 
mm-util mail-prsvr mail-utils mailheader smtpmail time-stamp sendmail
            timer time font-lock regexp-opt cus-face fontset ediff-hook vc-hooks 
lisp-float-type dos-w32 disp-table ls-lisp lisp-mode page menu-bar select
            scroll-bar mouse facemenu faces frame romanian slovak czech slovenian 
case-table base64 format mule custom widget)
 )




_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to