[BBDB] ChangLog 2018-03-30

"Roland Winkler" <[email protected]>
Newsgroups gmane.emacs.bbdb.user
Message-ID <[email protected]>
The changes described below unify the handling of new records, new
fields and modified fields.  Previously the handling of these things
was somewhat inconsistent.  Depending on how you added a new record
to BBDB or modified an existing record, BBDB performed different
checks (in particular when bbdb-allow-duplicates is nil).  Now this
is handled more consistently by always calling the same functions.

2018-03-30  Roland Winkler  <[email protected]>
	Unify handling of new records, new fields and modified fields.

	* bbdb.el (bbdb-check-name): Handle both names and akas.  New
	optional arg warn.
	(bbdb-check-mail): New function.
	(bbdb-register-record): Use bbdb-check-name and bbdb-check-mail.
	New optional arg warn.
	(bbdb-change-record): Fix docstring.

	* bbdb.el (bbdb-record-set-field):
	* bbdb-com.el (bbdb-read-record, bbdb-create-internal):
	Use bbdb-check-name and bbdb-check-mail.

	* bbdb-com.el (bbdb-record-edit-address): Allow arg address be nil
	for new addresses.
	(bbdb-record-edit-phone): Operate only on the phone number that we
	change.
	(bbdb-read-record, bbdb-read-field): Use bbdb-record-edit-phone.
	Always use bbdb-record-set-field.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.