Re: setting up BBDB 3 with Gnus on WinXP

2011-09-13 Thread Roland Winkler
On Tue Sep 13 2011 Carson Chittom wrote:
> I'm trying to set up BBDB 3 to work with Gnus.  I'm using Emacs 23.3.1
> on Windows XP.  I know the manual at http://bbdb.sourceforge.net/bbdb.html
> is for version 2, but there doesn't seem to be anything newer.  Based on
> this manual, I've added to ~/.emacs the following:
> 
> -=-=-=-=-
> (add-to-list 'load-path "C:/Documents and
> Settings/carson/Utilities/bbdb/lisp")

The above looks odd to me. If that's really what you have, it adds a
newline to the path string, which probably you do not want to have.
Try instead (in one line)

(add-to-list 'load-path "C:/Documents and Settings/carson/Utilities/bbdb/lisp")

(and I hope that sending this message via the bbdb mailing list will
not add automatically another line break)

> However, when I do M-x gnus, I get the error "Symbol's function
> definition is void: bbdb-insinuate-gnus" in the minibuffer.

If the above path string is wrong, emacs cannot find the bbdb code
so that you get errors like this one.

- Check with C-h v (`describe-variable') that `load-path' contains
your location of the bbdb code.

But looking at this once more it appears to me that if I was
correct, your error message should refer to bbdb-initialize
instead of bbdb-insinuate-gnus.

So you also might want to check that your "hand-made"
bbdb-autoloads.el contains an entry for bbdb-insinuate-gnus.

Roland

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: setting up BBDB 3 with Gnus on WinXP

2011-09-13 Thread Johnny
Carson Chittom  writes:

> Antoine Levitt  writes:
>
>> 13/09/11 15:27, Carson Chittom
>>> -=-=-=-=-
>>> (add-to-list 'load-path "C:/Documents and
>>> Settings/carson/Utilities/bbdb/lisp")
>>> (require 'bbdb)
>>> (bbdb-initialize 'gnus 'message)
>>> (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)
>>> -=-=-=-=-
>>
>> That setup is obsolete, just remove
>>
>> (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)
>
> Removing this line doesn't change anything; I get the same error.
>
>> and it should be fine. If that helps, my setup is
>>
>> (require 'bbdb)
>> (bbdb-initialize 'gnus 'message)
>> (bbdb-mua-auto-update-init 'gnus 'message)
>
My setup is

(require 'bbdb)
(require 'bbdb-autoloads)
(add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus 'bbdb-insinuate-message)
(bbdb-initialize 'gnus 'message)

Slight variation here, not sure which is more "correct", and without any
further consideration of obsoleteness, this setup works. On BBDB 3.02
that is.

> Adding the last line you have here gives me an error also.  Running
> emacs --debug-init gives me 
>
> -=-=-=-
> Debugger entered--Lisp error: (void-function bbdb-mua-auto-update-init)
>   (bbdb-mua-auto-update-init (quote gnus) (quote message))
>   eval-buffer(# nil "c:/Documents and
> Settings/carson/Application Data/.emacs" nil t) ; Reading at buffer
> position 578
>   load-with-code-conversion("c:/Documents and
> Settings/carson/Application Data/.emacs" "c:/Documents and
> Settings/carson/Application Data/.emacs" t t)
>   load("~/.emacs" t t)
>   #[nil "\205\264
> -=-=-=-
>
> I'm not sure what that means.  I'm going to try updating to the latest
> in the git repository and see if that fixes things (when I started
> trying to get this working this morning, I thought I had a fairly recent
> checkout, but it actually seems to be from about a month ago).
>
For what it's worth, I don't use that function either. 


-- 
Johnny

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: setting up BBDB 3 with Gnus on WinXP

2011-09-13 Thread Carson Chittom
Antoine Levitt  writes:

> 13/09/11 15:27, Carson Chittom
>> -=-=-=-=-
>> (add-to-list 'load-path "C:/Documents and
>> Settings/carson/Utilities/bbdb/lisp")
>> (require 'bbdb)
>> (bbdb-initialize 'gnus 'message)
>> (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)
>> -=-=-=-=-
>
> That setup is obsolete, just remove
>
> (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)

Removing this line doesn't change anything; I get the same error.

> and it should be fine. If that helps, my setup is
>
> (require 'bbdb)
> (bbdb-initialize 'gnus 'message)
> (bbdb-mua-auto-update-init 'gnus 'message)

Adding the last line you have here gives me an error also.  Running
emacs --debug-init gives me 

-=-=-=-
Debugger entered--Lisp error: (void-function bbdb-mua-auto-update-init)
  (bbdb-mua-auto-update-init (quote gnus) (quote message))
  eval-buffer(# nil "c:/Documents and 
Settings/carson/Application Data/.emacs" nil t)  ; Reading at buffer position 
578
  load-with-code-conversion("c:/Documents and Settings/carson/Application 
Data/.emacs" "c:/Documents and Settings/carson/Application Data/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "\205\264
-=-=-=-

I'm not sure what that means.  I'm going to try updating to the latest
in the git repository and see if that fixes things (when I started
trying to get this working this morning, I thought I had a fairly recent
checkout, but it actually seems to be from about a month ago).


--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: setting up BBDB 3 with Gnus on WinXP

2011-09-13 Thread Antoine Levitt
13/09/11 15:27, Carson Chittom
> I hope this is the right list; there didn't seem to be a different one
> listed on Savannah.  I should say that I'm fairly new to Emacs and Gnus,
> and completely new to BBDB, so I don't have any experience with old BBDB
> versions to guide me.
>
> I'm trying to set up BBDB 3 to work with Gnus.  I'm using Emacs 23.3.1
> on Windows XP.  I know the manual at http://bbdb.sourceforge.net/bbdb.html
> is for version 2, but there doesn't seem to be anything newer.  Based on
> this manual, I've added to ~/.emacs the following:
>
> -=-=-=-=-
> (add-to-list 'load-path "C:/Documents and 
> Settings/carson/Utilities/bbdb/lisp")
> (require 'bbdb)
> (bbdb-initialize 'gnus 'message)
> (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)
> -=-=-=-=-

That setup is obsolete, just remove

(add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)

and it should be fine. If that helps, my setup is

(require 'bbdb)
(bbdb-initialize 'gnus 'message)
(bbdb-mua-auto-update-init 'gnus 'message)


--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


setting up BBDB 3 with Gnus on WinXP

2011-09-13 Thread Carson Chittom
I hope this is the right list; there didn't seem to be a different one
listed on Savannah.  I should say that I'm fairly new to Emacs and Gnus,
and completely new to BBDB, so I don't have any experience with old BBDB
versions to guide me.

I'm trying to set up BBDB 3 to work with Gnus.  I'm using Emacs 23.3.1
on Windows XP.  I know the manual at http://bbdb.sourceforge.net/bbdb.html
is for version 2, but there doesn't seem to be anything newer.  Based on
this manual, I've added to ~/.emacs the following:

-=-=-=-=-
(add-to-list 'load-path "C:/Documents and Settings/carson/Utilities/bbdb/lisp")
(require 'bbdb)
(bbdb-initialize 'gnus 'message)
(add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)
-=-=-=-=-

Since I don't have development tools on this computer, I've also created
manually the file bbdb-autoloads.el based on the Makefile:

-=-=-=-=-
(provide 'bbdb-autoloads)
(if
(and load-file-name
 (file-name-directory load-file-name))
(add-to-list 'load-path (file-name-directory load-file-name)))
-=-=-=-=-

However, when I do M-x gnus, I get the error "Symbol's function
definition is void: bbdb-insinuate-gnus" in the minibuffer.  Obviously,
I'm doing something wrong.  Can somebody point me in the right
direction?




--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/