unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* bbdb and Emacs  - can't get it to work.
@ 2004-02-18 23:07 Richard Wellum
  2004-02-19  9:32 ` Kai Grossjohann
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Wellum @ 2004-02-18 23:07 UTC (permalink / raw)
  Cc: rwellum

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: #<subr save-current-buffer>

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)
"\bD	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)
"\bD	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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bbdb and Emacs  - can't get it to work.
  2004-02-18 23:07 bbdb and Emacs - can't get it to work Richard Wellum
@ 2004-02-19  9:32 ` Kai Grossjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Grossjohann @ 2004-02-19  9:32 UTC (permalink / raw)


Richard Wellum <rwellum@cisco.com> writes:

> bbdb: Invalid function: #<subr save-current-buffer>
>
> bbdb-records: Invalid function: (macro . #[(buffer &rest body)
> "\bD	BB" [buffer body save-current-buffer set-buffer] 3
> 1378630])

These look as if bbdb was byte-compiled with XEmacs, but run under
Emacs, or vice versa.  Or maybe it was byte-compiled with a different
Emacs version than it was run with.

Does that help?

Kai

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-19  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-18 23:07 bbdb and Emacs - can't get it to work Richard Wellum
2004-02-19  9:32 ` Kai Grossjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).