From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Wellum Newsgroups: gmane.emacs.help Subject: bbdb and Emacs - can't get it to work. Date: Wed, 18 Feb 2004 15:07:42 -0800 Organization: Cisco Systems Inc. Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1077146285 21781 80.91.224.253 (18 Feb 2004 23:18:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2004 23:18:05 +0000 (UTC) Cc: rwellum Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 19 00:17:59 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Atax5-0007ww-00 for ; Thu, 19 Feb 2004 00:17:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Atavw-0008BT-SQ for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Feb 2004 18:16:48 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.usenetserver.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (usg-unix-v) Cancel-Lock: sha1:ak0L6WjhvVlXN/RIYQf7Pk30G40= Cache-Post-Path: sj-nntpcache-3!unknown@irp-view5.cisco.com X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Original-X-Complaints-To: abuse@supernews.com Original-Lines: 71 Original-Xref: shelby.stanford.edu gnu.emacs.help:121033 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16983 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16983 Hi, I am using Emacs 21.2.2, Gnus 5.10.6 and bbdb-2.34. I am new to using Gnus to read email, and am just trying to set up bbdb to do basic stuff. In my .gnus I have: (require 'bbdb) (bbdb-initialize 'gnus 'message) And in my .emacs: (require 'bbdb) ;;If you don't live in Northern America, you should disable the ;;syntax check for telephone numbers by saying ;(setq bbdb-north-american-phone-numbers-p nil) ;;Tell bbdb about your email address: (setq bbdb-user-mail-names (regexp-opt '("mymail" "Your.other@mail.there.bla"))) ;;cycling while completing email addresses (setq bbdb-complete-name-allow-cycling t) ;;No popup-buffers (setq bbdb-use-pop-up nil) This is all according to the Gnus Faq. I should point out that I have no existing bbdb database lying around. Problems: 1. According to the FAQ I should be able to do: "M-x bbdb RET RET" to open a bbdb buffer showing all entries. But this doesn't work - it instead asks me for a regexp for a general search - and if I add anything I get the following error: bbdb: Invalid function: # 2. From within Gnus - if I do M-tab for name completion I get the following error: bbdb-records: Invalid function: (macro . #[(buffer &rest body) "D BB" [buffer body save-current-buffer set-buffer] 3 1378630]) 3. Ok - so now I try to quit Gnus: I get quoted to save the bbdb? So if I enter a file I get the same error as before: bbdb-save-db: Invalid function: (macro . #[(buffer &rest body) "D BB" [buffer body save-current-buffer set-buffer] 3 1378630]) And basically I get that error repeated if I ty to quit Gnus regardless. 4.And the file I entered, when requested, invariably contains a text copy of my Gnus entries looking something like: 11: nnml:Send-Mail 4: nnml:mail.misc 88: gnu.emacs.help 47: comp.emacs 4: nndraft:drafts Sorry for the long verbose email - something I am doing is very wrong, any ideas anyone? Thanks, ||Rich