Lines Matching +refs:bbdb +refs:migrate
5 * bbdb-tex.el (bbdb-tex-alist, bbdb-tex-address-layout): Declare
9 * bbdb-vm-aux.el: Don't require VM when compiled.
12 * bbdb-vm.el: Don't require VM when compiled.
16 * bbdb-gnus.el (bbdb-insinuate-gnus):
17 * bbdb-vm.el (bbdb-insinuate-vm): Use defalias.
20 * lisp/bbdb-gnus.el, lisp/bbdb-gnus-aux.el: Split from
21 lisp/bbdb-gnus.el.
22 * lisp/bbdb-vm.el, lisp/bbdb-vm-aux.el: Split from
23 lisp/bbdb-vm.el.
31 * lisp/bbdb-anniv.el, lisp/bbdb-com.el, lisp/bbdb-ispell.el:
32 * lisp/bbdb-message.el, lisp/bbdb-mhe.el, lisp/bbdb-migrate.el:
33 * lisp/bbdb-mu4e.el, lisp/bbdb-mua.el, lisp/bbdb-pgp.el:
34 * lisp/bbdb-rmail.el, lisp/bbdb-site.el.in, lisp/bbdb-snarf.el:
35 * lisp/bbdb-tex.el, lisp/bbdb-wl.el, lisp/bbdb.el: Update
39 * lisp/bbdb-site.el.in (bbdb-version-date): Remove.
40 (bbdb-tex-path): Use more flexible default.
41 * lisp/bbdb.el (bbdb-parse-records): Use function bbdb-version.
42 (bbdb-version): Use version header if variable bbdb-version is not
44 * README, NEWS, TODO, tex/bbdb.sty, doc/bbdb.texi: Update
48 * lisp/bbdb.el (bbdb-parse-records): Bug fix, hash record after
53 * lisp/bbdb.el: Mention new mailing list bbdb-user@nongnu.org.
56 * lisp/bbdb.el (bbdb-parse-records): Query before migrating BBDB
58 (bbdb-delete-record-internal, bbdb-insert-record-internal)
59 (bbdb-overwrite-record-internal): Barf if buffer is read-only.
62 * lisp/bbdb-com.el (bbdb-search, bbdb-split-maybe): Fix docstring.
63 (bbdb-read-record): Fix calling sequence for calls to set record.
66 * lisp/bbdb-migrate.el (bbdb-migrate-uuid-xfield): New variable.
70 * lisp/bbdb.el (bbdb-create-hook, bbdb-change-hook): Use
72 (bbdb-merge-records-function): New variable.
73 (bbdb-layout-alist): Omit uuid.
74 (bbdb-xfields-sort-order, bbdb-merge-xfield-function-alist):
76 (bbdb-file-format): Bump to 9.
77 (bbdb-record-type): Include uuid, creation-date and timestamp.
78 (bbdb-uuid-table): New variable.
79 (bbdb-timestamp, bbdb-creation-date): Declare obsolete.
80 (bbdb-uuid): New function.
81 (bbdb-hash-record): Hash uuid.
82 (bbdb-record-field, bbdb-record-set-field, bbdb-buffer)
83 (bbdb-display-record-one-line, bbdb-display-record-multi-line)
84 (bbdb-display-record): Handle uuid, creation-date and timestamp.
85 (bbdb-change-record): Use uuid.
86 * lisp/bbdb-com.el (bbdb-search): Use keywords for args. Handle
88 (bbdb, bbdb-search-name, bbdb-search-organization)
89 (bbdb-search-address, bbdb-search-mail, bbdb-search-phone)
90 (bbdb-search-xfields, bbdb-mail-aliases, bbdb-get-mail-aliases):
92 (bbdb-compare-records): Compare any fields.
93 (bbdb-timestamp-older, bbdb-timestamp-newer, bbdb-creation-older)
94 (bbdb-creation-newer): Fix interactive spec.
95 (bbdb-creation-no-change): Use bbdb-record-timestamp.
96 (bbdb-read-record): Use bbdb-empty-record.
97 (bbdb-create): Fix call of bbdb-change-record.
98 (bbdb-split-maybe): New function.
99 (bbdb-create-internal): Use keywords for args.
100 (bbdb-edit-field, bbdb-edit-foo, bbdb-merge-records): Handle uuid,
102 (bbdb-delete-records): Ignore records not known to BBDB.
103 * lisp/bbdb-snarf.el (bbdb-snarf)
104 * lisp/bbdb-mua.el (bbdb-annotate-message): Fix call of
105 bbdb-change-record.
106 * lisp/bbdb-migrate.el (bbdb-migration-features): Remove.
107 (bbdb-peel-the-onion): Merge with bbdb-migrate.
108 (bbdb-migrate): Handle format 9.
109 (bbdb-migrate-alist): Rename from bbdb-migration-spec.
110 (bbdb-migrate-record-lambda): Merge with bbdb-migrate-lambda.
111 (bbdb-migrate-lambda): Rename from bbdb-migrate-versions-lambda.
112 (bbdb-migrate-postcode-to-string): Rename from
113 bbdb-migrate-postcodes-to-strings. Simplify.
114 (bbdb-migrate-dates): Rename from bbdb-migrate-change-dates.
116 (bbdb-migrate-add-country): Rename from
117 bbdb-migrate-add-country-field.
118 (bbdb-undocumented-variables): Handle byte-obsolete-variable.
124 * lisp/bbdb-tex.el: Improve documentation.
127 * lisp/bbdb-tex.el (bbdb-tex): Bug fix. (Bug#51564)
130 * lisp/bbdb.el (bbdb-split): Fix previous patch.
133 * lisp/bbdb.el (bbdb-split): Use arg TRIM of split-string with
137 * lisp/bbdb-tex.el (bbdb-tex): Allow empty space when calling
141 * tex/bbdb.sty: Use \RequirePackage.
144 * lisp/bbdb-tex.el (bbdb-tex-alist): Improve docstring.
148 * lisp/bbdb-tex.el: Replacement for lisp/bbdb-print.el.
149 * lisp/bbdb-site.el.in (bbdb-tex-path): Renamed from
150 bbdb-print-tex-path. Allow new value t.
151 * lisp/bbdb.el (bbdb-utilities-tex): Renamed from
152 bbdb-utilities-print.
153 (bbdb-separator-alist): New element tex-name. Fix docstring.
154 * lisp/makefile-temp, lisp/Makefile.am: Use bbdb-tex.
155 * tex/bbdb-print-brief.tex, tex/bbdb-cols.tex, tex/bbdb-print.tex:
157 * tex/bbdb.sty: New file.
170 * README, lisp/bbdb-site.el.in: Discontinue support for GNU Emacs
174 * lisp/bbdb-anniv.el (bbdb-anniv-diary-entries): Propertize the
176 (bbdb-anniv-goto-entry): New function used as
180 * lisp/bbdb-anniv.el (bbdb-anniv-diary-entries): Use cl-flet.
183 * lisp/bbdb-anniv.el: Use lexical binding.
184 * lisp/bbdb-anniv.el (bbdb-anniv-diary-entries): Use lexical
189 * lisp/bbdb.el (bbdb-buffer, bbdb-revert):
190 * lisp/bbdb-com.el (bbdb-complete-mail): Update accordingly.
196 * lisp/bbdb-com.el, lisp/bbdb-gnus.el, lisp/bbdb-ispell.el:
197 * lisp/bbdb-message.el, lisp/bbdb-mhe.el, lisp/bbdb-migrate.el:
198 * lisp/bbdb-mu4e.el, lisp/bbdb-mua.el, lisp/bbdb-pgp.el:
199 * lisp/bbdb-print.el, lisp/bbdb-rmail.el, lisp/bbdb-sc.el:
200 * lisp/bbdb-site.el.in, lisp/bbdb-snarf.el, lisp/bbdb-vm.el:
201 * lisp/bbdb-wl.el, lisp/bbdb.el: Use lexical binding.
203 * lisp/bbdb.el (bbdb-alist-with-header): Start name of unused
205 (bbdb-display-record-multi-line, bbdb-display-records): Remove
207 * lisp/bbdb-com.el (bbdb-omit-record):
208 * lisp/bbdb-snarf.el (bbdb-snarf-surrounding-space)
209 (bbdb-snarf-empty-lines):
210 * lisp/bbdb-migrate.el (bbdb-undocumented-variables): Start name
212 * lisp/bbdb-mua.el (bbdb-get-address-components):
213 * lisp/bbdb-print.el (bbdb-print-record): Remove unused variable.
214 * lisp/bbdb-gnus.el: Autoload message-make-domain.
215 (bbdb/gnus-score-as-text): Start name of unused variables with
219 * lisp/bbdb.el (bbdb-display-record-one-line)
220 * lisp/bbdb-snarf.el (bbdb-snarf-label, bbdb-snarf-phone-nanp):
227 * lisp/bbdb-mua.el (bbdb-mua-mode-alist): Add support for
239 * lisp/bbdb-mua.el (bbdb-mua-mode-alist, bbdb-mua)
240 (bbdb-message-header, bbdb-mua-update-records, bbdb-mua-wrapper):
242 (bbdb-mua-auto-update-init): Add wanderlust to list of auto-update
244 * lisp/bbdb.el (bbdb-init-forms): Add support for Wanderlust.
245 * lisp/bbdb-wl.el: New file.
248 * lisp/bbdb-com.el (bbdb-omit-record): Fix arg list of
249 bbdb-redisplay-record.
252 Make bbdb-hashtable a proper hash table.
253 * lisp/bbdb.el (bbdb-hashtable): Use make-hash-table.
254 (bbdb-puthash, bbdb-gethash, bbdb-remhash, bbdb-buffer)
255 * lisp/bbdb-com.el (bbdb-completion-predicate)
256 (bbdb-completing-read-records, bbdb-complete-mail): Use it.
259 * lisp/bbdb.el (bbdb-add-to-list): Remove.
260 (bbdb-pushnew, bbdb-pushnewq, bbdb-pushnewt): New macros.
261 (bbdb-record-set-xfield, bbdb-record-set-field)
262 (bbdb-merge-concat-remove-duplicates, bbdb-parse-records)
263 (bbdb-change-record)
264 * lisp/bbdb-com.el (bbdb-mail-aliases, bbdb-get-mail-aliases)
265 (bbdb-add-mail-alias)
266 * lisp/bbdb-mua.el (bbdb-update-records): Use them.
269 * lisp/bbdb.el (bbdb-auto-revert, bbdb-dedicated-window)
270 (bbdb-default-domain, bbdb-mua-pop-up)
271 (bbdb-horiz-pop-up-window-size, bbdb-xfields-sort-order)
272 (bbdb-mua-summary-unification-list, bbdb-mail-avoid-redundancy)
273 * lisp/bbdb-snarf.el (bbdb-snarf-address-us-country)
274 (bbdb-snarf-address-eu-country)
275 * lisp/bbdb-anniv.el (bbdb-anniv-alist)
276 * lisp/bbdb-vm.el (bbdb/vm-virtual-real-folders)
277 * lisp/bbdb-gnus.el (bbdb/gnus-score-default)
278 (bbdb/gnus-split-myaddr-regexp, bbdb/gnus-split-private-field)
279 (bbdb/gnus-split-public-field)
280 * lisp/bbdb-sc.el (bbdb-sc-update-attrib-p): Fix defcustom.
285 * lisp/bbdb-snarf.el (bbdb-snarf-rule-alist): Add new rule eu.
286 (bbdb-snarf-phone-nanp-regexp, bbdb-snarf-postcode-us-regexp)
287 (bbdb-snarf-url-regexp): Improve regexp. Use first subexpression.
288 (bbdb-snarf-mail-regexp): New variable.
289 (bbdb-snarf-mail): Use it.
290 (bbdb-snarf-address-us-country): New variable.
291 (bbdb-snarf-address-us): Use it. Check whether we actually
293 (bbdb-snarf-phone-eu-regexp, bbdb-snarf-postcode-eu-regexp)
294 (bbdb-snarf-address-eu-country): New variables.
295 (bbdb-snarf-label): Use save-match-data.
296 (bbdb-snarf-phone-nanp): Use save-match-data. Reverse order of
298 (bbdb-snarf-phone-eu, bbdb-snarf-address-eu): New functions.
303 * lisp/bbdb.el (bbdb-need-to-sort): Removed.
304 (bbdb-record-set-name): Simplify accordingly.
305 (bbdb-record-set-sortkey): Always evaluate new sortkey.
306 (bbdb-record-sortkey): Simplify accordingly.
307 (bbdb-change-record): Sort records if we have a new sort key.
308 (bbdb-redisplay-record-globally): Rename from
309 bbdb-maybe-update-display. New optional arg sort.
310 (bbdb-delete-record-internal, bbdb-insert-record-internal): Do not
312 (bbdb-display-records): Put point at beginning of buffer.
313 (bbdb-redisplay-record): New optional arg sort. Throw error if
315 (bbdb-sort-records): Clarify status message. Redisplay sorted
317 * lisp/bbdb-com.el (bbdb-fix-records): Sort records.
318 (bbdb-create, bbdb-create-internal, bbdb-merge-records): Use nil
319 for unused second arg of bbdb-change-record.
320 (bbdb-edit-field, bbdb-transpose-fields): Do not worry about
322 * lisp/bbdb-mua.el (bbdb-annotate-message): Use nil
323 for unused second arg of bbdb-change-record.
326 * lisp/bbdb-anniv.el, lisp/bbdb-mu4e.el, lisp/bbdb-print.el:
327 * lisp/bbdb-snarf.el, lisp/bbdb-com.el, lisp/bbdb-message.el:
328 * lisp/bbdb-mua.el, lisp/bbdb-rmail.el, lisp/bbdb-gnus.el:
329 * lisp/bbdb-mhe.el, lisp/bbdb-pgp.el, lisp/bbdb-sc.el:
330 * lisp/bbdb-vm.el, lisp/bbdb-ispell.el, lisp/bbdb-migrate.el:
331 * lisp/bbdb-site.el.in, lisp/bbdb.el: Conform to Emacs Lisp
336 * lisp/bbdb.el (bbdb-separator-alist): Use two newline characters
340 * lisp/bbdb-com.el (bbdb-search-changed): Fix docstring.
343 * lisp/bbdb-com.el (bbdb-delete-field-or-record): Use delete for
347 * lisp/bbdb-com.el (bbdb-copy-records-as-kill): Fix docstring.
351 * lisp/bbdb-com.el (bbdb-copy-fields-as-kill): New command.
352 * lisp/bbdb.el (bbdb-separator-alist, bbdb-mode-map): Update
356 * lisp/bbdb.el (bbdb-record-set-field, bbdb-parse-records): Use
364 * lisp/bbdb-mu4e.el: New file.
366 * lisp/bbdb.el (bbdb-init-forms): Add entry for mu4e.
367 (bbdb-initialize): Update docstring.
368 * lisp/bbdb-mua.el: Define mu4e~view-buffer-name.
369 (bbdb-mua-mode-alist): Add element for mu4e.
370 (bbdb-mua): Update docstring.
371 (bbdb-mua-update-records, bbdb-mua-wrapper): Handle mu4e.
374 Remove variables bbdb/MUA-update-records-p.
375 * lisp/bbdb-mua.el (bbdb-update-records): Rely only on arg
377 * lisp/bbdb-gnus.el (bbdb/gnus-update-records-p): Remove.
378 * lisp/bbdb-message.el (bbdb/mail-update-records-p)
379 (bbdb/message-update-records-p): Remove.
380 * lisp/bbdb-mh.el (bbdb/mh-update-records-p): Remove.
381 * lisp/bbdb-rmail.el (bbdb/rmail-update-records-p): Remove.
382 * lisp/bbdb-vm.el (bbdb/vm-update-records-p): Remove.
386 Handle prefix command bbdb-do-all-records more robustly.
387 * lisp/bbdb.el (bbdb-do-all-records): New variable.
388 (bbdb-modeline-info): Add two new slots.
389 (bbdb-mode): Use them.
390 * lisp/bbdb-com.el (bbdb-prefix-message): New function.
391 (bbdb-do-all-records, bbdb-do-records): Use variable
392 bbdb-do-all-records.
393 (bbdb-append-display-p): Update displayed message.
394 (bbdb-append-display): Use bbdb-prefix-message.
395 (bbdb-search-invert): Ditto. Simplify.
398 * lisp/bbdb.el (bbdb-redisplay-record): Display an undisplayed
400 (bbdb-maybe-update-display): Only consider records that are
407 * lisp/bbdb-print.el (bbdb-print-require): Improve docstring.
410 * lisp/bbdb-print.el (bbdb-print): Clarify prompt for file name.
414 * lisp/bbdb-print.el (bbdb-print-record): Handle xfields the value
418 * lisp/bbdb-snarf.el (bbdb-snarf): Always install and display the
422 * lisp/bbdb-com.el (bbdb-mail-alias-list): New function.
423 (bbdb-add-mail-alias): Handle multiple records via * prefix.
436 * lisp/bbdb.el (bbdb-redisplay-record): Delete record from
437 bbdb-records if record is undisplayed.
438 * lisp/bbdb-com.el (bbdb-omit-record): Simplify. Handle records at
439 beginning and end of bbdb-buffer properly.
443 * lisp/bbdb.el (bbdb-update-unchanged-records): Renamed from
444 bbdb-save-unchanged-records.
445 (bbdb-with-print-loadably): Put at beginning of bbdb.el.
446 (bbdb-change-record): Return record only if we updated it.
447 * lisp/bbdb-com.el (bbdb-touch-records): Use
448 bbdb-update-unchanged-records.
449 (bbdb-insert-field, bbdb-edit-field): Issue message if record
453 * lisp/bbdb.el (bbdb-change-record): If an editing command did not
454 change a record compared to its value in bbdb-buffer, do not call
455 bbdb-change-hook and do not save it.
456 (bbdb-save-unchanged-records): New internal variable.
457 * lisp/bbdb-com.el (bbdb-touch-records): New command.
460 * lisp/makefile-temp: Create bbdb-pkg.el from bbdb-pkg.el.in.
463 Do not treat bbdb-change-hook special when inside
464 bbdb-notice-mail-hook or bbdb-notice-record-hook.
465 * lisp/bbdb.el (bbdb-notice-mail-hook, bbdb-notice-record-hook):
467 (bbdb-notice-hook-pending): Remove.
468 (bbdb-change-record): Always call bbdb-change-hook if a record was
470 * lisp/bbdb-mua.el (bbdb-update-records, bbdb-annotate-message):
475 * lisp/bbdb.el (bbdb-record-type): Update accordingly.
476 (bbdb-string-trim): New optional arg null.
477 (bbdb-record-xfield-intern): Return xfield value unmodified if it
479 (bbdb-record-xfield-string): New function.
480 (bbdb-record-xfield-split): Throw error if xfield value is not a
482 (bbdb-record-set-xfield, bbdb-record-set-field)
483 (bbdb-merge-xfield, bbdb-display-record-one-line)
484 (bbdb-display-record-multi-line)
485 * lisp/bbdb-com.el (bbdb-search, bbdb-read-field)
486 (bbdb-edit-field, bbdb-read-xfield): Allow xfield values that are
488 (bbdb-add-mail-alias): Simplify.
491 * lisp/bbdb.el (bbdb-parse-postcode): Finish immediately if one
500 * lisp/bbdb.el (bbdb-list-strings): New function.
501 (bbdb-record-set-field): Use it.
502 (bbdb-record-set-xfield): Clean up.
503 * lisp/bbdb-com.el (bbdb-fix-records): New command.
504 (bbdb-read-organization, bbdb-complete-mail): Check emacs version
509 * lisp/bbdb.el (bbdb-check-type): Simplify. New arg `extended'.
510 * lisp/bbdb-com.el (bbdb-create-internal): Bug fix.
516 * lisp/bbdb-site.el.in: Be more verbose about what we want.
522 * lisp/bbdb-vm.el, m4/emacs_vm.m4: Require vm-autoloads.
525 * lisp/bbdb.el (bbdb-separator-alist): Treat AKAs consistent with
529 Generate lisp/bbdb-site.el via lisp/Makefile as pkgdatadir is only
531 * configure.ac: Remove lisp/bbdb-site.el from autoconfig files.
533 * lisp/Makefile.am: Generate lisp/bbdb-site.el.
534 * lisp/bbdb-site.el.in: Initialize bbdb-print-tex-path with a
540 * doc/Makefile.am: Install bbdb.pdf in the doc directory.
549 * lisp/Makefile.am: Include lisp/bbdb-pkg.el in distribution.
550 * lisp/makefile-temp: Include lisp/bbdb-pkg.el.
554 * lisp/bbdb.el: Do not autoload bbdb-search and bbdb-search-prompt
556 (bbdb-auto-revert, bbdb-silent, bbdb-default-domain)
557 (bbdb-default-area-code, bbdb-offer-to-create)
558 (bbdb-update-records-address): Fix docstring.
560 * lisp/bbdb-com.el (bbdb-search-read): Renamed from
561 bbdb-search-prompt.
562 (bbdb, bbdb-search-name, bbdb-search-organization)
563 (bbdb-search-address, bbdb-search-mail, bbdb-search-phone)
564 (bbdb-search-xfields): Change accordingly.
565 (bbdb-read-record, bbdb-create, bbdb-completing-read-records): Fix
567 (bbdb-read-field): Renamed from bbdb-prompt-for-new-field. Use
569 (bbdb-insert-field): Change accordingly. Fix docstring.
570 (bbdb-edit-foo): Change accordingly.
572 * lisp/bbdb-mua.el (bbdb-query-create): Renamed from
573 bbdb-prompt-for-create.
574 (bbdb-update-records)
575 * lisp/bbdb.el (bbdb-insert-field-menu): Change accordingly.
578 * lisp/bbdb.el: Do not autoload bbdb-search and bbdb-search-prompt
580 (bbdb-address-format-list, bbdb-buffer, bbdb-revert-buffer)
581 * lisp/bbdb-com.el (bbdb-complete-mail): Fix docstring.
584 * lisp/bbdb-mua.el (bbdb-update-records): If value of arg update-p
588 * lisp/bbdb-mua.el (bbdb-update-records): Bug fix for previous
592 * lisp/bbdb-mua.el (bbdb-update-records): Always evaluate arg
596 * lisp/bbdb.el (bbdb-puthash, bbdb-record-set-xfield)
597 (bbdb-record-set-field, bbdb-parse-records, bbdb-change-record):
601 * lisp/bbdb.el (bbdb-read-string): In
606 * lisp/bbdb.el (bbdb-pop-up-window-simple): New function.
607 (bbdb-pop-up-window): Use it. Make sure the *BBDB* buffer exists.
610 bbdb-pop-up-window-size is 1.0.
611 (bbdb-pop-up-window-size): Fix docstring accordingly.
612 * lisp/bbdb-com.el (bbdb-complete-mail-cleanup): Do not call
613 bbdb-pop-up-window before we created for sure the *BBDB* buffer.
617 * lisp/bbdb.el (bbdb-street-list, bbdb-postcode-list): New
619 (bbdb-record-set-xfield, bbdb-parse-records)
620 * lisp/bbdb-com.el (bbdb-record-edit-address)
621 (bbdb-edit-address-default): Use them.
624 * lisp/bbdb.el (bbdb-canonical-hosts, bbdb-canonicalize-mail-1)
625 (bbdb-message-clean-name-default): Move here from bbdb-mua.el.
630 * lisp/bbdb.el (bbdb-city-list, bbdb-state-list)
631 (bbdb-country-list): New internal variables.
632 (bbdb-add-to-list): New function.
633 (bbdb-puthash, bbdb-merge-concat-remove-duplicates)
634 (bbdb-change-record): Use add-to-list.
635 (bbdb-record-set-xfield, bbdb-parse-records): Use add-to-list and
636 bbdb-add-to-list. Collect cities, states and countries known to
638 * lisp/bbdb-com.el (bbdb-record-edit-address)
639 (bbdb-edit-address-default): Provide auto completion for cities,
647 * lisp/bbdb.el (bbdb-default-xfield, bbdb-edit-foo)
648 (bbdb-annotate-field, bbdb-mua-edit-field): New variables.
649 (bbdb-auto-notes-rules): Fix docstring.
650 * lisp/bbdb-com.el (bbdb-edit-foo): New command.
651 (bbdb-search, bbdb-read-record): Use bbdb-default-xfield.
652 (bbdb-insert-field): Do not handle initial value.
653 (bbdb-prompt-for-new-field): Replace arg init by arg record to
655 * lisp/bbdb.el (bbdb-insert-field-menu): Change accordingly.
656 * lisp/bbdb-mua.el (bbdb-annotate-record): Use
657 bbdb-annotate-field. Allow empty strings for removing an xfield.
658 (bbdb-mua-annotate-field-interactive): New function.
659 (bbdb-mua-annotate-sender, bbdb-mua-annotate-recipients): Use it.
661 (bbdb-mua-edit-field-interactive, bbdb-mua-edit-field)
662 (bbdb-mua-edit-field-sender, bbdb-mua-edit-field-recipients): Use
663 variable bbdb-mua-edit-field.
664 (bbdb-mua-edit-field-recipients): Use bbdb-default-xfield.
665 * lisp/bbdb-snarf.el (bbdb-snarf-notes): Use bbdb-default-xfield.
669 * lisp/bbdb.el (bbdb-delete-record-internal): Rename optional arg
671 (bbdb-maybe-update-display): Update record in all BBDB buffers.
672 (bbdb-change-record): Call it.
673 (bbdb-redisplay-records): Remove.
674 (bbdb-undisplay-records): New optional arg all-buffers.
675 (bbdb-revert-buffer): Use it.
676 * lisp/bbdb-com.el (bbdb-insert-field, bbdb-transpose-fields)
677 (bbdb-delete-field-or-record, bbdb-delete-records)
678 (bbdb-merge-records, bbdb-sort-addresses, bbdb-sort-phones)
679 (bbdb-sort-xfields, bbdb-add-mail-alias)
680 * lisp/bbdb-mua.el (bbdb-mua-edit-field): Do not call
681 bbdb-maybe-update-display.
686 * lisp/bbdb.el (bbdb-utilities-sc): New custom group
687 (bbdb-initialize): Update docstring.
688 * lisp/bbdb-sc.el: Update doc.
689 (bbdb-sc-attribution-field): Rename from
690 bbdb/sc-attribution-field, keeping the old name as obsolete alias.
691 (bbdb-sc-update-records-p): New variable.
692 (bbdb-sc-update-attrib-p): Rename from bbdb/sc-replace-attr-p.
693 (bbdb-sc-last-attrib): Rename from bbdb/sc-last-attribution. Make
695 (bbdb-sc-set-attrib): Rename from bbdb/sc-set-attr, keeping the
697 (bbdb-sc-update-from): Rename from bbdb/sc-default, keeping the
701 Overhaul lisp/bbdb-pgp.el for BBDB 3.
702 * lisp/bbdb-pgp.el (bbdb-pgp-field): Rename from bbdb/pgp-field.
703 (bbdb-pgp-default): Rename from bbdb/pgp-default-action.
704 (bbdb-pgp-ranked-actions, bbdb-pgp-headers)
705 (bbdb-pgp-method-alist): New variables.
706 (bbdb/pgp-quiet): Obsolete.
707 (bbdb-pgp-method): Rename from bbdb/pgp-method. Include support
709 (bbdb-read-xfield-pgp-mail): New function.
710 (bbdb-pgp): Rename from bbdb/pgp-sign. Make it a command.
711 Consider all message recipients in bbdb-pgp-headers. Use
712 bbdb-pgp-ranked-actions, bbdb-pgp-headers, and
713 bbdb-pgp-method-alist.
714 * lisp/bbdb.el (bbdb-utilities-pgp): New custom group
715 (bbdb-init-forms): Add init form for bbdb-pgp.
716 (bbdb-initialize): Update docstring accordingly.
718 lisp/bbdb-pgp.el.
721 * lisp/bbdb-pgp.el: Adapt for BBDB 3. Remove outdated mailcrypt
723 (bbdb/pgp-method): New default mml-pgpmime.
724 (bbdb/pgp-get-pgp): Use bbdb-message-search and bbdb-record-field.
727 * lisp/bbdb-pgp.el: New file (taken from BBDB 2).
731 * lisp/bbdb.el (bbdb-read-string): Rename optional arg default to
733 * lisp/bbdb-com.el (bbdb-read-organization)
734 (bbdb-record-edit-address, bbdb-completing-read-mails): Rename
736 (bbdb-insert-field): Simplify.
737 (bbdb-read-xfield): New function.
738 (bbdb-prompt-for-new-field, bbdb-edit-field): Use it.
741 * lisp/bbdb.el (bbdb-init-forms): Add init form for anniv.
742 (bbdb-initialize): Update docstring accordingly.
743 * lisp/bbdb-anniv.el: Update doc accordingly.
747 * lisp/bbdb.el (bbdb-ignore-redundant-mails): Rename from
748 bbdb-canonicalize-redundant-mails, keeping the latter as obsolete
750 (bbdb-add-mails, bbdb-canonicalize-mail-function): Fix docstring.
751 * lisp/bbdb-com.el (bbdb-mail-redundant-re): New function
752 (bbdb-delete-redundant-mails): Move here from lisp/bbdb-mua.el.
753 Merge with command bbdb-delete-duplicate-mails and make the latter
755 * lisp/bbdb-mua.el (bbdb-annotate-message): Use
756 bbdb-mail-redundant-re and bbdb-delete-redundant-mails.
757 (bbdb-mail-redundant-p): Remove.
758 (bbdb-canonical-hosts): Update docstring.
762 * lisp/bbdb.el (bbdb-editable): Move here from lisp/bbdb-com.el.
764 * lisp/bbdb.el (bbdb-record-set-field)
765 * lisp/bbdb-com.el (bbdb-read-record, bbdb-create-internal)
766 (bbdb-merge-records, bbdb-sort-addresses, bbdb-sort-phones)
767 (bbdb-sort-xfields)
768 * lisp/bbdb-snarf.el (bbdb-snarf): Check that BBDB is editable.
769 * lisp/bbdb-mua.el (bbdb-update-records): Obey bbdb-read-only.
770 (bbdb-annotate-message): Ignore bbdb-read-only.
771 (bbdb-auto-notes): Check that BBDB is editable.
774 * lisp/bbdb.el (bbdb-check-name, bbdb-extract-address-components):
776 * lisp/bbdb-com.el (bbdb-search-duplicates): Fix warning message.
778 * lisp/bbdb-mua.el (bbdb-auto-notes)
779 (bbdb-mua-update-interactive-p): Fix docstring.
783 * lisp/bbdb-mua.el (bbdb-update-records, bbdb-mua-update-records):
785 (bbdb-mua-display-records): New optional arg all.
786 (bbdb-mua-display-all-records): New command.
787 (bbdb-mua-display-all-recipients): Renamed from
788 bbdb-display-all-recipients.
792 * lisp/bbdb.el (bbdb-empty-record): New function.
793 (bbdb-change-record): Use bbdb-create-hook. Fix docstring.
794 (bbdb-insert-record-internal, bbdb-overwrite-record-internal): Fix
796 * lisp/bbdb-com.el (bbdb-create): Do not use bbdb-create-hook.
797 (bbdb-create-internal): Make arg name optional and allow a nil
800 (bbdb-merge-records): Return record.
801 * lisp/bbdb-mua.el (bbdb-annotate-message): Use bbdb-empty-record.
803 bbdb-create-hook.
804 * lisp/bbdb-snarf.el (bbdb-snarf): Use bbdb-empty-record. Return
805 record. Do not use bbdb-create-hook.
808 * lisp/bbdb-snarf.el (bbdb-snarf-rule-interactive): Use
816 * lisp/bbdb-pkg.el.in: New file for elpa.
824 * lisp/bbdb-sc.el: Fix documentation.
825 (bbdb/sc-consult-attr): Do not use car.
829 * lisp/bbdb.el (bbdb-field-menu): Use format. Call
830 bbdb-browse-url for url xfields.
831 (bbdb-mouse-menu): Use format.
834 * lisp/bbdb.el (bbdb-mua-update-interactive-p): Clarify doc string.
837 * lisp/bbdb.el (bbdb-file): Use locate-user-emacs-file.
840 * lisp/bbdb-com.el (bbdb-complete-mail): Only complete inside a
844 * lisp/makefile-temp: Add commentary. Copy bbdb-site.el.in to
845 bbdb-site.el. Clean up.
850 * doc/bbdb.texi: Add @dircategory and @direntry.
868 * lisp/bbdb-site.el.in: Renamed from lisp/bbdb-version.el.in.
869 Define bbdb-print-tex-path.
870 * lisp/bbdb.el, lisp/bbdb-print.el, lisp/Makefile.am: Update
878 * lisp/bbdb-version.el.in: New file.
879 * lisp/bbdb.el, lisp/Makefile.am: Use it.
881 Test for presence of Emacs. Configure lisp/bbdb-version.el.
883 lisp/bbdb-version.el, and missing.
896 * lisp/bbdb-print.el (bbdb-print-tex-path): New variable.
897 (bbdb-print): Use it.
900 * lisp/bbdb-mua.el (bbdb-mua-auto-update): Use bbdb-pop-up-layout.
903 * lisp/bbdb.el (bbdb-buffer): Simplify. Avoid creating auto-save
904 files for bbdb-file till it contains at least one record.
905 * lisp/bbdb.el (bbdb-revert-buffer): Handle the case that we did
906 not yet create bbdb-file.
909 * lisp/bbdb.el (bbdb-update-records-p): Fix docstring.
921 Use new function bbdb-extract-address-components which honors
922 bbdb-message-clean-name-function and
923 bbdb-canonicalize-mail-function.
925 * lisp/bbdb.el (bbdb-clean-address-components)
926 (bbdb-extract-address-components): New functions.
927 (bbdb-decompose-bbdb-address): Renamed from
928 bbdb-extract-address-components.
929 (bbdb-puthash-mail): Use it.
931 * lisp/bbdb-com.el (bbdb-message-search): Do nothing if both args
933 (bbdb-complete-mail, bbdb-complete-mail-cleanup): Use
934 bbdb-extract-address-components.
936 * lisp/bbdb-mua.el (bbdb-get-address-components)
937 (bbdb-mua-summary-unify, bbdb-mua-summary-mark): Use
938 bbdb-extract-address-components.
939 (bbdb-canonicalize-mail): Remove.
941 * lisp/bbdb-snarf.el (bbdb-snarf-name-mail)
942 (bbdb-snarf-mail-address): Use bbdb-extract-address-components.
944 * lisp/bbdb-sc.el (bbdb/sc-consult-attr, bbdb/sc-default): Use
945 bbdb-extract-address-components.
947 * lisp/bbdb-vm.el (vm-summary-function-B): Simplify.
948 (bbdb/vm-alternate-full-name): Use
949 bbdb-extract-address-components.
952 * lisp/bbdb-mua.el (bbdb-mua-summary-mark): Do not call
953 bbdb-mua-summary-mark-field as a function if it is not a function.
956 * lisp/bbdb.el (bbdb-utilities-snarf): New custom group.
957 * lisp/bbdb-snarf.el: New file.
961 * lisp/bbdb-com.el (bbdb-merge-records): Fix docstring. Merge
965 * lisp/bbdb.el (bbdb-format-address-default, bbdb-format-address):
969 * lisp/bbdb.el (bbdb-hash-record, bbdb-change-record): Fix
973 * lisp/bbdb.el (bbdb-new-mails-primary): Change default to query.
976 * lisp/bbdb-mua.el (bbdb-mua-summary-unify)
977 (bbdb-mua-summary-mark): Allow bbdb-mua-summary-mark-field to be a
979 * lisp/bbdb.el (bbdb-mua-summary-mark-field): Fix docstring.
982 * lisp/bbdb.el (bbdb-extract-address-components): New function.
983 (bbdb-puthash-mail): Use it.
984 * lisp/bbdb-com.el (bbdb-dwim-mail): Use it.
987 * lisp/bbdb-com.el (bbdb-complete-mail): Simplify. Do not throw
992 * lisp/bbdb-vm.el (bbdb/vm-auto-folder-field)
993 (bbdb/vm-virtual-folder-field, bbdb/vm-auto-folder)
994 (bbdb/vm-auto-add-label-list, bbdb/vm-auto-add-label-field): Fix
996 (bbdb/vm-virtual-folder): Check more carefully whether
1001 * lisp/bbdb-sc.el (bbdb/sc-attribution-field): Fix docstring.
1007 * lisp/bbdb.el (bbdb-mail-name-format, bbdb-mail-name): New
1009 * lisp/bbdb-com.el (bbdb-dwim-mail): Use them. Always quote the
1011 (bbdb-quoted-string-syntax-table): New internal variable.
1012 (bbdb-complete-mail): Use it to find starting point for
1020 (bbdb-complete-mail-cleanup): New arg beg. Use indent-relative.
1022 * lisp/bbdb-print.el (bbdb-print-name-format, bbdb-print-name):
1024 (bbdb-print-record): Use them,
1027 * lisp/bbdb-com.el (bbdb-mail-yank): Bind case-fold-search to t.
1030 * lisp/bbdb-com.el (bbdb-delete-field-or-record): Handle multiple
1034 * lisp/bbdb.el (bbdb-delete-record-internal)
1035 (bbdb-insert-record-internal, bbdb-overwrite-record-internal): Use
1039 * lisp/bbdb.el (bbdb-changed-records, bbdb-hashtable): Doc fix.
1042 * lisp/bbdb.el (bbdb-modified): Removed.
1043 (bbdb-buffer, bbdb-after-save, bbdb-delete-record-internal)
1044 (bbdb-insert-record-internal, bbdb-overwrite-record-internal)
1045 (bbdb-sort-records): Do not set bbdb-modified.
1046 (bbdb-mode): Use buffer-modified-p.
1049 * lisp/bbdb.el (bbdb-mail-user-agent): Use non-nil default taken
1051 (bbdb-lastname-re, bbdb-lastname-suffix-re): New user variables.
1052 (bbdb-divide-name): Use them. Pass first and last name through
1053 bbdb-string-trim.
1055 * lisp/bbdb-mua.el (bbdb-canonicalize-mail): Always pass mail
1056 through bbdb-string-trim.
1057 (bbdb-canonicalize-mail-1): Always pass mail through
1058 bbdb-string-trim.
1059 (bbdb-canonical-hosts): Use regxp-opt instead of regexp-quote.
1060 (bbdb-message-clean-name-default): Re-arrange clean-up steps. Use
1071 * lisp/bbdb.el (bbdb-parse-records): Set bbdb-xfield-labels-list
1072 and bbdb-organization-list to nil only once.
1078 * lisp/bbdb.el (bbdb-organization-list): New variable.
1079 (bbdb-record-set-field): Use it. Update bbdb-phone-label-list,
1080 bbdb-address-label-list, and bbdb-xfield-label-list.
1081 ((bbdb-set-xfield-labels): Removed
1082 (bbdb-record-set-xfield): Set bbdb-xfield-labels-list explicitly.
1083 (bbdb-label-completion-list): Removed.
1084 (bbdb-parse-records): Do not set bbdb-phone-label-list and
1085 bbdb-address-label-list in a circular way. Set
1086 bbdb-organization-list.
1088 * lisp/bbdb-com.el: Require crm.
1089 (bbdb-crm-local-completion-map): New variable.
1090 (bbdb-read-organization): New function.
1091 (bbdb-read-record, bbdb-prompt-for-new-field): Use it. Directly
1092 use bbdb-phone-label-list and bbdb-address-label-list.
1093 Do not call bbdb-set-xfield-labels, which was redundant.
1094 (bbdb-edit-field): Use bbdb-read-organization and
1095 bbdb-record-field.
1096 (bbdb-record-edit-address): Use bbdb-address-label-list directly.
1097 (bbdb-record-edit-phone): Use bbdb-phone-label-list directly.
1104 * lisp/bbdb-sc.el: New file
1105 * lisp/Makefile.in, lisp/makefile-temp, lisp/bbdb.el
1106 (bbdb-init-forms, bbdb-initialize): Use it.
1114 * lisp/bbdb-gnus.el: Do not use eval-and-compile.
1115 (bbdb/gnus-split-myaddr-regexp): Do not use obsolete variable
1117 (bbdb/gnus-split-private-field, bbdb/gnus-split-public-field): Fix
1120 * lisp/bbdb-vm.el, lisp/bbdb-message.el, lisp/bbdb-mhe.el: Do not
1124 * lisp/bbdb.el (bbdb-mua-summary-unification-list)
1125 (bbdb-mua-summary-mark-field, bbdb-mua-summary-mark)
1126 (bbdb-mua-summary-unify-format-letter)
1127 (bbdb-mua-summary-mark-format-letter): New user variables.
1129 * lisp/bbdb-mua.el (bbdb-mua-summary-unify)
1130 (bbdb-mua-summary-mark): New functions.
1132 * lisp/bbdb-gnus.el (bbdb/gnus-summary-mark-known-posters)
1133 (bbdb/gnus-mark-known-posters)
1134 (bbdb/gnus-summary-known-poster-mark)
1135 (bbdb/gnus-summary-show-bbdb-names)
1136 (bbdb/gnus-header-show-bbdb-names)
1137 (bbdb/gnus-summary-prefer-bbdb-data)
1138 (bbdb/gnus-summary-prefer-real-names)
1139 (bbdb/gnus-header-prefer-real-names)
1140 (bbdb/gnus-summary-user-format-letter)
1141 (bbdb/gnus-summary-in-bbdb-format-letter)
1142 (bbdb/gnus-message-marker-field, bbdb/gnus-summary-get-sender)
1143 (bbdb/gnus-summary-sender-in-bbdb): Removed.
1144 (bbdb-insinuate-gnus): Use bbdb-mua-summary-unify and
1145 bbdb-mua-summary-mark.
1148 * lisp/bbdb-mua.el (bbdb-mua-wrapper): Add edebug support.
1151 * lisp/bbdb-gnus (bbdb-insinuate-gnus): Fix keybindings for
1154 * lisp/bbdb-com.el (bbdb-grab-url): Fail early if no URL at point.
1158 * lisp/bbdb-com.el (bbdb-complete-mail): Check every record from
1162 * lisp/bbdb.el (bbdb-dedicated-window): New user variable.
1163 (bbdb-mua-pop-up): Renamed from bbdb-message-pop-up. Doc fix.
1164 (bbdb-mua-pop-up-window-size): New variable.
1165 (bbdb-pop-up-window-size): Doc fix. Allow value t.
1166 (bbdb-pop-up-window): Use it. Simplify. Use
1170 (bbdb-display-records): Clean up.
1172 * lisp/bbdb-mua.el (bbdb-mua-mode-alist): New variable.
1173 (bbdb-mua): Use it.
1174 (bbdb-mua-window-p): New function.
1175 (bbdb-mua-display-records, bbdb-mua-edit-field)
1176 (bbdb-mua-auto-update): Use it.
1179 * lisp/bbdb-vm.el: (bbdb/vm-auto-add-label-list)
1180 (bbdb/vm-auto-add-label-field): Doc fix.
1181 (bbdb/vm-auto-add-label): Doc fix and cleanup.
1187 * lisp/bbdb.el, lisp/bbdb-com.el, lisp/bbdb-mua.el:
1188 * lisp/bbdb-print.el, lisp/bbdb-anniv.el, lisp/bbdb-ispell.el:
1189 * lisp/bbdb-migrate.el, lisp/bbdb-vm.el, lisp/bbdb-gnus.el: For
1193 * lisp/bbdb.el (bbdb-layout-alist, bbdb-name-format, bbdb-image)
1194 (bbdb-default-domain, bbdb-auto-notes-rules)
1195 (bbdb-mail-alias-field, bbdb-name-face-alist, bbdb-record-type)
1196 (bbdb-timestamp, bbdb-creation-date)
1197 (bbdb-display-name-organization): Doc fix.
1198 (bbdb-xfields-sort-order): Renamed from bbdb-notes-sort-order
1199 (bbdb-merge-xfield-function-alist): Renamed from
1200 bbdb-merge-notes-function-alist
1201 (bbdb-xfield-label-list): Renamed from bbdb-notes-label-list.
1202 (bbdb-record-xfields): Renamed from bbdb-record-Notes.
1203 (bbdb-record-set-xfields): Renamed from bbdb-record-set-Notes.
1204 (bbdb-record-xfield): Renamed from bbdb-record-note.
1205 (bbdb-record-set-xfield): Renamed from bbdb-record-set-note.
1206 (bbdb-record-xfield-intern): Renamed from bbdb-record-note-intern.
1207 (bbdb-record-xfield-split): Renamed from bbdb-record-note-split
1208 (bbdb-set-xfield-labels): Renamed from bbdb-set-notes-labels
1209 (bbdb-merge-xfield): Renamed from bbdb-merge-note.
1211 * lisp/bbdb-com.el (bbdb-search, bbdb, bbdb-compare-records)
1212 (bbdb-create-internal, bbdb-edit-field): Doc fix.
1213 (bbdb-search-xfields): Renamed from bbdb-search-notes.
1214 (bbdb-message-search): Make search more robust.
1215 (bbdb-sort-xfields): Renamed from bbdb-sort-notes.
1218 * lisp/bbdb.el (bbdb-parse-records): If multiple records have the
1220 (bbdb-allow-duplicates): Doc fix.
1227 * lisp/bbdb.el (bbdb-defstruct): Doc fix. Improve doc string of
1229 (bbdb-cache-mail-aka, bbdb-cache-mail-canon): New elements of
1230 bbdb-record-cache.
1231 (bbdb-record-mail-aka, bbdb-record-mail-canon): New functions.
1232 (bbdb-hash-p): New function.
1233 (bbdb-gethash): Use it.
1234 (bbdb-puthash-mail): New function.
1235 (bbdb-hash-record): Use it.
1236 (bbdb-record-field): Renamed from bbdb-record-get-field.
1238 (bbdb-record-get-field): Obsolete function alias.
1239 (bbdb-record-set-field): Doc fix. Update hash for mail entries
1241 (bbdb-delete-record-internal): Use canonical mail addresses and
1244 * lisp/bbdb-com.el (bbdb-search): Use bbdb-record-field.
1245 (bbdb-search-duplicates): Use bbdb-record-mail-canon.
1246 (bbdb-message-search): Simplify.
1247 (bbdb-edit-field): Doc fix.
1248 (bbdb-ident-point, bbdb-transpose-fields)
1249 (bbdb-delete-field-or-record): Use bbdb-record-field.
1250 (bbdb-completion-predicate): Use bbdb-hash-p.
1251 (bbdb-complete-mail): Compare with all AKAs. A plain message
1254 * lisp/bbdb-mual.el (bbdb-annotate-message): Compare with
1257 * lisp/bbdb-ispell.el (bbdb-ispell-export): Use bbdb-record-field.
1262 * lisp/bbdb.el (bbdb-mua-auto-update-p): Doc fix.
1263 (bbdb-message-pop-up): Change default to t.
1265 * lisp/bbdb-mua.el (bbdb-mua-auto-update)
1266 (bbdb-mua-auto-update-init): Doc fix.
1267 (bbdb-mua-auto-update): Simplify.
1269 * README: Clarify usage of bbdb-mua-auto-update.
1274 * lisp/bbdb.el (bbdb-add-name): Renamed from
1275 bbdb-accept-name-mismatch.
1276 (bbdb-add-aka): Renamed from bbdb-use-alternate-names.
1277 (bbdb-new-mails-primary): Renamed from
1278 bbdb-new-mails-always-primary.
1279 (bbdb-add-name, bbdb-add-aka, bbdb-add-mails)
1280 (bbdb-new-mails-primary): Unify set of allowed values.
1281 (bbdb-add-job, bbdb-eval-spec): New functions.
1282 (bbdb-mode): Update docstring.
1284 * lisp/bbdb-com.el (bbdb-merge-records): Use bbdb-add-aka.
1286 * lisp/bbdb-mua.el (bbdb-annotate-message): Use bbdb-add-name,
1287 bbdb-add-aka, bbdb-add-mails, and bbdb-new-mails-primary.
1290 * lisp/bbdb-mua.el (bbdb-message-header): Use
1291 gnus-fetch-original-field so that bbdb-select-message does not get
1295 * lisp/bbdb.el (bbdb-accept-name-mismatch): Allow value being a
1297 * lisp/bbdb-mua.el (bbdb-annotate-message): Use these new values.
1300 * lisp/bbdb-mua.el (bbdb-mua-edit-field): Bug fix.
1303 * lisp/bbdb.el (bbdb-record-set-field): Bug fix.
1306 * lisp/bbdb.el (bbdb-with-print-loadably): New macro.
1307 (bbdb-insert-record-internal, bbdb-overwrite-record-internal)
1308 (bbdb-sort-records): Use it.
1311 * lisp/bbdb-com.el (bbdb-complete-mail-cleanup): New function.
1312 (bbdb-complete-mail): Use it. In particular, clean up also when
1319 * lisp/bbdb.el (bbdb-electric, bbdb-inside-electric-display)
1320 (bbdb-quit-window, bbdb-electric-display-records)
1321 (bbdb-electric-throw, bbdb-quit-window)
1322 (bbdb-display-records-internal): Remove.
1323 (bbdb-display-records): Remove arg electric. Merge with
1324 bbdb-display-records-internal.
1325 (bbdb-redisplay-records): Use bbdb-display-records.
1327 * lisp/bbdb-com.el (bbdb-mail, bbdb-mail-address, bbdb-info):
1329 (bbdb-mail-abbrev-expand-hook): Use bbdb-display-records.
1331 * lisp/bbdb-mua.el (bbdb-mua-display-records)
1332 (bbdb-mua-auto-update): Use bbdb-display-records.
1338 bbdb-mua-display-sender was followed by, say, a call of
1339 bbdb-mua-display-recipients the second call also returned the
1343 * lisp/bbdb.el (bbdb-message-all-addresses)
1344 (bbdb-notice-mail-hook, bbdb-notice-record-hook): Fix docstring.
1345 (bbdb-message-caching, bbdb-message-cache): Remove.
1346 (bbdb-buffer): Remove cache flushing.
1348 * lisp/bbdb-mua.el (bbdb-update-records): Remove arg msg-key.
1350 (bbdb-message-get-cache, bbdb-message-set-cache)
1351 (bbdb-message-rem-cache): Remove.
1352 (bbdb-mua-update-records): Remove arg msg-key from calls of
1353 bbdb-update-records.
1356 * lisp/bbdb-com.el (bbdb-complete-mail): Use quit-window instead
1358 * lisp/bbdb.el (bbdb-complete-mail-saved-window-config): Remove.
1361 * lisp/bbdb-com.el (bbdb-complete-mail): Revert 2012-07-06 change.
1364 * lisp/bbdb-mua.el (bbdb-annotate-message): Simplify.
1367 * lisp/bbdb.el (bbdb-suppress-changed-records-recording): Remove.
1368 (bbdb-puthash, bbdb-gethash, bbdb-remhash): Ignore keys that are
1370 (bbdb-hash-record): Explicitly hash name.
1371 (bbdb-change-record, bbdb-delete-record-internal)
1372 (bbdb-insert-record-internal, bbdb-overwrite-record-internal):
1373 Operate on hash table and bbdb-changed-records list only when
1376 * lisp/bbdb-com.el (bbdb-delete-records): Remove record from hash
1378 (bbdb-merge-records): Do not add new-record to the list of changed
1379 records, which is done already by bbdb-change-record.
1382 * lisp/bbdb-com.el (bbdb-complete-mail): Do not call quit-window.
1387 * lisp/bbdb-com.el (bbdb-merge-records): Improve interactive call
1391 * lisp/bbdb.el (bbdb-allow-duplicates, bbdb-hash-update)
1392 (bbdb-record-set-field): Fix docstring.
1393 * lisp/bbdb-com.el (bbdb-merge-records): Do not through an error
1398 * lisp/bbdb-com.el (bbdb-complete-mail): When a single record
1401 bbdb-dwim-mail gives us something different from what we have.
1405 * lisp/bbdb-mua.el (bbdb-annotate-message): Simplify. Create new
1409 * lisp/bbdb.el (bbdb-gethash): Allow value of t for arg predicate.
1412 * lisp/bbdb-com.el (bbdb-message-search): Allow args name or mail
1416 * lisp/bbdb.el: Simplify previous patch.
1417 (bbdb-electric-execute, bbdb-electric-quit, bbdb-electric-quit):
1419 (bbdb-display-records): Simplify.
1420 (bbdb-electric-display-records): Fix docstring. Simplify. Remove
1425 * lisp/bbdb.el (bbdb-electric-display-records): Fix previous
1429 * lisp/bbdb.el: Autoload bbdb-search and bbdb-search-prompt.
1430 (bbdb-display-records): Make records a required arg. Do not
1432 bbdb-electric-display-records.
1433 (bbdb-electric-display-records): New optional args layout, append,
1438 * lisp/bbdb.el (bbdb-mua-update-interactive-p)
1439 (bbdb-mua-auto-update-p, bbdb-update-records-p): Update docstring.
1440 (bbdb-canonicalize-mail-function): Update docstring.
1441 (bbdb-message-caching): Use default nil till caching is fixed.
1442 (bbdb-cache-deleted-p, bbdb-cache-set-deleted-p)
1443 (bbdb-record-deleted-p, bbdb-record-set-deleted-p): Removed.
1444 (bbdb-display-name-organization): Use memq.
1446 * lisp/bbdb-mua.el (bbdb-mua, bbdb-message-header): Use memq.
1447 (bbdb-get-address-components): Allow mail to be nil. Use
1449 (bbdb-update-records): New value update for arg update-p. Use
1451 (bbdb-message-get-cache): Simplify.
1452 (bbdb-message-set-cache): Remove old value from cache.
1453 (bbdb-annotate-message): New value update for arg update-p.
1454 Operate on all records found by bbdb-message-search. Return list
1456 (bbdb-mua-update-records): Use memq.
1457 (bbdb-auto-notes): Use member-ignore-case and assoc-string.
1459 * lisp/bbdb-com.el (bbdb-read-name, bbdb-insert-field): Use memq.
1460 (bbdb-complete-mail): Use member-ignore-case.
1462 * lisp/bbdb-message.el (bbdb/message-update-records-p)
1463 * lisp/bbdb-rmail.el (bbdb/rmail-update-records-p)
1464 * lisp/bbdb-mhe.el (bbdb/mh-update-records-p)
1465 * lisp/bbdb-gnus.el (bbdb/gnus-update-records-p)
1466 * lisp/bbdb-vm.el (bbdb/vm-update-records-p): Update
1469 * lisp/bbdb-print.el (bbdb-print-record): Do not use
1470 bbdb-record-deleted-p.
1475 * lisp/bbdb-mua.el (bbdb-get-address-components)
1476 (bbdb-message-get-cache, bbdb-message-set-cache)
1477 (bbdb-message-rem-cache, bbdb-mua-annotate-sender)
1478 (bbdb-mua-annotate-recipients, bbdb-mua-edit-field)
1479 (bbdb-canonical-hosts, bbdb-canonicalize-mail-1)
1480 (bbdb-mail-redundant-p, bbdb-delete-redundant-mails)
1481 (bbdb-message-clean-name-default): Fix docstring.
1484 * lisp/bbdb-mua.el (bbdb-mua-annotate-sender)
1485 (bbdb-mua-annotate-recipients, bbdb-mua-edit-field)
1486 (bbdb-mua-edit-field-sender, bbdb-mua-edit-field-recipients): New arg
1488 (bbdb-mua-edit-field-interactive): Handle arg update-p.
1491 * lisp/bbdb-mua.el (bbdb-update-records): Fix previous patch.
1494 * lisp/bbdb-mua.el (bbdb-update-records): Make records a list
1498 * lisp/bbdb-com.el (bbdb-complete-mail): Use window-live-p.
1501 * lisp/bbdb-mua.el (bbdb-mua-edit-field): Revert previous change.
1505 * lisp/bbdb-com.el (bbdb-complete-mail): Use `quit-window' instead
1509 * lisp/bbdb-mua.el (bbdb-mua-edit-field): Edit THE record for THE
1513 * lisp/bbdb.el (bbdb-record-name, bbdb-record-name-lf): Fix
1515 * lisp/bbdb-com.el (bbdb-search): Also search last_first names.
1517 (bbdb-message-search): Fix docstring.
1520 * lisp/bbdb-mua.el (bbdb-get-address-components): name may be nil.
1524 bbdb-autoloads.el -> bbdb-loaddefs.el.
1527 * lisp/bbdb-mua.el (bbdb-update-records): Use bbdb-message-search
1528 instead of bbdb-search when `update-p' is `search' so that all
1530 * lisp/bbdb-mua.el (bbdb-annotate-message): Do not offer to
1533 * lisp/bbdb.el (bbdb-label-completion-list): Use symbol-value
1535 * lisp/bbdb-mua.el (bbdb-update-records): Ditto.
1538 * lisp/bbdb.el (bbdb-read-only, bbdb-initialize-hook)
1539 (bbdb-mode-hook, bbdb-layout-alist, bbdb-case-fold-search)
1540 (bbdb-message-caching, bbdb-complete-mail-allow-cycling)
1541 (bbdb-after-save-hook, bbdb-completion-display-record)
1542 (bbdb-update-records-address, bbdb-warn, bbdb-split, bbdb-concat)
1543 (bbdb-read-string, bbdb-current-record, bbdb-debug)
1544 (bbdb-timestamp, bbdb-creation-date, bbdb-gethash)
1545 (bbdb-hash-record, bbdb-record-name, bbdb-record-name-lf)
1546 (bbdb-record-sortkey, bbdb-record-set-sortkey, bbdb-record-marker)
1547 (bbdb-record-set-marker, bbdb-record-deleted-p)
1548 (bbdb-record-set-deleted-p, bbdb-merge-concat)
1549 (bbdb-merge-string-least, bbdb-merge-string-most)
1550 (bbdb-phone-string, bbdb-error-retry, bbdb-display-list)
1551 (bbdb-display-record-one-line, bbdb-display-record-multi-line)
1552 (bbdb-display-records, bbdb-display-records-internal)
1553 (bbdb-redisplay-record, bbdb-pop-up-window)
1554 (bbdb-electric-display-records, bbdb-electric-throw)
1555 (bbdb-electric-quit, bbdb-quit-window, bbdb-mouse-menu, bbdb-save)
1556 (bbdb-offer-to-create bbdb-lastname-suffixes)
1557 (bbdb-update-records-p, bbdb-new-mails-always-primary): Fix
1559 (bbdb-mail-user-agent): Untabify.
1564 * lisp/bbdb.el (bbdb-allow-duplicates): Rename from
1565 bbdb-no-duplicates to match the unchanged docstring of this
1567 (bbdb-record-Notes): Rename from bbdb-record-notes to avoid name
1569 (bbdb-puthash): Do not hash empty strings.
1570 (bbdb-gethash): New arg predicate.
1571 (bbdb-check-name): New function.
1572 (bbdb-record-set-name): For args first and last allow new value t.
1573 Use bbdb-check-name.
1574 (bbdb-record-name, bbdb-record-name-lf): Use it.
1575 (bbdb-record-set-field): Use it. Simplify.
1576 (bbdb-label-completion-default, bbdb-data-completion-list)
1577 (bbdb-data-completion-default): Remove unused function.
1578 (bbdb-buffer): Handle here that bbdb-file might have changed on
1579 disk and auto-save file could be newer than bbdb-file instead of
1580 bbdb-records doing this.
1581 (bbdb-revert-buffer): Fix docstring. Use prefix arg as in
1582 revert-buffer. Use variable bbdb-buffer instead of function
1583 bbdb-buffer to avoid recursion.
1584 (bbdb-parse-records): Rename from bbdb-parse-internal. Add
1585 docstring. Do not polute buffer-undo-list when reading bbdb-file.
1586 Use unwind-protect. Merge with bbdb-parse-frobnicate. Handle
1587 bbdb-allow-duplicates properly.
1588 (bbdb-with-db-buffer): Add docstring.
1589 (bbdb-display-record-one-line, bbdb-display-record-multi-line):
1591 (bbdb-pop-up-window): Fix docstring.
1592 (bbdb-sendmail-menu): Add docstring.
1593 (bbdb-electric-quit): Rename from bbdb-electric-done.
1594 (bbdb-electric-display-records): Simplify.
1596 * lisp/bbdb-com.el (bbdb-editable): Fix docstring. Check more
1598 (bbdb-message-search): Use bbdb-buffer.
1599 (bbdb-read-record): Use bbdb-buffer and bbdb-check-name.
1600 (bbdb-create-internal): Fix docstring. Use bbdb-check-name.
1601 (bbdb-edit-field): Merge with bbdb-record-edit-name.
1602 (bbdb-record-edit-name): Remove.
1603 (bbdb-completion-predicate): Bug fix.
1604 (bbdb-complete-mail): Use bbdb-buffer and
1605 bbdb-completion-predicate.
1606 (bbdb-search-duplicates, bbdb-message-search)
1607 (bbdb-create-internal): Use arg predicate of bbdb-gethash.
1609 * lisp/bbdb.el (bbdb-gethash): New arg predicate.
1610 (bbdb-check-name, bbdb-record-set-field, bbdb-parse-records) Use
1612 * lisp/bbdb-com.el (bbdb-search-duplicates, bbdb-message-search)
1613 (bbdb-create-internal): Use it.
1615 * lisp/bbdb-mua.el (bbdb-message-get-cache): Use bbdb-buffer.
1617 * lisp/bbdb.el (bbdb-message-clean-name-function)
1618 (bbdb-message-mail-as-name): New variables.
1619 * lisp/bbdb-mua.el (bbdb-get-address-components)
1620 (bbdb-annotate-message): Use them.
1621 (bbdb-message-clean-name-default): Rename from
1622 bbdb-message-clean-name. Clean names properly, too.
1627 * lisp/bbdb.el (bbdb-auto-notes-rules): Use :set keyword to reset
1628 `bbdb-auto-notes-rules-expanded' when `bbdb-auto-notes-rules' is set.
1631 * lisp/bbdb-anniv.el (bbdb-anniv-list): Clarify docstring.
1634 * lisp/bbdb.el: Do not use custom-loads for bbdb-mua.el and
1635 bbdb-com.el. Use symbols for custom-loads.
1636 (bbdb-utilities-ispell): Group renamed and moved here from
1637 bbdb-ispell.el.
1638 (bbdb-utilities-print): Group renamed from bbdb-print.
1639 (bbdb-utilities-dialing): Group renamed from bbdb-dialing.
1640 * lisp/bbdb-ispell.el, lisp/bbdb-print.el: Updated accordingly.
1643 * lisp/bbdb-anniv.el (bbdb-anniv-diary-entries): Remove leading
1648 bbdb-loaddefs.el.
1651 * lisp/bbdb-anniv.el (bbdb-anniv-alist): New format specification
1653 (bbdb-anniv-diary-entries): Use it. Handle diary's backup forms
1658 * lisp/Makefile.in, doc/Makefil.in, doc/bbdb.texi:
1660 * tex/bbdb-cols.tex, tex/bbdb-print-brief.tex, tex/bbdb-print.tex:
1665 * lisp/bbdb-ispell.el: Header updated. Prefix bbdb-spell replaced
1666 by bbdb-ispell.
1667 (bbdb-ispell): New custom group.
1668 (bbdb-ispell-dictionary-list): Renamed from bbdb-spell-dictionary.
1669 (bbdb-ispell-field-list): Renamed from bbdb-spell-field.
1670 (bbdb-ispell-export): Merged with bbdb-spell-add-word.
1671 (bbdb-ispell-collect-words): Renamed from
1672 bbdb-spell-export-field. Merged with bbdb-spell-append-word.
1675 * lisp/bbdb-ispell.el: New file
1680 * lisp/bbdb.el: Revert change from 2011-10-11. Loading
1681 bbdb-autoloads.el is sufficient.
1687 * lisp/bbdb.el (bbdb-image-suffixes): Fix typo.
1692 * lisp/bbdb.el (bbdb-message-try-all-headers)
1693 (bbdb-user-mail-address-re): Clarify doc string.
1694 (bbdb-defstruct): Do not update bbdb-mail-aliases-need-rebuilt.
1695 (bbdb-record-set-note): Update bbdb-mail-aliases-need-rebuilt.
1696 (bbdb-record-set-name): Update name in cache and hash.
1697 (bbdb-record-unset-name): Removed (obsolete).
1698 (bbdb-hash-update): New function.
1699 (bbdb-record-set-field): Use it.
1700 (bbdb-records): Initiate variable bbdb-records.
1701 (bbdb-parse-internal): Use bbdb-goto-first-record.
1702 (bbdb-goto-first-record): Move backward only if we found a first
1705 * lisp/bbdb-com.el (bbdb-insert-field)
1706 (bbdb-delete-field-or-record): Use bbdb-record-set-field.
1707 (bbdb-edit-field): New optional arg value. Handle affix,
1709 (bbdb-record-edit-affix, bbdb-record-edit-organziation)
1710 (bbdb-record-edit-mail, bbdb-record-edit-aka)
1711 (bbdb-record-edit-note): Removed.
1713 * lisp/bbdb.el (bbdb-mail-avoid-redundancy) Renamed from
1714 bbdb-mail-allow-redundancy.
1715 * lisp/bbdb-com.el (bbdb-dwim-mail): Update it accordingly.
1717 * lisp/bbdb.el (bbdb-update-records-p): Change default to less
1719 (bbdb-mua-auto-update-p): New variable
1720 * lisp/bbdb-mua.el (bbdb-mua-auto-update): Use it.
1721 (bbdb-update-records): Resolve arg update-p up to two times.
1722 * lisp/bbdb-message.el (bbdb/message-update-records-p)
1723 * lisp/bbdb-rmail.el (bbdb/rmail-update-records-p)
1724 * lisp/bbdb-gnus.el (bbdb/gnus-update-records-p)
1725 * lisp/bbdb-mhe.el (bbdb/mh-update-records-p)
1726 * lisp/bbdb-vm.el (bbdb/vm-update-records-p): Doc fix.
1728 * lisp/bbdb-mua.el (bbdb-annotate-record): Convert annotation into
1730 (bbdb-mua-edit-field-interactive): New function.
1731 (bbdb-mua-edit-field): New command.
1732 (bbdb-mua-edit-field-sender, bbdb-mua-edit-field-recipients): Use
1735 * lisp/bbdb.el (bbdb-image, bbdb-image-path, bbdb-image-suffixes):
1737 (bbdb-display-name-organization): Use them to display images for
1740 * lisp/bbdb-migrate.el (bbdb-undocumented-variables): New command.
1744 * lisp/bbdb.el: Autoload `bbdb-insinuate-gnus' from bbdb-gnus.el
1745 so `bbdb-initialize' won't throw an error when passed 'gnus.
1749 * lisp/bbdb.el (bbdb-name-format, bbdb-read-name-format)
1750 (bbdb-name-face-alist): New user variables.
1751 (bbdb-record-name-lf): New function.
1752 (bbdb-display-name-organization): Use bbdb-name-format for
1755 (bbdb-layout-list): Omit name-format and name-face
1757 (bbdb-separator-alist): New default values for name-first-last and
1759 (bbdb-record-set-name): Use them.
1760 * lisp/bbdb-com.el (bbdb-read-name): New function.
1761 (bbdb-read-record, bbdb-record-edit-name): Use it. New optional
1764 * lisp/bbdb.el: (bbdb-merge-notes-function): Removed (obsolete).
1765 (bbdb-record-type): New internal variable.
1766 (bbdb-check-type): Moved here from lisp/bbdb-com.el. Use the
1767 pseudo-code of bbdb-record-type.
1768 (bbdb-record-get-field, bbdb-merge-concat)
1769 (bbdb-merge-concat-remove-duplicates, bbdb-merge-string-least)
1770 (bbdb-merge-string-most, bbdb-merge-lists, bbdb-divide-name)
1771 (bbdb-parse-postcode): Moved here from lisp/bbdb-com.el.
1772 (bbdb-merge-note): Rewrite.
1773 (bbdb-record-set-field): Moved here from lisp/bbdb-com.el. New
1775 (bbdb-record-note-intern): New function.
1776 (bbdb-record-set-note): Throw error if the name of a note field
1778 (bbdb-parse-frobnicate): Include all note fields in
1779 bbdb-notes-label-list.
1780 * lisp/bbdb-com.el (bbdb-create-internal): Use bbdb-check-type.
1781 (bbdb-merge-records-internal): Removed (merged with
1782 bbdb-merge-records).
1783 (bbdb-merge-records): Use bbdb-record-set-field.
1784 * lisp/bbdb-mua.el (bbdb-annotate-record): Renamed from
1785 bbdb-annotate-note. Use bbdb-record-set-field.
1787 * lisp/bbdb.el (bbdb-initialize): Do not require bbdb-autoloads.
1789 * lisp/bbdb.el (bbdb-phone-string): Fix error message.
1791 * lisp/bbdb.el (bbdb-error-retry): Use progn.
1793 * lisp/bbdb.el (bbdb-message-try-all-headers): New user variable.
1794 * lisp/bbdb-mua.el (bbdb-get-address-components): Use it.
1796 * lisp/bbdb-print.el (bbdb-print): Do not use \catcode.
1799 * lisp/bbdb.el (bbdb-pop-up-window): Remove Gnus-specific code
1803 * lisp/bbdb-com.el (bbdb-browse-url): Fix usage of prefix arg.
1806 * lisp/bbdb-com.el (bbdb-add-mail-alias): Fix completion list used
1810 * lisp/bbdb.el (bbdb-mode-map): Use / as search prefix.
1813 * lisp/bbdb.el (bbdb-dial-function): New variable.
1814 (bbdb-sound-player, bbdb-sound-files, bbdb-modem-dial)
1815 (bbdb-modem-device, bbdb-sound-volume): Removed (obsolete).
1817 * lisp/bbdb-com.el (bbdb-dial-number): Use browse-url and
1818 bbdb-dial-function.
1819 (bbdb-play-sound): Removed (obsolete)
1822 * lisp/bbdb-com.el (bbdb-dial): First remove extension. Simplify.
1825 * lisp/bbdb.el (bbdb-version): Do not use interactive-p.
1827 * lisp/bbdb-message.el: Require sendmail for mail-mode-map.
1829 * lisp/bbdb-anniv.el (number): Use with-no-warnings.
1831 * lisp/bbdb-com.el (bbdb-divide-name): Fix regexp for matching
1835 * lisp/bbdb-mua.el (bbdb-update-records): Fix previous patch.
1836 (bbdb-prompt-for-create): Use special-mode.
1839 * lisp/bbdb.el (bbdb-notice-mail-hook): Rename from
1840 bbdb-notice-hook.
1841 (bbdb-notice-record-hook): New variable.
1842 (bbdb-notice-hook-pending): Update doc string.
1844 * lisp/bbdb-mua.el (bbdb-update-records): Call
1845 bbdb-notice-record-hook.
1846 (bbdb-annotate-message): Use bbdb-notice-mail-hook.
1848 * lisb/bbdb-vm.el (bbdb/vm-auto-add-label): Update doc string.
1851 * lisp/bbdb-com.el (bbdb-display-all-records): Use redisplay. Why
1855 * lisp/bbdb-com.el (bbdb-merge-records-internal): Fix typo
1858 * lisp/bbdb-mua.el (bbdb-auto-notes): Fix typo
1861 * lisp/bbdb-com.el (bbdb-display-current-record): New command.
1862 (bbdb-display-all-records): Improve docstring.
1864 * lisp/bbdb.el (bbdb-mode-map): Key bindings for
1865 bbdb-display-all-records and bbdb-display-current-record.
1868 * lisp/bbdb.el (bbdb-init-forms): Fix typo.
1869 (bbdb-parse-internal): Clarify error message.
1872 * lisp/bbdb-migrate.el (bbdb-peel-the-onion): New function.
1873 (bbdb-migrate): Use it for cleaning up corrupted BBDB files.
1879 * lisp/bbdb.el, lisp/bbdb-com.el, lisp/bbdb-migrate.el,
1880 lisp/bbdb-print.el: Rename degree field to affix.
1883 * lisp/bbdb.el (bbdb-display-name-organization): Include name in
1885 (bbdb-scan-property): New function.
1886 (bbdb-next-record, bbdb-prev-record): Use it.
1887 (bbdb-next-field, bbdb-prev-field): New commands bound to "N" and
1891 * lisp/bbdb.el (bbdb-pop-up-window): Rename from
1892 bbdb-pop-up-buffer.
1893 * lisp/bbdb.el (bbdb-display-records-internal)
1894 * lisp/bbdb-com.el (bbdb-complete-mail): Use new name.
1897 * lisp/bbdb.el (bbdb-pop-up-buffer): Distinguish 1 and 1.0 in
1898 bbdb-pop-up-window-size.
1901 * lisp/bbdb-message.el (bbdb-insinuate-message)
1902 (bbdb-insinuate-mail)
1903 * lisp/bbdb-rmail.el (bbdb-insinuate-rmail)
1904 * lisp/bbdb-gnus.el (bbdb-insinuate-gnus)
1905 * lisp/bbdb-mhe.el (bbdb-insinuate-mh)
1906 * lisp/bbdb-vm.el (bbdb-insinuate-vm): Fix docstring.
1909 * lisp/bbdb.el (bbdb-mode-map): Do no call set-keymap-parent which
1914 * lisp/bbdb.el (bbdb-create-hook, bbdb-change-hook): Use defvar.
1917 * lisp/bbdb.el (bbdb-time-stamp-format): Includes timezone info.
1923 * lisp/bbdb.el (bbdb-faces): Group of faces used by BBDB.
1924 (bbdb-name, bbdb-organization, bbdb-field-name): New faces.
1925 (bbdb-display-name-organization, bbdb-display-record-one-line)
1926 (bbdb-display-record-multi-line): Use them.
1929 * lisp/bbdb.el (bbdb-mode-map): Inherit from special-mode-map.
1930 (bbdb-quit-window): Renamed from bbdb-bury-buffer. Use
1932 (bbdb-mode): Use define-derived-mode.
1935 * lisp/bbdb.el (bbdb-indent-string): New function.
1936 (bbdb-display-record-multi-line): Use it. (Bug#33101)
1939 * lisp/bbdb-com.el: Autoload browse-url-url-at-point.
1942 * lisp/bbdb.el (bbdb-create-hook, bbdb-change-hook): Call
1946 * lisp/bbdb-com.el (bbdb-complete-mail): Ensure initialization of
1950 * lisp/bbdb.el (bbdb-utilities-anniv): New customization group.
1951 (bbdb-create-hook, bbdb-change-hook)
1952 (bbdb-after-change-hook, bbdb-notice-hook)
1953 (bbdb-default-separator): Improve doc string.
1954 (bbdb-separator-alist): Improve doc string. Include entries for
1956 (bbdb-records): Use make-variable-buffer-local.
1957 (bbdb-current-field): Do not remove field-name.
1958 (bbdb-record-note): Simplified.
1959 (bbdb-record-note-n): Removed.
1960 (bbdb-record-note-split): New function.
1961 (bbdb-record-set-note): Improved documentation.
1962 (bbdb-format-note, bbdb-record-format-note): New function.
1963 (bbdb-display-text): Renamed from bbdb-format-text.
1964 (bbdb-display-list): Renamed from bbdb-format-list.
1965 (bbdb-display-name-organization): Renamed from
1966 bbdb-format-name-organization.
1967 (bbdb-display-record-one-line): Renamed from
1968 bbdb-format-record-one-line. Unify text properties.
1969 (bbdb-display-record-multi-line): Renamed from
1970 bbdb-format-record-multi-line. Unify text properties.
1971 (bbdb-display-record-full-multi-line): Renamed from
1972 bbdb-format-record-full-multi-line.
1973 (bbdb-display-record-pop-up-multi-line): Renamed from
1974 bbdb-format-record-pop-up-multi-line.
1975 (bbdb-display-record): Renamed from bbdb-format-record.
1976 (bbdb-parse-internal, bbdb-parse-frobnicate): Simplified search
1978 (bbdb-delete-record-internal, bbdb-overwrite-record-internal):
1981 * lisp/bbdb-com.el (bbdb-editable): Throw error if *BBDB* buffer
1983 (bbdb-search): Use suffix -re for all args that are regular
1985 (bbdb-delete-duplicate-mails, bbdb-sort-addresses)
1986 (bbdb-sort-phones, bbdb-sort-notes): New optional arg update.
1987 (bbdb-record-edit-note): Renamed from bbdb-record-edit-notes.
1988 (bbdb-list-transpose, bbdb-ident-point): New functions.
1989 (bbdb-transpose-fields): Use them. Make code more robust such
1991 (bbdb-field-equal, bbdb-next-field): Removed (obsolete).
1992 (bbdb-mail-aliases, bbdb-get-mail-aliases, bbdb-add-mail-alias)
1993 (bbdb-browse-url): Use bbdb-record-note-split.
1995 * lisp/bbdb-mua.el (bbdb-mua-wrapper): Do not use
1997 (bbdb-mua-auto-update): Bug fix.
1999 * lisp/bbdb-rmail.el (bbdb-insinuate-rmail)
2000 * lisp/bbdb-mhe.el (bbdb-insinuate-mh): Bind to
2001 bbdb-mua-edit-notes-sender.
2003 * lisp/bbdb-vm.el (bbdb/vm-auto-folder, bbdb/vm-virtual-folder)
2004 (bbdb/vm-auto-add-label): Use bbdb-record-note-split.
2006 * lisp/bbdb-print.el (bbdb-print-omit-fields): Remove `omit'.
2008 * lisp/bbdb-anniv.el: New file.
2010 * lisp/Makefile: Honor lisp/bbdb-anniv.el.
2013 * lisp/bbdb.el (bbdb-modeline-info): New variable.
2014 (bbdb-mode): Use it.
2015 (bbdb-mode-map): Unify keybindings for search commands.
2016 (bbdb-sort-records): Update marker positions correctly.
2018 * lisp/bbdb-com.el (bbdb-append-display-p, bbdb-append-display)
2019 (bbdb-search-invert-p, bbdb-search-invert): Use
2020 bbdb-modeline-info.
2021 (bbdb-search): Also search for addresses. Simplify codde.
2022 (bbdb-search-address): New command.
2023 (bbdb-search-phone): Fix prompt.
2025 * lisp/bbdb-mua.el (bbdb-mua-wrapper): Simplify code.
2026 (bbdb-mua-auto-update-init): Doc fix.
2028 * lisp/bbdb-message.el (bbdb/message-update-records-p)
2029 * lisp/bbdb-rmail.el (bbdb/rmail-update-records-p)
2030 * lisp/bbdb-gnus.el (bbdb/gnus-update-records-p)
2031 * lisp/bbdb-mhe.el (bbdb/mh-update-records-p)
2032 * lisp/bbdb-vm.el (bbdb/vm-update-records-p): Doc fix.
2035 * lisp/bbdb.el (bbdb-address-format-list): New variable for
2037 from bbdb-address-format-alist).
2038 (bbdb-format-address): Use it.
2039 (bbdb-format-record-one-line, bbdb-format-record-multi-line): Use
2040 bbdb-format-address.
2041 (bbdb-address-edit-function, bbdb-format-streets)
2042 (bbdb-format-address-continental): Removed. Obsolete because of
2043 bbdb-address-format-list.
2044 (bbdb-format-record): Use funcall instead of eval.
2045 (bbdb-continental-postcode-regexp): Renamed from
2046 bbdb-continental-zip-regexp.
2047 (bbdb-check-postcode): Renamed from bbdb-check-zip.
2048 (bbdb-legal-postcodes): Renamed from bbdb-legal-zip-codes.
2049 (bbdb-expand-mail-aliases): Removed.
2050 (bbdb-notes-label-list): Renamed from bbdb-notes-names.
2051 (bbdb-parse-frobnicate): Calculate value of bbdb-notes-label-list
2053 (bbdb-set-notes-labels): Renamed from bbdb-set-notes-names. Do not
2054 write value of bbdb-notes-label-list.
2055 (bbdb-set-eq): Removed (obsolete).
2056 (bbdb-defstruct): Use defsubst.
2057 (bbdb-record-unset-name): Clarify code.
2058 (bbdb-initialize): Doc fix.
2060 * lisp/bbdb-com.el (bbdb-message-search): Use name only if mail
2062 (bbdb-parse-postcode): Renamed from bbdb-parse-zip.
2063 (bbdb-insert-field): In interactive calls ignore fields that are
2065 (bbdb-record-edit-phone): Convert format of phone number if old
2067 (bbdb-edit-field): Use new bbdb-record-edit-phone.
2068 (bbdb-record-edit-address): Use bbdb-address-format-list.
2069 (bbdb-edit-address-street): Renamed from
2070 bbdb-address-edit-street. Take arg street instead of address.
2071 (bbdb-edit-address-default): Renamed from
2072 bbdb-address-edit-default.
2073 (bbdb-address-edit-continental): Removed (obsolete).
2074 (bbdb-complete-mail-cleanup): Removed. Code merged with
2075 bbdb-complete-mail.
2076 (bbdb-complete-mail): Return non-nil if valid completion
2079 * lisp/bbdb-mua.el (bbdb-annotate-message): Use bbdb-string=.
2080 (bbdb-mua-wrapper): Also handle mail and message mode.
2081 (bbdb-mua-auto-update): Renamed from bbdb-mua-pop-up-bbdb-buffer.
2082 Perform auto update even if bbdb-message-pop-up is nil.
2083 (bbdb-mua-auto-update-init): Renamed from
2084 bbdb-mua-pop-up-init. Doc fix. Use memq instead of member.
2085 (bbdb-force-record-create): Removed (obsolete).
2087 * lisp/bbdb-migrate.el (bbdb-migrate-postcodes-to-strings):
2088 Renamed from bbdb-migrate-zip-codes-to-strings.
2090 * lisp/bbdb-print.el (bbdb-print-tex-quote-alist): Fix regexp.
2091 (bbdb-print-address-format-list): Renamed from
2092 bbdb-print-address-format-alist. Use bbdb-address-format-list as
2094 (bbdb-print): Use bbdb-format-address.
2095 (bbdb-print-address-continental): Removed.
2099 bbdb-autloads.el.
2104 * lisp/Makefile: In bbdb-autloads.el, add BBDB lisp directory to
2107 * lisp/bbdb.el (bbdb-pop-up-buffer): Use condition-case, in case
2109 (bbdb-records, bbdb-mode, bbdb-version, bbdb-initialize): Add
2113 * lisp/bbdb-mua.el (bbdb-mua-update-records): For Gnus use
2115 (bbdb-mua-wrapper): New macro.
2116 (bbdb-mua-display-records, bbdb-mua-annotate-sender)
2117 (bbdb-mua-annotate-recipients, bbdb-mua-edit-notes-sender)
2118 (bbdb-mua-edit-notes-recipients): Use it.
2119 (bbdb-mua-update-mua): Removed (obsolete because of
2120 bbdb-mua-wrapper).
2122 * lisp/bbdb-gnus.el (bbdb-insinuate-gnus): Code doc updated.
2124 * lisp/bbdb-com.el (bbdb-complete-name): Obsolete alias for
2125 bbdb-complete-mail.
2128 * lisp/bbdb.el (bbdb-message-headers, bbdb-accept-name-mismatch)
2129 (bbdb-use-alternate-names): Fix docstring.
2130 (bbdb-auto-notes-rules): Renamed from bbdb-auto-notes-alist. New
2132 (bbdb-auto-notes-ignore-messages): Renamed from
2133 bbdb-auto-notes-ignore-all.
2134 (bbdb-auto-notes-ignore-headers): Renamed from
2135 bbdb-auto-notes-ignore.
2136 (bbdb-pop-up-window-size): Fix docstring.
2137 (bbdb-horiz-pop-up-window-size): New variable.
2138 (bbdb-pop-up-buffer): Use it.
2139 (bbdb-auto-notes-rules-expanded): New variable.
2141 * lisp/bbdb-com.el: Use eval-and-compile.
2142 (bbdb-subint): Moved here from lisp/bbdb.el. Simplified.
2143 (bbdb-parse-phone): Return value always includes extension.
2144 (bbdb-read-record): Simplified accordingly.
2145 (bbdb-prompt-for-new-field): Use phone number style as returned
2146 from bbdb-parse-phone.
2148 * lisp/bbdb-mua.el: Use eval-and-compile.
2149 (bbdb-update-records): Avoid name clash with function search in
2151 (bbdb-message-header-re): New function.
2152 (bbdb-accept-message): Use it.
2153 (bbdb-get-address-components): Also return MUA.
2154 (bbdb-annotate-message): Bug fix. Simplify.
2155 (bbdb-mua-pop-up-init): New function.
2156 (bbdb-auto-notes): Complete re-write.
2158 * lisp/bbdb-message.el (bbdb-insinuate-message)
2159 (bbdb-insinuate-mail)
2160 * lisp/bbdb-rmail.el (bbdb-insinuate-rmail)
2161 * lisp/bbdb-gnus.el (bbdb-insinuate-gnus)
2162 * lisp/bbdb-mhe.el (bbdb-insinuate-mh)
2163 * lisp/bbdb-vm.el (bbdb-insinuate-vm): Do not hook in
2164 bbdb-mua-pop-up-bbdb-buffer. (Use instead bbdb-mua-pop-up-init.)
2167 * lisp/bbdb.el (bbdb-mua-message): New customization group.
2168 (bbdb-update-records-p): Value may also be a function.
2169 (bbdb-mua-update-interactive-p): New variable.
2170 (bbdb-init-forms): Add message and mail mode support. Sendmail is
2173 (bbdb-initialize): Updated accordingly. Do not test presence of
2175 (bbdb-insinuate-sendmail): Removed (use bbdb-insinuate-mail).
2176 ( bbdb-insinuate-message): Moved to bbdb-message.el.
2178 * lisp/bbdb-com.el (bbdb-mail, bbdb-mail-address): Simplified.
2180 * lisp/bbdb-mua.el (bbdb-mua, bbdb-message-header): New functions.
2181 (bbdb-get-address-components): Use bbdb-message-header.
2183 (bbdb-update-records): New arg msg-key. Handle message cache.
2185 (bbdb-mua-update-records, bbdb-mua-update-mua)
2186 (bbdb-mua-update-interactive-p, bbdb-mua-pop-up-bbdb-buffer): New
2188 (bbdb-mua-display-records, bbdb-mua-display-sender)
2189 (bbdb-mua-display-recipients, bbdb-mua-annotate-sender)
2190 (bbdb-mua-annotate-recipients, bbdb-mua-edit-notes-sender)
2191 (bbdb-mua-edit-notes-recipients): New commands.
2193 * lisp/bbdb-vm.el (bbdb/vm-header): Remove MIME decoding.
2194 (bbdb/vm-update-records, bbdb/vm-pop-up-bbdb-buffer)
2195 (bbdb/vm-show-records, bbdb/vm-show-sender)
2196 (bbdb/vm-show-recipients, bbdb/vm-annotate-sender)
2197 (bbdb/vm-edit-notes): Obsolete. Use instead generic functions in
2198 bbdb-mua.el.
2199 (bbdb-insinuate-vm): Use generic commands.
2201 * lisp/bbdb-gnus.el (bbdb/gnus-update-records)
2202 (bbdb/gnus-pop-up-bbdb-buffer, bbdb/gnus-show-records)
2203 (bbdb/gnus-show-sender, bbdb/gnus-show-recipients)
2204 (bbdb/gnus-annotate-sender, bbdb/gnus-edit-notes)
2205 (bbdb/gnus-summary-show-all-recipients): Obsolete. Use instead
2206 generic functions in bbdb-mua.el.
2207 (bbdb-insinuate-gnus): Use generic commands.
2208 (bbdb/gnus-lines-and-from-length): Removed as
2210 (bbdb/gnus-message-marker-field): New variable.
2211 (bbdb-message-marker-field): Declared obsolete.
2212 (bbdb/gnus-summary-get-sender, bbdb/gnus-summary-sender-in-bbdb)
2213 (bbdb/gnus-nnimap-folder-list-from-bbdb): Simplified.
2215 * lisp/bbdb-rmail.el (bbdb/rmail-update-records)
2216 (bbdb/rmail-pop-up-bbdb-buffer, bbdb/rmail-show-records)
2217 (bbdb/rmail-show-sender, bbdb/rmail-show-recipients)
2218 (bbdb/rmail-annotate-sender, bbdb/rmail-edit-notes)
2219 (bbdb/rmail-summary-show-all-recipients): Obsolete. Use instead
2220 generic functions in bbdb-mua.el.
2221 (bbdb-insinuate-rmail): Use generic commands. Remove defadvice
2225 * lisp/bbdb-mhe.el, lisp/bbdb-message.el: New files.
2230 * lisp/bbdb.el (bbdb-update-records-p): Fix docstring.
2231 (bbdb-message-pop-up): Change default to a less aggressive nil.
2232 (bbdb-format-record-one-line): Remove linebreaks from multi-line
2235 * lisp/bbdb-com.el (bbdb-delete-duplicate-mails)
2236 (bbdb-display-records-completely)
2237 (bbdb-display-records-with-layout, bbdb-copy-records-as-kill): Doc
2239 (bbdb-search-duplicates): Improved interactive spec. New arg
2241 (bbdb-delete-field-or-record): Make records a required arg. New
2243 (bbdb-delete-records, bbdb-toggle-records-layout)
2244 (bbdb-sort-addresses, bbdb-sort-phones, bbdb-sort-notes)
2245 (bbdb-add-mail-alias): Make records a required arg. Doc fix.
2246 (bbdb-mail-address): New command bound to M.
2247 (bbdb-mail): Use it. New arg verbose. Fix interactive spec.
2248 (bbdb-mail-yank): Renamed from bbdb-yank-addresses. Bug fix.
2249 (bbdb-yank-addresses): Declared obsolete.
2250 (bbdb-browse-url): Simplify. Doc fix.
2251 (bbdb-grab-url): Simplify.
2253 * lisp/bbdb-vm.el (bbdb/vm-update-records-p)
2254 * lisp/bbdb-gnus.el (bbdb/gnus-update-records-p)
2255 * lisp/bbdb-rmail.el (bbdb/rmail-update-records-p): Improved default.
2258 * lisp/bbdb.el (bbdb-wrap-column): New variable.
2259 (bbdb-format-list): Use bbdb-wrap-column and bbdb-separator-alist.
2260 (bbdb-layout-alist, bbdb-format-address-continental)
2261 (bbdb-format-address-default, bbdb-format-record-multi-line):
2265 * lisp/bbdb-com.el (bbdb-dwim-mail): Fix typo.
2268 * lisp/bbdb.el (bbdb-mail-allow-redundancy): Doc fix.
2269 (bbdb-mode-map): Include bbdb-do-all-records in "Use database"
2272 * lisp/bbdb-com.el (bbdb-record-list): Doc fix.
2273 (bbdb-dwim-mail): Arg MAIL may be a number,
2275 (bbdb-mail): New optional arg N to pick Nth mail address.
2278 * lisp/bbdb.el (bbdb-insert-record-internal): Handle empty
2280 * lisp/bbdb-com.el (bbdb-dwim-mail): Cleanup code.
2283 * lisp/bbdb-mua.el (bbdb-prompt-for-create): Quit with C-g.
2284 (bbdb-annotate-message) Call UPDATE-P only if record is not yet
2291 * lisp/bbdb.el (bbdb-completion-list): Element name replaced by
2294 * lisp/bbdb-com.el (bbdb-insert-field): Use remq instead of delq.
2295 (bbdb-complete-mail): Do not use trimmed version of the pattern
2299 * lisp/bbdb.el (bbdb-message-caching): Renamed from
2300 bbdb-message-caching-enabled.
2301 (bbdb-create-hook): Renamed from bbdb-create-hooks.
2302 (bbdb-change-hook): Renamed from bbdb-change-hooks.
2303 (bbdb-after-change-hook): Renamed from bbdb-after-change-hooks.
2304 (bbdb-notice-hook): Renamed from bbdb-notice-hooks.
2305 (bbdb-accept-message-alist): Renamed from
2306 bbdb-accept-messages-alist.
2307 (bbdb-ignore-message-alist): Renamed from
2308 bbdb-ignore-messages-alist.
2309 (bbdb-update-records-p): New user var.
2310 (bbdb-notice-hook-pending): Renamed from bbdb-inside-notice-hooks.
2311 (bbdb-user-mail-address-re): Renamed from bbdb-user-mail-names.
2312 (bbdb-mail-allow-redundancy): Renamed from
2313 bbdb-dwim-mail-allow-redundancy.
2314 (bbdb-check-auto-save-file): Renamed from
2315 bbdb-notice-auto-save-file.
2316 (bbdb-completion-list): Renamed from bbdb-completion-alist.
2317 (bbdb-mail-alias): Renamed from bbdb-mail-alias-mode.
2318 (bbdb-mail-user-agent): Replacement for bbdb-user-style.
2319 (bbdb-compose-mail): Renamed from bbdb-mail-internal.
2320 (bbdb-default-separator): Renamed from
2321 bbdb-notes-default-separator.
2322 (bbdb-separator-alist): Renamed from bbdb-notes-separator-alist.
2323 (bbdb-concat): Renamed from bbdb-join.
2325 * lisp/bbdb-com.el (bbdb-grab-url): Renamed from
2326 bbdb-url-grab-url.
2328 * lisp/bbdb-mua.el: New file. Content merged from bbdb-com.el and
2329 bbdb-hooks.el
2330 (bbdb-get-address-components): Changed calling sequence.
2331 (bbdb-message-header): Renamed from bbdb-message-field.
2332 (bbdb-accept-message): Renamed from bbdb-ignore-most-messages.
2333 (bbdb-ignore-message): Renamed from bbdb-ignore-some-messages.
2334 (bbdb-select-message): Renamed from
2335 bbdb-ignore-selected-messages-hook.
2336 (bbdb-auto-notes): Renamed from bbdb-auto-notes-hook.
2337 (bbdb-canonicalize-mail-1): Renamed from
2338 bbdb-sample-canonicalize-mail-function.
2340 * lisp/bbdb-print.el (bbdb-print-file): Renamed from
2341 bbdb-print-file-name.
2342 (bbdb-print-tex-quote-alist): New var.
2343 (bbdb-print-address-format-alist): Renamed from
2344 bbdb-address-print-format-alist.
2345 (bbdb-print-record): Renamed from bbdb-print-format-record.
2346 (bbdb-print-address-continental): Renamed from
2347 bbdb-print-format-address-continental.
2348 (bbdb-print-address-default): Renamed from
2349 bbdb-print-format-address-default.
2350 (bbdb-print-phone): Renamed from bbdb-print-phone-string.
2352 * lisp/bbdb-vm.el (bbdb/vm-auto-folder): Renamed from
2353 bbdb/vm-auto-folder-alist.
2354 (bbdb/vm-virtual-folder): Renamed from
2355 bbdb/vm-virtual-folder-alist.