On Sun Nov 20 2011 Sam Steingold wrote:
> as I said before, TRT is to use define-obsolete-function-alias &
> define-obsolete-variable-alias

This would require a simple one-to-one correspondence between
function and variable names in BBDB v2 and v3 which is NOT the case.

A simple example from the latest patch:
In BBDB v2 there was

(defcustom bbdb-dwim-net-address-allow-redundancy nil
  "*Non-nil means always use full name when sending mail, even if same as net."
  :group 'bbdb
  :type '(choice (const :tag "Disallow redundancy" nil)
                 (const :tag "Return only the net" 'netonly)
                 (const :tag "Allow redundancy" t)))

See the undocumented option `netonly' meaning:
"Never use the full name but only the net address"
- which was not quite matching intuitive expectations for a variable
with this name / this docstring.

So now there is

(defcustom bbdb-mail-avoid-redundancy nil
  "Mail address to use for BBDB records when sending mail.
If non-nil do not use full name in mail address when same as mail.
If value is mail-only never use full name."
  :group 'bbdb-sendmail
  :type '(choice (const :tag "Allow redundancy" nil)
                 (const :tag "Never use full name" 'mail-only)
                 (const :tag "Avoid redundancy" t)))

define-obsolete-variable-alias would not be too helpful here.

Nobody requires you to switch to BBDB v3. But if you want to use it,
at some point you will have to work your way through functions and
variables, which are different from the old ones (see also the
updated README file for more important examples regarding BBDB's MUA
interfaces, where concepts have changed quite significantly).

Roland

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to