[BBDB] Changelog 2010-04-10

2011-04-10 Thread Roland Winkler
I just submitted a new set of changes for BBDB.

First of all, the most noteworthy change is that BBDB has been
transfered from CVS to git. So for anonymous checkout, you should
now use

git clone git://git.savannah.nongnu.org/bbdb.git

I am most grateful to Ted Zlatanov and Barak Pearlmutter who
actually did all the work for this. The new git repository contains
not only the new bbdb, but as a separate branch it even contains the
full history of BBDB.

The CVS repository on savannah will not be updated anymore. If
hopefully git works for everyone as expected, the CVS repository
will be removed soon.

What are the changes in the latest code?

- I added support for anniversaries.  My original idea was to do
  something very sophisticated based on note handlers. But this
  turned out to be too complicated to make it a robust scheme
  (Sorry guys, if anybody was looking forward to this. Let me know
  if you believe it would really be a great improvement for BBDB
  that was worth the pain of implementing it...)

  So now you just define note fields such as `birthday'. If the
  value of this field is 24 Dec 2000, this will be marked in the
  emacs diary.  See the new file bbdb-anniv.el for details.

- I made bbdb-transpose-fields more robust. Now this should also
  work for any subfields that can be transposed, including even
  first and last names (if somehow these are in wrong order).

- On a more technical side, I separated formatting functions from
  display functions more consistently.  (This was a byproduct of my
  attempts to define the note handlers.)

- Finally, I fixed various bugs and improved the documentation.

2011-04-02  Roland Winkler  wink...@gnu.org
* lisp/bbdb.el (bbdb-utilities-anniv): New customization group.
(bbdb-create-hook, bbdb-change-hook)
(bbdb-after-change-hook, bbdb-notice-hook)
(bbdb-default-separator): Improve doc string.
(bbdb-separator-alist): Improve doc string.  Include entries for
anniversaries.
(bbdb-records):  Use make-variable-buffer-local.
(bbdb-current-field):  Do not remove field-name.
(bbdb-record-note): Simplified.
(bbdb-record-note-n): Removed.
(bbdb-record-note-split): New function.
(bbdb-record-set-note): Improved documentation.
(bbdb-format-note, bbdb-record-format-note): New function.
(bbdb-display-text):  Renamed from bbdb-format-text.
(bbdb-display-list):  Renamed from bbdb-format-list.
(bbdb-display-name-organization): Renamed from
bbdb-format-name-organization.
(bbdb-display-record-one-line): Renamed from
bbdb-format-record-one-line.  Unify text properties.
(bbdb-display-record-multi-line): Renamed from
bbdb-format-record-multi-line.  Unify text properties.
(bbdb-display-record-full-multi-line): Renamed from
bbdb-format-record-full-multi-line.
(bbdb-display-record-pop-up-multi-line): Renamed from
bbdb-format-record-pop-up-multi-line.
(bbdb-display-record): Renamed from bbdb-format-record.
(bbdb-parse-internal, bbdb-parse-frobnicate): Simplified search
for first record.
(bbdb-delete-record-internal, bbdb-overwrite-record-internal):
Disentangle code.

* lisp/bbdb-com.el (bbdb-editable): Throw error if *BBDB* buffer
is out of sync with database.
(bbdb-search): Use suffix -re for all args that are regular
expressions.
(bbdb-delete-duplicate-mails, bbdb-sort-addresses)
(bbdb-sort-phones, bbdb-sort-notes): New optional arg update.
(bbdb-record-edit-note): Renamed from bbdb-record-edit-notes.
(bbdb-list-transpose, bbdb-ident-point): New functions.
(bbdb-transpose-fields): Use them.  Make code more robust such
that it can be applied to any subfields of the same type.
(bbdb-field-equal, bbdb-next-field): Removed (obolete).
(bbdb-mail-aliases, bbdb-get-mail-aliases, bbdb-add-mail-alias)
(bbdb-browse-url): Use bbdb-record-note-split.

* lisp/bbdb-mua.el (bbdb-mua-wrapper): Do not use
rmail-select-summary.
(bbdb-mua-auto-update): Bug fix.

* lisp/bbdb-rmail.el (bbdb-insinuate-rmail)
* lisp/bbdb-mhe.el (bbdb-insinuate-mh): Bind to
bbdb-mua-edit-notes-sender.

* lisp/bbdb-vm.el (bbdb/vm-auto-folder, bbdb/vm-virtual-folder)
(bbdb/vm-auto-add-label): Use bbdb-record-note-split.

* lisp/bbdb-print.el (bbdb-print-omit-fields): Remove `omit'.

* lisp/bbdb-anniv.el: New file.

* lisp/Makefile: Honor lisp/bbdb-anniv.el.

BBDB is avaiable at
http://git.savannah.nongnu.org/cgit/bbdb.git
To check it out, use
git clone git://git.savannah.nongnu.org/bbdb.git

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it 

[BBDB] feature freeze

2011-04-10 Thread Roland Winkler
As I announced already in a previous email, I'd like to put now the
new BBDB in a feature freeze with respect to my own lisp hacking.

So anybody who has followed the recent BBDB developments as an
observer but was hesitant to actually give it a try, is much
encouraged to try it now.

(Yet to avoid confusion I need to empasize that the format of the
database has changed. While BBDB should update to the new format
automatically, it is certainly a good strategy to keep a copy of the
old database in case anything unexpected happens. The new BBDB does
not allow you to downgrade from the new to the old database format.)

Most likely, there are still bugs and rough edges in the new code.
I hope that these can be fixed soon (as soon as I learn about them!).
Then I could actually set up a first release of the new BBDB.

-- Recently, we have discussed on this list the possibility to
import / export BBDB records via vcards. I think this is a great
idea for BBDB. Yet it is not yet clear to me how this could be set
up in the best way. (Thanks to everybody who commented on this issue
on this list, which helped me to get an idea of what different
people have in mind here. If there were not different opinions on
such an issue, it would not be emacs we are talking about!)

Yet I am convinced that adding such a feature to BBDB should be
possible without the need to modify other code in BBDB (unlike
various changes I found were necessary to bring BBDB up to date).
In that sense I would like to put such a project on hold on my
personal agenda and give a proper release of the new BBDB the higher
priority. -- But let us know on this list if you start looking into
a solution for this!

Roland

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/