autoloading failed to define function bbdb-define-all-aliases

2012-08-08 Thread Julien Cubizolles
Since switching to bbdb3, I get the following error message :

run-hooks: Autoloading failed to define function bbdb-define-all-aliases

because of some hooks I have lying around in .gnus.el 

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

and I can't use the mail-alias fields I have defined as the To: Field in
gnus.

I'm having the same problem with bbdb-insinuate-message when replying
to/forwarding a message or editing a draft : the text from the original
message isn't copied.

How can I fix it ?

Julien.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: autoloading failed to define function bbdb-define-all-aliases

2012-08-08 Thread Julien Cubizolles
 On Wed Aug 8 2012 Julien Cubizolles wrote:
 (add-hook 'mail-setup-hook 'bbdb-define-all-aliases)
 (add-hook 'message-setup-hook 'bbdb-define-all-aliases)

  (add-hook 'mail-setup-hook 'bbdb-mail-aliases)

This removed the error messages about aliases but I still can't get the
list of adresses in the To: field with completion of their mail-alias.

 I'm having the same problem with bbdb-insinuate-message when replying
 to/forwarding a message or editing a draft : the text from the original
 message isn't copied.

I do not understand: Copying the text of the original message into a
reply has nothing to do with BBDB.

I don't either but maybe when this hook fails, all subsequent hooks are
dismissed. Here is the backtrace when I try to reply/yank to your message.

Debugger entered--Lisp error: (error Autoloading failed to define function 
bbdb-insinuate-message)
  bbdb-insinuate-message()
  run-hooks(message-setup-hook)
  message-setup-1(((Subject . Re: autoloading failed to define function 
bbdb-define-all-aliases) (Cc . bbdb-info@lists.sourceforge.net) (To . 
\Roland Winkler\ wink...@gnu.org)) #buffer  *gnus article copy* nil nil)
  message-setup(((Subject . Re: autoloading failed to define function 
bbdb-define-all-aliases) (Cc . bbdb-info@lists.sourceforge.net) (To . 
\Roland Winkler\ wink...@gnu.org)) #buffer  *gnus article copy*)
  message-reply(nil t)
  gnus-summary-reply((63026) t)
  gnus-summary-reply-with-original(nil t)
  gnus-summary-wide-reply-with-original(nil)
  call-interactively(gnus-summary-wide-reply-with-original nil nil)

By the way, is there a function to explicitely paste some text as quoted
instead of manually adding  in front of each line ?

Thanks for your help.

Julien. 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

First and last names

2012-08-08 Thread Julien Cubizolles
I just realized that I switched first and last names in my bbdb
records : I used to use the first field for the last name... Is there an
easy way to make the switch back on a record, something like a
bbdb-switch-first-last-name ?

Also, how to tell where the first name ends and where the last name
starts when there are spaces in the fields (like John Jack Mc
Something) ? It seems that bbdb-create prompts for a complete name (both
first and last names)

Julien.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: First and last names

2012-08-08 Thread Eric Abrahamsen
On Wed, Aug 08 2012, Julien Cubizolles wrote:

 I just realized that I switched first and last names in my bbdb
 records : I used to use the first field for the last name... Is there an
 easy way to make the switch back on a record, something like a
 bbdb-switch-first-last-name ?

I'm pretty sure you'd have to write this yourself…

 Also, how to tell where the first name ends and where the last name
 starts when there are spaces in the fields (like John Jack Mc
 Something) ? It seems that bbdb-create prompts for a complete name (both
 first and last names)

See the variable `bbdb-read-name-format', you can set it to ask for
first and last separately.

Eric


 Julien.

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 bbdb-info@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bbdb-info
 BBDB Home Page: http://bbdb.sourceforge.net/


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: bbdb3 and duplicates

2012-08-08 Thread Eric Abrahamsen
On Wed, Aug 08 2012, Julien Cubizolles wrote:

 I recently switched to bbdb3 and couldn't find the function to merge
 duplicates shown by bbdb-search-duplicates. In bbdb-2.36, pressing r in
 the bbdb-show-duplicates used to merge the selected record with another
 one.

The function is still the same: `bbdb-merge-records', but it used to be
bound to 'r', and now appears not to be bound to anything. You can call
it directly with M-x, or else bind it to 'r' (which appears to be
unoccupied) yourself.

Eric

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 bbdb-info@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bbdb-info
 BBDB Home Page: http://bbdb.sourceforge.net/


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/