RE: Compile warning on bbdb-com.el byte-compilation

2013-12-27 Thread Vincent Belaïche
Hello,

Sorry for the disturbance, I could not reproduce the problem either ---
that has happened some time ago. I should have looked better before
reporting it. From my recollection the problem was sort of
bbdb-decompose-bbdb-address not being defined, and I had launched the
compilation with `B' in Dired Mode. I suspect that when I did that the
EMACS session which I was using was not a clean `no init file' (-q)
EMACS, but had some sort of other BBDB version and autoloads in its
memory, and that was the root for this issue.

Anyway that had happened when I was installing BBDBv3 on MSWindows with
using makefile_temp. At that time I had also noticed that the autoload
file produced by makefile_temp was quite scanty, I had to regenerate it
manually with `M-x update-directory-autoloads' for BBDB to work better
(like doing email adress expansion). FYI my init file contains the
following:

;; the path where is my git repo pulled source code.
(add-to-list 'load-path "c:/Programme/GNU/installation/bbdb-git/bbdb/lisp/")
;; the file which was generated by M-x update-directory-autoloads
(load "bbdb-loaddefs.el"); 
(require 'bbdb)
(bbdb-initialize 'gnus 'message)

  Vincent.

> Date: Thu, 26 Dec 2013 20:48:39 -0600
> From: wink...@gnu.org
> To: vincent....@hotmail.fr
> CC: bbdb-info@lists.sourceforge.net
> Subject: Re: Compile warning on bbdb-com.el byte-compilation
>
> On Thu Dec 26 2013 Vincent Belaïche wrote:
> > When I byte-compile bbdb-com.el there comes some warning message.
>
> I cannot reproduce this. Which warning messages are you talking
> about? How are you byte-compiling bbdb-com.el? Which version of
> emacs?
>
> > This warning is removed by the following patch adding some
> > declare-function statement.
> [snip]
> > (require 'bbdb)
> > (require 'mailabbrev)
> >
> > +(declare-function bbdb-decompose-bbdb-address "bbdb" (mail))
>
> What is this supposed to fix? If 'bbdb is required, the byte
> compiler loads it anyway. Or the other way round: If it complains
> about bbdb-decompose-bbdb-address, there should be many other
> functions from that file it should complain about, too.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Compile warning on bbdb-com.el byte-compilation

2013-12-26 Thread Roland Winkler
On Thu Dec 26 2013 Vincent Belaïche wrote:
> When I byte-compile bbdb-com.el there comes some warning message. 

I cannot reproduce this.  Which warning messages are you talking
about?  How are you byte-compiling bbdb-com.el?  Which version of
emacs?

> This warning is removed by the following patch adding some
> declare-function statement.
[snip]
>  (require 'bbdb)
>  (require 'mailabbrev)
>  
> +(declare-function bbdb-decompose-bbdb-address "bbdb" (mail))

What is this supposed to fix?  If 'bbdb is required, the byte
compiler loads it anyway.  Or the other way round:  If it complains
about bbdb-decompose-bbdb-address, there should be many other
functions from that file it should complain about, too.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/