Debian Codegraph @

ChangeLog

raw
1 2023-10-23 Roland Winkler <[email protected]>
2 Increase version number to 3.2.2d. Update copyright year.
3
4 2023-10-22 jao <[email protected]>
5 Support for notmuch mua.
6 * lisp/bbdb-notmuch.el: New file with auxiliary functions.
7 * lisp/bbdb.el (bbdb-init-functions): Register notmuch.
8 * lisp/bbdb-mua.el (bbdb-message-header, bbdb-mua-update-records)
9 (bbdb-mua-wrapper): Use the functions in bbdb-notmuch.el.
10 * lisp/Makefile.am, lisp/makefile-temp: Declare bbdb-notmuch.
11 * configure.ac, m4/emacs_notmuch: New EMACS_NOTMUCH macro to
12 declare notmuch's installation directory.
13
14 2023-10-22 Roland Winkler <[email protected]>
15 Silence the compiler.
16 * lisp/bbdb.el (bbdb-message-headers): Spell out :type.
17 (bbdb-display-record-one-line): Use delete-char.
18
19 2023-10-22 Roland Winkler <[email protected]>
20 Improve snarfing vCards.
21 * lisp/bbdb-snarf.el: Require qp.
22 (bbdb-snarf-vcard-adr-type-re, bbdb-snarf-vcard-tel-type-re): New
23 user variables.
24 (bbdb-snarf-vcard-property): Handle encoded vCard properties.
25 (bbdb-snarf-assoc): New function.
26 (bbdb-snarf-vcard-adr, bbdb-snarf-vcard-tel): Use it.
27
28 2022-07-05 Arash Esbati <[email protected]>
29 Silence the compiler.
30 * lisp/bbdb.el, lisp/bbdb-com.el: Fix unescaped single quotes in
31 docstrings.
32
33 2022-04-15 Roland Winkler <[email protected]>
34 Bug fix. New optional arg ident for bbdb-edit-field.
35 * lisp/bbdb-com.el (bbdb-edit-field, bbdb-read-name)
36 (bbdb-read-xfield, bbdb-read-organization)
37 (bbdb-record-edit-address, bbdb-edit-address-street)
38 (bbdb-record-edit-phone): New optional arg ident.
39 * lisp/bbdb-com.el (bbdb-mua-edit-field): Use it.
40 (bbdb-annotate-message): Bug fix.
41 * lisp/bbdb.el, configure.ac: Increase version number to 3.2.2b.
42
43 2022-03-28 Roland Winkler <[email protected]>
44 Increase version number to 3.2.2a.
45 * lisp/bbdb.el, configure.ac: Increase version number to 3.2.2a.
46 * NEWS: Updated.
47
48 2022-03-27 Roland Winkler <[email protected]>
49 * lisp/bbdb-mua.el (bbdb-message-header): Fix previous patch.
50
51 2022-03-26 Roland Winkler <[email protected]>
52 Support snarfing vCards.
53 * lisp/bbdb.el (bbdb-utilities-vcard): New custom group.
54 * lisp/bbdb-snarf.el (bbdb-snarf-rule-alist): New rule vcard.
55 (bbdb-snarf-vcard, bbdb-snarf-ignore-mail-re): New user variables.
56 (bbdb-snarf-sanity-check, bbdb-snarf-vcard-property)
57 (bbdb-snarf-vcard-name, bbdb-snarf-vcard-adr)
58 (bbdb-snarf-vcard-nickname, bbdb-snarf-vcard-email)
59 (bbdb-snarf-vcard-tel, bbdb-snarf-vcard-org, bbdb-snarf-vcard-uid)
60 (bbdb-snarf-vcard-url, bbdb-snarf-vcard-note): New functions.
61 (bbdb-snarf-vcard, bbdb-snarf-vcard-buffer): New commands.
62 (bbdb-snarf-paragraph, bbdb-snarf-yank, bbdb-snarf): New optional
63 arg no-display.
64 (bbdb-snarf): Discard record if it does not have a name or mail.
65 (bbdb-snarf-mail-address): Make it more robust.
66
67 2022-03-26 Roland Winkler <[email protected]>
68 * lisp/bbdb.el, configure.ac: Increase version number to 3.2.2.
69
70 2022-03-26 Sam Steingold <[email protected]>
71 * lisp/bbdb-mua.el (bbdb-message-header): For Gnus consider the
72 parent summary buffer. (Bug#54423)
73
74 2022-03-26 Roland Winkler <[email protected]>
75 * lisp/bbdb.el, lisp/bbdb-site.el.in, lisp/bbdb-com.el,
76 lisp/bbdb-mua.el, lisp/bbdb-tex.el: Use user-error where
77 appropriate.
78
79 2022-02-23 Roland Winkler <[email protected]>
80 Bugfix and polish previous patch.
81 * lisp/bbdb.el (bbdb-mua-auto-action): Fix docstring.
82 * lisp/bbdb-mua.el (bbdb-accept-message, bbdb-ignore-message)
83 (bbdb-select-message, bbdb-annotate-message): Fix docstring.
84 (bbdb-update-records): Fix action query.
85
86 2022-02-20 Roland Winkler <[email protected]>
87 Establish record-addresses associations before annotating records.
88 * lisp/bbdb.el (bbdb-mua-interactive-action): Renamed from
89 bbdb-mua-update-interactive-p.
90 (bbdb-mua-auto-action): Renamed from bbdb-mua-auto-update-p.
91 (bbdb-mua-action): Renamed from bbdb-update-records-p.
92 (bbdb-message-clean-mail-function): Renamed from
93 bbdb-canonicalize-mail-function.
94 (bbdb-message-ignore-mail-re, bbdb-message-ignore-name-re)
95 (bbdb-record-address-alist-function): New variables.
96 (bbdb-offer-to-create): Internal variable removed.
97 (bbdb-clean-address-components): Use bbdb-message-ignore-mail-re
98 and bbdb-message-ignore-name-re.
99 * lisp/bbdb-mua.el (bbdb-mua-interactive-action): Renamed from
100 bbdb-mua-update-interactive-p.
101 (bbdb-update-records): Establish record-addresses associations
102 before annotating records. Use
103 bbdb-record-address-alist-function.
104 (bbdb-query-create): Provide return value.
105 (bbdb-annotate-message): Perform action per record and
106 address-list.
107 * README: Update lingo.
108
109 2022-02-20 Roland Winkler <[email protected]>
110 * lisp/bbdb.el, configure.ac: Increase version number to 3.2.1.
111
112 2022-02-10 Roland Winkler <[email protected]>
113 * lisp/bbdb-mua.el (bbdb-mua-update-records): New versions of mu4e
114 use gnus-article-buffer instead of mu4e~view-buffer-name.
115
116 2022-02-10 Roland Winkler <[email protected]>
117 Update copyright. Quieten compiler.
118 * lisp/bbdb.el: Require cl-lib.
119
120 2021-01-07 Roland Winkler <[email protected]>
121 * lisp/bbdb-sc.el: Add third arg to define-obsolete-variable-alias
122 and define-obsolete-function-alias.
123
124 2020-09-28 Roland Winkler <[email protected]>
125 * lisp/bbdb-sc.el (bbdb-sc-attribution-field): Quieten compiler.
126
127 2020-09-28 Stefan Monnier <[email protected]>
128 * lisp/bbdb.el, lisp/bbdb-tex.el, lisp/bbdb-migrate.el: Require
129 cl-lib.
130
131 2020-08-29 David Maus <[email protected]>
132 Use wl sticky buffer name if necessary.
133 * lisp/bbdb-wl.el (bbdb/wl-header): Use wl sticky buffer name if
134 necessary.
135
136 2020-08-29 Stefan Monnier <[email protected]>
137 Use cl-defstruct to define BBDB record type.
138 * lisp/bbdb-com.el: Use cl-defstruct to define BBDB record type.
139 * lisp/bbdb-com.el, lisp/bbdb-com.el, lisp/bbdb-snarf.el:
140 * lisp/bbdb-migrate.el: Use setf to set records.
141
142 2020-01-01 Roland Winkler <[email protected]>
143 * lisp/bbdb-com.el (bbdb-search): New keywords :invert and
144 :case-fold. Allow arbitrary functions for keyword :bool.
145
146 2020-01-01 Roland Winkler <[email protected]>
147 * lisp/bbdb.el (bbdb-mode): Bind buffer-undo-list to t.
148
149 2020-01-01 Roland Winkler <[email protected]>
150 * lisp/bbdb.el: Declare functions used for insinuation.
151 (bbdb-init-functions): Renamed from bbdb-init-forms.
152
153 2019-09-27 Roland Winkler <[email protected]>
154 * lisp/bbdb-mua.el (bbdb-mua-auto-update-init): Use
155 wl-summary-redisplay-hook for wanderlust.
156
157 2019-06-08 Roland Winkler <[email protected]>
158 * bbdb-com.el (bbdb-search-read): When region is active make it
159 the default string to match.
160
161 2019-03-09 Stefan Monnier <[email protected]>
162 * bbdb-com.el, bbdb.el: Fix some warnings; plus cosmetic changes
163
164 * bbdb-com.el, bbdb.el: Use #' to quote functions.
165 * bbdb-com.el (bbdb-dial): Clarify backslash escaping in regexp.
166 (bbdb-mail-aliases): η-reduce.
167 (bbdb-mail-aliases): Use abbrev-symbol.
168 (bbdb-dial-number): Use bbdb--dial-default.
169
170 * bbdb.el: Move variable aliases before their target's definition.
171 (bbdb-merge-records-function, bbdb-dial-function):
172 (bbdb-canonicalize-mail-function): Use a non-nil default.
173 (bbdb--dial-default): New function.
174 (bbdb-init-forms): Use functions rather than "forms".
175 (bbdb-initialize): Adjust accordingly.
176
177 2018-09-06 Roland Winkler <[email protected]>
178 Fix support for Wanderlust.
179 * lisp/bbdb-mua.el (bbdb-mua-mode-alist): Include mime-view-mode.
180 * lisp/bbdb-wl.el (bbdb/wl-header): Use with-current-buffer.
181
182 2018-05-02 Roland Winkler <[email protected]>
183 * lisp/bbdb-mua.el (bbdb-message-header): Use rmail-get-header.
184 * lisp/bbdb-rmail.el (bbdb/rmail-header): Remove.
185
186 2018-03-30 Roland Winkler <[email protected]>
187 Unify the handling of new records, new fields and modified fields.
188
189 * bbdb.el (bbdb-check-name): Handle both names and akas. New
190 optional arg warn.
191 (bbdb-check-mail): New function.
192 (bbdb-register-record): Use bbdb-check-name and bbdb-check-mail.
193 New optional arg warn.
194 (bbdb-change-record): Fix docstring.
195
196 * bbdb.el (bbdb-record-set-field):
197 * bbdb-com.el (bbdb-read-record, bbdb-create-internal):
198 Use bbdb-check-name and bbdb-check-mail.
199
200 * bbdb-com.el (bbdb-record-edit-address): Allow arg address be nil
201 for new addresses.
202 (bbdb-record-edit-phone): Operate only on the phone number that we
203 change.
204 (bbdb-read-record, bbdb-read-field): Use bbdb-record-edit-phone.
205 Always use bbdb-record-set-field.
206
207 2018-03-26 Roland Winkler <[email protected]>
208 * bbdb.el (bbdb-register-record): Don't be fooled by existing
209 records.
210
211 2018-03-17 Vincent Belaïche <[email protected]>
212 * lisp/Makefile.am (abs_target): Make absolute path for
213 bbdb-loaddefs.el MSWindows aware.
214
215 2018-03-17 Roland Winkler <[email protected]>
216 * bbdb.el (bbdb-register-record): New function renamed from
217 bbdb-hash-record.
218 (bbdb-parse-records, bbdb-change-record): Use it.
219
220 2018-03-17 Roland Winkler <[email protected]>
221 * bbdb-com.el (bbdb-create-internal): Bug fix. Support old
222 calling sequence with warning.
223
224 2018-03-02 Stefan Monnier <[email protected]>
225 * bbdb.el: Add missing "Maintainer:" header
226
227 2018-01-06 Roland Winkler <[email protected]>
228 * configure.ac: Increase version number to 3.2.
229
230 2018-01-06 Roland Winkler <[email protected]>
231 * bbdb-tex.el (bbdb-tex-alist, bbdb-tex-address-layout): Declare
232 defcustom type.
233
234 2018-01-06 Roland Winkler <[email protected]>
235 * bbdb-vm-aux.el: Don't require VM when compiled.
236
237 2018-01-06 Stefan Monnier <[email protected]>
238 * bbdb-vm.el: Don't require VM when compiled.
239
240 Trim the list of required packages from VM.
241
242 * bbdb-gnus.el (bbdb-insinuate-gnus):
243 * bbdb-vm.el (bbdb-insinuate-vm): Use defalias.
244
245 2018-01-06 Roland Winkler <[email protected]>
246 * lisp/bbdb-gnus.el, lisp/bbdb-gnus-aux.el: Split from
247 lisp/bbdb-gnus.el.
248 * lisp/bbdb-vm.el, lisp/bbdb-vm-aux.el: Split from
249 lisp/bbdb-vm.el.
250 * lisp/Makefile.am, lisp/makefile-temp: Update accordingly.
251
252 2017-12-24 Roland Winkler <[email protected]>
253 * README: Update for elpa.git.
254
255 2017-11-17 Stefan Monnier <[email protected]>
256 Prepare BBDB for elpa.git.
257 * lisp/bbdb-anniv.el, lisp/bbdb-com.el, lisp/bbdb-ispell.el:
258 * lisp/bbdb-message.el, lisp/bbdb-mhe.el, lisp/bbdb-migrate.el:
259 * lisp/bbdb-mu4e.el, lisp/bbdb-mua.el, lisp/bbdb-pgp.el:
260 * lisp/bbdb-rmail.el, lisp/bbdb-site.el.in, lisp/bbdb-snarf.el:
261 * lisp/bbdb-tex.el, lisp/bbdb-wl.el, lisp/bbdb.el: Update
262 copyright notice. Follow conventions for comments. Use
263 declare-function. Provide arg WHEN for
264 define-obsolete-function-alias and define-obsolete-variable-alias.
265 * lisp/bbdb-site.el.in (bbdb-version-date): Remove.
266 (bbdb-tex-path): Use more flexible default.
267 * lisp/bbdb.el (bbdb-parse-records): Use function bbdb-version.
268 (bbdb-version): Use version header if variable bbdb-version is not
269 set sensibly.
270 * README, NEWS, TODO, tex/bbdb.sty, doc/bbdb.texi: Update
271 copyright notice.
272
273 2017-10-17 Roland Winkler <[email protected]>
274 * lisp/bbdb.el (bbdb-parse-records): Bug fix, hash record after
275 checking for duplicates.
276
277 2017-10-11 Roland Winkler <[email protected]>
278 * configure.ac: Use it.
279 * lisp/bbdb.el: Mention new mailing list [email protected].
280
281 2017-10-11 Roland Winkler <[email protected]>
282 * lisp/bbdb.el (bbdb-parse-records): Query before migrating BBDB
283 to new format.
284 (bbdb-delete-record-internal, bbdb-insert-record-internal)
285 (bbdb-overwrite-record-internal): Barf if buffer is read-only.
286
287 2017-10-11 Roland Winkler <[email protected]>
288 * lisp/bbdb-com.el (bbdb-search, bbdb-split-maybe): Fix docstring.
289 (bbdb-read-record): Fix calling sequence for calls to set record.
290
291 2017-08-09 Roland Winkler <[email protected]>
292 * lisp/bbdb-migrate.el (bbdb-migrate-uuid-xfield): New variable.
293
294 2017-08-09 Roland Winkler <[email protected]>
295 New field uuid. Make creation-date and timestamp immutable.
296 * lisp/bbdb.el (bbdb-create-hook, bbdb-change-hook): Use
297 defcustom.
298 (bbdb-merge-records-function): New variable.
299 (bbdb-layout-alist): Omit uuid.
300 (bbdb-xfields-sort-order, bbdb-merge-xfield-function-alist):
301 Ignore creation-date and timestamp.
302 (bbdb-file-format): Bump to 9.
303 (bbdb-record-type): Include uuid, creation-date and timestamp.
304 (bbdb-uuid-table): New variable.
305 (bbdb-timestamp, bbdb-creation-date): Declare obsolete.
306 (bbdb-uuid): New function.
307 (bbdb-hash-record): Hash uuid.
308 (bbdb-record-field, bbdb-record-set-field, bbdb-buffer)
309 (bbdb-display-record-one-line, bbdb-display-record-multi-line)
310 (bbdb-display-record): Handle uuid, creation-date and timestamp.
311 (bbdb-change-record): Use uuid.
312 * lisp/bbdb-com.el (bbdb-search): Use keywords for args. Handle
313 uuid, creation-date and timestamp. New option :bool.
314 (bbdb, bbdb-search-name, bbdb-search-organization)
315 (bbdb-search-address, bbdb-search-mail, bbdb-search-phone)
316 (bbdb-search-xfields, bbdb-mail-aliases, bbdb-get-mail-aliases):
317 Change accordingly.
318 (bbdb-compare-records): Compare any fields.
319 (bbdb-timestamp-older, bbdb-timestamp-newer, bbdb-creation-older)
320 (bbdb-creation-newer): Fix interactive spec.
321 (bbdb-creation-no-change): Use bbdb-record-timestamp.
322 (bbdb-read-record): Use bbdb-empty-record.
323 (bbdb-create): Fix call of bbdb-change-record.
324 (bbdb-split-maybe): New function.
325 (bbdb-create-internal): Use keywords for args.
326 (bbdb-edit-field, bbdb-edit-foo, bbdb-merge-records): Handle uuid,
327 creation-date and timestamp.
328 (bbdb-delete-records): Ignore records not known to BBDB.
329 * lisp/bbdb-snarf.el (bbdb-snarf)
330 * lisp/bbdb-mua.el (bbdb-annotate-message): Fix call of
331 bbdb-change-record.
332 * lisp/bbdb-migrate.el (bbdb-migration-features): Remove.
333 (bbdb-peel-the-onion): Merge with bbdb-migrate.
334 (bbdb-migrate): Handle format 9.
335 (bbdb-migrate-alist): Rename from bbdb-migration-spec.
336 (bbdb-migrate-record-lambda): Merge with bbdb-migrate-lambda.
337 (bbdb-migrate-lambda): Rename from bbdb-migrate-versions-lambda.
338 (bbdb-migrate-postcode-to-string): Rename from
339 bbdb-migrate-postcodes-to-strings. Simplify.
340 (bbdb-migrate-dates): Rename from bbdb-migrate-change-dates.
341 Simplify.
342 (bbdb-migrate-add-country): Rename from
343 bbdb-migrate-add-country-field.
344 (bbdb-undocumented-variables): Handle byte-obsolete-variable.
345
346 2017-07-25 Roland Winkler <[email protected]>
347 * Makefile.am: Fix rule BBDB_ELPA_FILES. (Bug#51563)
348
349 2017-07-25 Roland Winkler <[email protected]>
350 * lisp/bbdb-tex.el: Improve documentation.
351
352 2017-07-25 Roland Winkler <[email protected]>
353 * lisp/bbdb-tex.el (bbdb-tex): Bug fix. (Bug#51564)
354
355 2017-07-21 Roland Winkler <[email protected]>
356 * lisp/bbdb.el (bbdb-split): Fix previous patch.
357
358 2017-07-21 Roland Winkler <[email protected]>
359 * lisp/bbdb.el (bbdb-split): Use arg TRIM of split-string with
360 emacs-version >= 24.4.
361
362 2017-07-19 Roland Winkler <[email protected]>
363 * lisp/bbdb-tex.el (bbdb-tex): Allow empty space when calling
364 \usepackage.
365
366 2017-07-19 Roland Winkler <[email protected]>
367 * tex/bbdb.sty: Use \RequirePackage.
368
369 2017-07-19 Roland Winkler <[email protected]>
370 * lisp/bbdb-tex.el (bbdb-tex-alist): Improve docstring.
371
372 2017-07-03 Roland Winkler <[email protected]>
373 Use LaTeX for TeXing BBDB.
374 * lisp/bbdb-tex.el: Replacement for lisp/bbdb-print.el.
375 * lisp/bbdb-site.el.in (bbdb-tex-path): Renamed from
376 bbdb-print-tex-path. Allow new value t.
377 * lisp/bbdb.el (bbdb-utilities-tex): Renamed from
378 bbdb-utilities-print.
379 (bbdb-separator-alist): New element tex-name. Fix docstring.
380 * lisp/makefile-temp, lisp/Makefile.am: Use bbdb-tex.
381 * tex/bbdb-print-brief.tex, tex/bbdb-cols.tex, tex/bbdb-print.tex:
382 Removed.
383 * tex/bbdb.sty: New file.
384 * tex/Makefile.am: Update accordingly.
385
386 2017-01-31 Roland Winkler <[email protected]>
387 * README: Really discontinue support for GNU Emacs 23.
388
389 2017-01-30 Barak A. Pearlmutter <[email protected]>
390 * TODO: Extend feature wishlist.
391
392 2017-01-30 Barak A. Pearlmutter <[email protected]>
393 * README: Add pointer to emacs wiki upgrade page.
394
395 2017-01-30 Roland Winkler <[email protected]>
396 * README, lisp/bbdb-site.el.in: Discontinue support for GNU Emacs
397 23.
398
399 2017-01-28 Roland Winkler <[email protected]>
400 * lisp/bbdb-anniv.el (bbdb-anniv-diary-entries): Propertize the
401 strings passed to diary-add-to-list.
402 (bbdb-anniv-goto-entry): New function used as
403 diary-goto-entry-function.
404
405 2017-01-28 Roland Winkler <[email protected]>
406 * lisp/bbdb-anniv.el (bbdb-anniv-diary-entries): Use cl-flet.
407
408 2017-01-28 Roland Winkler <[email protected]>
409 * lisp/bbdb-anniv.el: Use lexical binding.
410 * lisp/bbdb-anniv.el (bbdb-anniv-diary-entries): Use lexical
411 environment for eval.
412
413 2017-01-28 Roland Winkler <[email protected]>
414 Discontinue support for old GNU Emacs 23.
415 * lisp/bbdb.el (bbdb-buffer, bbdb-revert):
416 * lisp/bbdb-com.el (bbdb-complete-mail): Update accordingly.
417
418 2017-01-28 Roland Winkler <[email protected]>
419 Update copyright year in all files.
420
421 2016-10-02 Roland Winkler <[email protected]>
422 * lisp/bbdb-com.el, lisp/bbdb-gnus.el, lisp/bbdb-ispell.el:
423 * lisp/bbdb-message.el, lisp/bbdb-mhe.el, lisp/bbdb-migrate.el:
424 * lisp/bbdb-mu4e.el, lisp/bbdb-mua.el, lisp/bbdb-pgp.el:
425 * lisp/bbdb-print.el, lisp/bbdb-rmail.el, lisp/bbdb-sc.el:
426 * lisp/bbdb-site.el.in, lisp/bbdb-snarf.el, lisp/bbdb-vm.el:
427 * lisp/bbdb-wl.el, lisp/bbdb.el: Use lexical binding.
428
429 * lisp/bbdb.el (bbdb-alist-with-header): Start name of unused
430 variables with underscore.
431 (bbdb-display-record-multi-line, bbdb-display-records): Remove
432 unused variable.
433 * lisp/bbdb-com.el (bbdb-omit-record):
434 * lisp/bbdb-snarf.el (bbdb-snarf-surrounding-space)
435 (bbdb-snarf-empty-lines):
436 * lisp/bbdb-migrate.el (bbdb-undocumented-variables): Start name
437 of unused variables with underscore.
438 * lisp/bbdb-mua.el (bbdb-get-address-components):
439 * lisp/bbdb-print.el (bbdb-print-record): Remove unused variable.
440 * lisp/bbdb-gnus.el: Autoload message-make-domain.
441 (bbdb/gnus-score-as-text): Start name of unused variables with
442 underscore.
443
444 2016-07-20 Roland Winkler <[email protected]>
445 * lisp/bbdb.el (bbdb-display-record-one-line)
446 * lisp/bbdb-snarf.el (bbdb-snarf-label, bbdb-snarf-phone-nanp):
447 Use 2nd arg of looking-back.
448
449 2016-07-20 Roland Winkler <[email protected]>
450 Update copyright year in all files.
451
452 2016-07-20 Roland Winkler <[email protected]>
453 * lisp/bbdb-mua.el (bbdb-mua-mode-alist): Add support for
454 mu4e-compose-mode and notmuch-message-mode which are derived from
455 message-mode.
456
457 2016-07-20 Roland Winkler <[email protected]>
458 * m4/emacs_wl.m4: New file
459 * configure.ac: Use it.
460 * NEWS, README: Document support for Wanderlust
461
462 2016-07-20 David Maus <[email protected]>
463 Add basic support for Wanderlust.
464 * lisp/Makefile.am, lisp/makefile-temp: Support Wanderlust.
465 * lisp/bbdb-mua.el (bbdb-mua-mode-alist, bbdb-mua)
466 (bbdb-message-header, bbdb-mua-update-records, bbdb-mua-wrapper):
467 Add support for Wanderlust.
468 (bbdb-mua-auto-update-init): Add wanderlust to list of auto-update
469 muas.
470 * lisp/bbdb.el (bbdb-init-forms): Add support for Wanderlust.
471 * lisp/bbdb-wl.el: New file.
472
473 2016-07-20 Marco Wahl <[email protected]>
474 * lisp/bbdb-com.el (bbdb-omit-record): Fix arg list of
475 bbdb-redisplay-record.
476
477 2016-07-20 Roland Winkler <[email protected]>
478 Make bbdb-hashtable a proper hash table.
479 * lisp/bbdb.el (bbdb-hashtable): Use make-hash-table.
480 (bbdb-puthash, bbdb-gethash, bbdb-remhash, bbdb-buffer)
481 * lisp/bbdb-com.el (bbdb-completion-predicate)
482 (bbdb-completing-read-records, bbdb-complete-mail): Use it.
483
484 2016-07-20 Roland Winkler <[email protected]>
485 * lisp/bbdb.el (bbdb-add-to-list): Remove.
486 (bbdb-pushnew, bbdb-pushnewq, bbdb-pushnewt): New macros.
487 (bbdb-record-set-xfield, bbdb-record-set-field)
488 (bbdb-merge-concat-remove-duplicates, bbdb-parse-records)
489 (bbdb-change-record)
490 * lisp/bbdb-com.el (bbdb-mail-aliases, bbdb-get-mail-aliases)
491 (bbdb-add-mail-alias)
492 * lisp/bbdb-mua.el (bbdb-update-records): Use them.
493
494 2015-11-14 Roland Winkler <[email protected]>
495 * lisp/bbdb.el (bbdb-auto-revert, bbdb-dedicated-window)
496 (bbdb-default-domain, bbdb-mua-pop-up)
497 (bbdb-horiz-pop-up-window-size, bbdb-xfields-sort-order)
498 (bbdb-mua-summary-unification-list, bbdb-mail-avoid-redundancy)
499 * lisp/bbdb-snarf.el (bbdb-snarf-address-us-country)
500 (bbdb-snarf-address-eu-country)
501 * lisp/bbdb-anniv.el (bbdb-anniv-alist)
502 * lisp/bbdb-vm.el (bbdb/vm-virtual-real-folders)
503 * lisp/bbdb-gnus.el (bbdb/gnus-score-default)
504 (bbdb/gnus-split-myaddr-regexp, bbdb/gnus-split-private-field)
505 (bbdb/gnus-split-public-field)
506 * lisp/bbdb-sc.el (bbdb-sc-update-attrib-p): Fix defcustom.
507
508 2015-11-08 Roland Winkler <[email protected]>
509 Add new snarfing rule eu for many continental European countries.
510 Improve snarfing algorithm.
511 * lisp/bbdb-snarf.el (bbdb-snarf-rule-alist): Add new rule eu.
512 (bbdb-snarf-phone-nanp-regexp, bbdb-snarf-postcode-us-regexp)
513 (bbdb-snarf-url-regexp): Improve regexp. Use first subexpression.
514 (bbdb-snarf-mail-regexp): New variable.
515 (bbdb-snarf-mail): Use it.
516 (bbdb-snarf-address-us-country): New variable.
517 (bbdb-snarf-address-us): Use it. Check whether we actually
518 snarfed an address.
519 (bbdb-snarf-phone-eu-regexp, bbdb-snarf-postcode-eu-regexp)
520 (bbdb-snarf-address-eu-country): New variables.
521 (bbdb-snarf-label): Use save-match-data.
522 (bbdb-snarf-phone-nanp): Use save-match-data. Reverse order of
523 snarfed phone numbers.
524 (bbdb-snarf-phone-eu, bbdb-snarf-address-eu): New functions.
525
526 2015-11-08 Roland Winkler <[email protected]>
527 Simplify re-sorting of records when a record has been changed.
528 Re-display re-sorted records.
529 * lisp/bbdb.el (bbdb-need-to-sort): Removed.
530 (bbdb-record-set-name): Simplify accordingly.
531 (bbdb-record-set-sortkey): Always evaluate new sortkey.
532 (bbdb-record-sortkey): Simplify accordingly.
533 (bbdb-change-record): Sort records if we have a new sort key.
534 (bbdb-redisplay-record-globally): Rename from
535 bbdb-maybe-update-display. New optional arg sort.
536 (bbdb-delete-record-internal, bbdb-insert-record-internal): Do not
537 unset sort key.
538 (bbdb-display-records): Put point at beginning of buffer.
539 (bbdb-redisplay-record): New optional arg sort. Throw error if
540 record was not displayed previously.
541 (bbdb-sort-records): Clarify status message. Redisplay sorted
542 records.
543 * lisp/bbdb-com.el (bbdb-fix-records): Sort records.
544 (bbdb-create, bbdb-create-internal, bbdb-merge-records): Use nil
545 for unused second arg of bbdb-change-record.
546 (bbdb-edit-field, bbdb-transpose-fields): Do not worry about
547 re-sorting records.
548 * lisp/bbdb-mua.el (bbdb-annotate-message): Use nil
549 for unused second arg of bbdb-change-record.
550
551 2015-09-10 Roland Winkler <[email protected]>
552 * lisp/bbdb-anniv.el, lisp/bbdb-mu4e.el, lisp/bbdb-print.el:
553 * lisp/bbdb-snarf.el, lisp/bbdb-com.el, lisp/bbdb-message.el:
554 * lisp/bbdb-mua.el, lisp/bbdb-rmail.el, lisp/bbdb-gnus.el:
555 * lisp/bbdb-mhe.el, lisp/bbdb-pgp.el, lisp/bbdb-sc.el:
556 * lisp/bbdb-vm.el, lisp/bbdb-ispell.el, lisp/bbdb-migrate.el:
557 * lisp/bbdb-site.el.in, lisp/bbdb.el: Conform to Emacs Lisp
558 package format convention.
559 (Bug#45910)
560
561 2015-09-10 Roland Winkler <[email protected]>
562 * lisp/bbdb.el (bbdb-separator-alist): Use two newline characters
563 to separate records.
564
565 2015-09-07 Roland Winkler <[email protected]>
566 * lisp/bbdb-com.el (bbdb-search-changed): Fix docstring.
567
568 2015-09-07 Roland Winkler <[email protected]>
569 * lisp/bbdb-com.el (bbdb-delete-field-or-record): Use delete for
570 phone and address fields.
571
572 2015-09-07 Roland Winkler <[email protected]>
573 * lisp/bbdb-com.el (bbdb-copy-records-as-kill): Fix docstring.
574 Delete unused local variable marker.
575
576 2015-09-07 Roland Winkler <[email protected]>
577 * lisp/bbdb-com.el (bbdb-copy-fields-as-kill): New command.
578 * lisp/bbdb.el (bbdb-separator-alist, bbdb-mode-map): Update
579 accordingly.
580
581 2015-05-23 Eric Abrahamsen <[email protected]>
582 * lisp/bbdb.el (bbdb-record-set-field, bbdb-parse-records): Use
583 equal for comparison when populating lists of labels.
584
585 2015-05-22 Roland Winkler <[email protected]>
586 Add basic support for mu4e mailer.
587 * NEWS, README: Update accordingly.
588 * m4/emacs_mu4e.m4: New file.
589 * configure.ac: Use it.
590 * lisp/bbdb-mu4e.el: New file.
591 * lisp/Makefile.am, lisp/makefile-temp: Compile it.
592 * lisp/bbdb.el (bbdb-init-forms): Add entry for mu4e.
593 (bbdb-initialize): Update docstring.
594 * lisp/bbdb-mua.el: Define mu4e~view-buffer-name.
595 (bbdb-mua-mode-alist): Add element for mu4e.
596 (bbdb-mua): Update docstring.
597 (bbdb-mua-update-records, bbdb-mua-wrapper): Handle mu4e.
598
599 2015-05-22 Roland Winkler <[email protected]>
600 Remove variables bbdb/MUA-update-records-p.
601 * lisp/bbdb-mua.el (bbdb-update-records): Rely only on arg
602 update-p.
603 * lisp/bbdb-gnus.el (bbdb/gnus-update-records-p): Remove.
604 * lisp/bbdb-message.el (bbdb/mail-update-records-p)
605 (bbdb/message-update-records-p): Remove.
606 * lisp/bbdb-mh.el (bbdb/mh-update-records-p): Remove.
607 * lisp/bbdb-rmail.el (bbdb/rmail-update-records-p): Remove.
608 * lisp/bbdb-vm.el (bbdb/vm-update-records-p): Remove.
609 * README, NEWS: Update accordingly.
610
611 2015-05-22 Roland Winkler <[email protected]>
612 Handle prefix command bbdb-do-all-records more robustly.
613 * lisp/bbdb.el (bbdb-do-all-records): New variable.
614 (bbdb-modeline-info): Add two new slots.
615 (bbdb-mode): Use them.
616 * lisp/bbdb-com.el (bbdb-prefix-message): New function.
617 (bbdb-do-all-records, bbdb-do-records): Use variable
618 bbdb-do-all-records.
619 (bbdb-append-display-p): Update displayed message.
620 (bbdb-append-display): Use bbdb-prefix-message.
621 (bbdb-search-invert): Ditto. Simplify.
622
623 2015-05-22 Roland Winkler <[email protected]>
624 * lisp/bbdb.el (bbdb-redisplay-record): Display an undisplayed
625 record only if we do not want to delete it.
626 (bbdb-maybe-update-display): Only consider records that are
627 already displayed. Improve docstring.
628
629 2015-05-22 Roland Winkler <[email protected]>
630 Update copyright year in all files.
631
632 2014-08-30 Roland Winkler <[email protected]>
633 * lisp/bbdb-print.el (bbdb-print-require): Improve docstring.
634
635 2014-08-30 Roland Winkler <[email protected]>
636 * lisp/bbdb-print.el (bbdb-print): Clarify prompt for file name.
637 Issue message on what to do with TeX file.
638
639 2014-08-30 Roland Winkler <[email protected]>
640 * lisp/bbdb-print.el (bbdb-print-record): Handle xfields the value
641 of which are sexps.
642
643 2014-08-09 Roland Winkler <[email protected]>
644 * lisp/bbdb-snarf.el (bbdb-snarf): Always install and display the
645 new record.
646
647 2014-08-01 Roland Winkler <[email protected]>
648 * lisp/bbdb-com.el (bbdb-mail-alias-list): New function.
649 (bbdb-add-mail-alias): Handle multiple records via * prefix.
650 Allow addition or deletion of multiple aliases per record. Fix
651 docstring.
652
653 2014-08-01 Roland Winkler <[email protected]>
654 * lisp/makefile-temp: Fix previous change.
655
656 2014-07-22 Roland Winkler <[email protected]>
657 * lisp/Makefile.am: Do not load init files or site files for byte
658 compilation (Bug#42482). Use long options.
659 * lisp/makefile-temp: Ditto. New variable emacs_compile.
660
661 2014-05-15 Roland Winkler <[email protected]>
662 * lisp/bbdb.el (bbdb-redisplay-record): Delete record from
663 bbdb-records if record is undisplayed.
664 * lisp/bbdb-com.el (bbdb-omit-record): Simplify. Handle records at
665 beginning and end of bbdb-buffer properly.
666
667 2014-05-15 Roland Winkler <[email protected]>
668 Fix and improve previous patch.
669 * lisp/bbdb.el (bbdb-update-unchanged-records): Renamed from
670 bbdb-save-unchanged-records.
671 (bbdb-with-print-loadably): Put at beginning of bbdb.el.
672 (bbdb-change-record): Return record only if we updated it.
673 * lisp/bbdb-com.el (bbdb-touch-records): Use
674 bbdb-update-unchanged-records.
675 (bbdb-insert-field, bbdb-edit-field): Issue message if record
676 remained unchanged.
677
678 2014-05-12 Roland Winkler <[email protected]>
679 * lisp/bbdb.el (bbdb-change-record): If an editing command did not
680 change a record compared to its value in bbdb-buffer, do not call
681 bbdb-change-hook and do not save it.
682 (bbdb-save-unchanged-records): New internal variable.
683 * lisp/bbdb-com.el (bbdb-touch-records): New command.
684
685 2014-05-12 Roland Winkler <[email protected]>
686 * lisp/makefile-temp: Create bbdb-pkg.el from bbdb-pkg.el.in.
687
688 2014-05-06 Roland Winkler <[email protected]>
689 Do not treat bbdb-change-hook special when inside
690 bbdb-notice-mail-hook or bbdb-notice-record-hook.
691 * lisp/bbdb.el (bbdb-notice-mail-hook, bbdb-notice-record-hook):
692 Update docstring.
693 (bbdb-notice-hook-pending): Remove.
694 (bbdb-change-record): Always call bbdb-change-hook if a record was
695 changed.
696 * lisp/bbdb-mua.el (bbdb-update-records, bbdb-annotate-message):
697 Change accordingly.
698
699 2014-05-06 Roland Winkler <[email protected]>
700 Allow arbitrary lisp expressions as values of xfields.
701 * lisp/bbdb.el (bbdb-record-type): Update accordingly.
702 (bbdb-string-trim): New optional arg null.
703 (bbdb-record-xfield-intern): Return xfield value unmodified if it
704 is not a string.
705 (bbdb-record-xfield-string): New function.
706 (bbdb-record-xfield-split): Throw error if xfield value is not a
707 string.
708 (bbdb-record-set-xfield, bbdb-record-set-field)
709 (bbdb-merge-xfield, bbdb-display-record-one-line)
710 (bbdb-display-record-multi-line)
711 * lisp/bbdb-com.el (bbdb-search, bbdb-read-field)
712 (bbdb-edit-field, bbdb-read-xfield): Allow xfield values that are
713 not a string.
714 (bbdb-add-mail-alias): Simplify.
715
716 2014-05-06 Roland Winkler <[email protected]>
717 * lisp/bbdb.el (bbdb-parse-postcode): Finish immediately if one
718 test succeeds.
719
720 2014-04-27 Roland Winkler <[email protected]>
721 * configure.ac: Increase BBDB version number to 3.1.2.
722 * NEWS: Update for release.
723
724 2014-04-12 Roland Winkler <[email protected]>
725 Be more careful that empty strings do not pollute the data base.
726 * lisp/bbdb.el (bbdb-list-strings): New function.
727 (bbdb-record-set-field): Use it.
728 (bbdb-record-set-xfield): Clean up.
729 * lisp/bbdb-com.el (bbdb-fix-records): New command.
730 (bbdb-read-organization, bbdb-complete-mail): Check emacs version
731 properly.
732
733 2014-04-12 Roland Winkler <[email protected]>
734 Check type of record data structures more carefully.
735 * lisp/bbdb.el (bbdb-check-type): Simplify. New arg `extended'.
736 * lisp/bbdb-com.el (bbdb-create-internal): Bug fix.
737
738 2014-04-12 Barak A. Pearlmutter <[email protected]>
739 * lisp/Makefile.am: Include makefile-temp in distribution.
740
741 2014-04-12 Roland Winkler <[email protected]>
742 * lisp/bbdb-site.el.in: Be more verbose about what we want.
743
744 2014-04-12 Roland Winkler <[email protected]>
745 * lisp/makefile-temp: Obey proper dependencies. Clean up.
746
747 2014-04-12 Roland Winkler <[email protected]>
748 * lisp/bbdb-vm.el, m4/emacs_vm.m4: Require vm-autoloads.
749
750 2014-04-12 Roland Winkler <[email protected]>
751 * lisp/bbdb.el (bbdb-separator-alist): Treat AKAs consistent with
752 other fields.
753
754 2014-03-11 Barak A. Pearlmutter <[email protected]>
755 Generate lisp/bbdb-site.el via lisp/Makefile as pkgdatadir is only
756 known at "make" time.
757 * configure.ac: Remove lisp/bbdb-site.el from autoconfig files.
758 Increase BBDB version number to 3.1.1
759 * lisp/Makefile.am: Generate lisp/bbdb-site.el.
760 * lisp/bbdb-site.el.in: Initialize bbdb-print-tex-path with a
761 placeholder for pkgdatadir.
762
763 2014-03-11 Barak A. Pearlmutter <[email protected]>
764 * Makefile.am: Install files COPYING, ChangeLog, AUTHORS, NEWS,
765 README, and TODO in the doc directory.
766 * doc/Makefile.am: Install bbdb.pdf in the doc directory.
767
768 2014-03-11 Barak A. Pearlmutter <[email protected]>
769 * m4/package_date.m4: Use "date -u" if "date --rfc-3339" fails.
770
771 2014-02-28 Roland Winkler <[email protected]>
772 * configure.ac: Increase BBDB version number to 3.1.
773 * README: Update accordingly. Fix typos.
774 * Makefile.am: Include autogen.sh in distribution.
775 * lisp/Makefile.am: Include lisp/bbdb-pkg.el in distribution.
776 * lisp/makefile-temp: Include lisp/bbdb-pkg.el.
777
778 2014-02-28 Roland Winkler <[email protected]>
779 Do not use `prompt' in a non-emacs sense.
780 * lisp/bbdb.el: Do not autoload bbdb-search and bbdb-search-prompt
781 when compiling.
782 (bbdb-auto-revert, bbdb-silent, bbdb-default-domain)
783 (bbdb-default-area-code, bbdb-offer-to-create)
784 (bbdb-update-records-address): Fix docstring.
785
786 * lisp/bbdb-com.el (bbdb-search-read): Renamed from
787 bbdb-search-prompt.
788 (bbdb, bbdb-search-name, bbdb-search-organization)
789 (bbdb-search-address, bbdb-search-mail, bbdb-search-phone)
790 (bbdb-search-xfields): Change accordingly.
791 (bbdb-read-record, bbdb-create, bbdb-completing-read-records): Fix
792 docstring.
793 (bbdb-read-field): Renamed from bbdb-prompt-for-new-field. Use
794 arg flag instead of current-prefix-arg. Add docstring.
795 (bbdb-insert-field): Change accordingly. Fix docstring.
796 (bbdb-edit-foo): Change accordingly.
797
798 * lisp/bbdb-mua.el (bbdb-query-create): Renamed from
799 bbdb-prompt-for-create.
800 (bbdb-update-records)
801 * lisp/bbdb.el (bbdb-insert-field-menu): Change accordingly.
802
803 2014-02-28 Roland Winkler <[email protected]>
804 * lisp/bbdb.el: Do not autoload bbdb-search and bbdb-search-prompt
805 when compiling.
806 (bbdb-address-format-list, bbdb-buffer, bbdb-revert-buffer)
807 * lisp/bbdb-com.el (bbdb-complete-mail): Fix docstring.
808
809 2014-02-17 Roland Winkler <[email protected]>
810 * lisp/bbdb-mua.el (bbdb-update-records): If value of arg update-p
811 is a function, evaluate it repeatedly as many times as needed.
812
813 2014-02-16 Roland Winkler <[email protected]>
814 * lisp/bbdb-mua.el (bbdb-update-records): Bug fix for previous
815 commit. Allow value of update-p being create, too.
816
817 2014-02-15 Roland Winkler <[email protected]>
818 * lisp/bbdb-mua.el (bbdb-update-records): Always evaluate arg
819 update-p twice if its value is a function.
820
821 2014-01-23 Roland Winkler <[email protected]>
822 * lisp/bbdb.el (bbdb-puthash, bbdb-record-set-xfield)
823 (bbdb-record-set-field, bbdb-parse-records, bbdb-change-record):
824 Bugfix, make 'eq the 4th arg of add-to-list.
825
826 2014-01-23 Stefan Monnier <[email protected]>
827 * lisp/bbdb.el (bbdb-read-string): In
828 minibuffer-local-completion-map remove the binding of SPC to
829 minibuffer-complete-word and of ? to minibuffer-completion-help.
830
831 2014-01-12 Roland Winkler <[email protected]>
832 * lisp/bbdb.el (bbdb-pop-up-window-simple): New function.
833 (bbdb-pop-up-window): Use it. Make sure the *BBDB* buffer exists.
834 Use display-buffer as an alternative to pop-up-buffer if the
835 *BBDB* buffer is not selected. Use the tallest window even if
836 bbdb-pop-up-window-size is 1.0.
837 (bbdb-pop-up-window-size): Fix docstring accordingly.
838 * lisp/bbdb-com.el (bbdb-complete-mail-cleanup): Do not call
839 bbdb-pop-up-window before we created for sure the *BBDB* buffer.
840
841 2014-01-12 Roland Winkler <[email protected]>
842 Provide auto completion for streets and postcodes known to BBDB.
843 * lisp/bbdb.el (bbdb-street-list, bbdb-postcode-list): New
844 internal variables.
845 (bbdb-record-set-xfield, bbdb-parse-records)
846 * lisp/bbdb-com.el (bbdb-record-edit-address)
847 (bbdb-edit-address-default): Use them.
848
849 2014-01-08 Roland Winkler <[email protected]>
850 * lisp/bbdb.el (bbdb-canonical-hosts, bbdb-canonicalize-mail-1)
851 (bbdb-message-clean-name-default): Move here from bbdb-mua.el.
852
853 2014-01-08 Roland Winkler <[email protected]>
854 Provide auto completion for cities, states and countries known to
855 BBDB.
856 * lisp/bbdb.el (bbdb-city-list, bbdb-state-list)
857 (bbdb-country-list): New internal variables.
858 (bbdb-add-to-list): New function.
859 (bbdb-puthash, bbdb-merge-concat-remove-duplicates)
860 (bbdb-change-record): Use add-to-list.
861 (bbdb-record-set-xfield, bbdb-parse-records): Use add-to-list and
862 bbdb-add-to-list. Collect cities, states and countries known to
863 BBDB.
864 * lisp/bbdb-com.el (bbdb-record-edit-address)
865 (bbdb-edit-address-default): Provide auto completion for cities,
866 states and countries.
867
868 2014-01-03 Roland Winkler <[email protected]>
869 Update copyright year in all files.
870
871 2014-01-03 Roland Winkler <[email protected]>
872 Avoid hard-coded references to xfield notes.
873 * lisp/bbdb.el (bbdb-default-xfield, bbdb-edit-foo)
874 (bbdb-annotate-field, bbdb-mua-edit-field): New variables.
875 (bbdb-auto-notes-rules): Fix docstring.
876 * lisp/bbdb-com.el (bbdb-edit-foo): New command.
877 (bbdb-search, bbdb-read-record): Use bbdb-default-xfield.
878 (bbdb-insert-field): Do not handle initial value.
879 (bbdb-prompt-for-new-field): Replace arg init by arg record to
880 handle initial value here.
881 * lisp/bbdb.el (bbdb-insert-field-menu): Change accordingly.
882 * lisp/bbdb-mua.el (bbdb-annotate-record): Use
883 bbdb-annotate-field. Allow empty strings for removing an xfield.
884 (bbdb-mua-annotate-field-interactive): New function.
885 (bbdb-mua-annotate-sender, bbdb-mua-annotate-recipients): Use it.
886 New optional arg field.
887 (bbdb-mua-edit-field-interactive, bbdb-mua-edit-field)
888 (bbdb-mua-edit-field-sender, bbdb-mua-edit-field-recipients): Use
889 variable bbdb-mua-edit-field.
890 (bbdb-mua-edit-field-recipients): Use bbdb-default-xfield.
891 * lisp/bbdb-snarf.el (bbdb-snarf-notes): Use bbdb-default-xfield.
892
893 2014-01-03 Roland Winkler <[email protected]>
894 After editing always update display in all BBDB buffers.
895 * lisp/bbdb.el (bbdb-delete-record-internal): Rename optional arg
896 remhash to completely. Undisplay record if non-nil.
897 (bbdb-maybe-update-display): Update record in all BBDB buffers.
898 (bbdb-change-record): Call it.
899 (bbdb-redisplay-records): Remove.
900 (bbdb-undisplay-records): New optional arg all-buffers.
901 (bbdb-revert-buffer): Use it.
902 * lisp/bbdb-com.el (bbdb-insert-field, bbdb-transpose-fields)
903 (bbdb-delete-field-or-record, bbdb-delete-records)
904 (bbdb-merge-records, bbdb-sort-addresses, bbdb-sort-phones)
905 (bbdb-sort-xfields, bbdb-add-mail-alias)
906 * lisp/bbdb-mua.el (bbdb-mua-edit-field): Do not call
907 bbdb-maybe-update-display.
908 * README: update accordingly.
909
910 2014-01-03 Roland Winkler <[email protected]>
911 Clean up supercite support.
912 * lisp/bbdb.el (bbdb-utilities-sc): New custom group
913 (bbdb-initialize): Update docstring.
914 * lisp/bbdb-sc.el: Update doc.
915 (bbdb-sc-attribution-field): Rename from
916 bbdb/sc-attribution-field, keeping the old name as obsolete alias.
917 (bbdb-sc-update-records-p): New variable.
918 (bbdb-sc-update-attrib-p): Rename from bbdb/sc-replace-attr-p.
919 (bbdb-sc-last-attrib): Rename from bbdb/sc-last-attribution. Make
920 it internal variable.
921 (bbdb-sc-set-attrib): Rename from bbdb/sc-set-attr, keeping the
922 old name as obsolete alias.
923 (bbdb-sc-update-from): Rename from bbdb/sc-default, keeping the
924 old name as obsolete alias.
925
926 2014-01-03 Roland Winkler <[email protected]>
927 Overhaul lisp/bbdb-pgp.el for BBDB 3.
928 * lisp/bbdb-pgp.el (bbdb-pgp-field): Rename from bbdb/pgp-field.
929 (bbdb-pgp-default): Rename from bbdb/pgp-default-action.
930 (bbdb-pgp-ranked-actions, bbdb-pgp-headers)
931 (bbdb-pgp-method-alist): New variables.
932 (bbdb/pgp-quiet): Obsolete.
933 (bbdb-pgp-method): Rename from bbdb/pgp-method. Include support
934 for PGP-auto format.
935 (bbdb-read-xfield-pgp-mail): New function.
936 (bbdb-pgp): Rename from bbdb/pgp-sign. Make it a command.
937 Consider all message recipients in bbdb-pgp-headers. Use
938 bbdb-pgp-ranked-actions, bbdb-pgp-headers, and
939 bbdb-pgp-method-alist.
940 * lisp/bbdb.el (bbdb-utilities-pgp): New custom group
941 (bbdb-init-forms): Add init form for bbdb-pgp.
942 (bbdb-initialize): Update docstring accordingly.
943 * lisp/Makefile.am, lisp/makefile-temp: Support
944 lisp/bbdb-pgp.el.
945
946 2014-01-03 Gijs Hillenius <[email protected]>
947 * lisp/bbdb-pgp.el: Adapt for BBDB 3. Remove outdated mailcrypt
948 interface.
949 (bbdb/pgp-method): New default mml-pgpmime.
950 (bbdb/pgp-get-pgp): Use bbdb-message-search and bbdb-record-field.
951
952 2014-01-03 Kevin Davidson <[email protected]>
953 * lisp/bbdb-pgp.el: New file (taken from BBDB 2).
954
955 2014-01-03 Roland Winkler <[email protected]>
956 More flexible editing of xfields.
957 * lisp/bbdb.el (bbdb-read-string): Rename optional arg default to
958 init. New optional arg require-match.
959 * lisp/bbdb-com.el (bbdb-read-organization)
960 (bbdb-record-edit-address, bbdb-completing-read-mails): Rename
961 optional arg default to init.
962 (bbdb-insert-field): Simplify.
963 (bbdb-read-xfield): New function.
964 (bbdb-prompt-for-new-field, bbdb-edit-field): Use it.
965
966 2014-01-03 Roland Winkler <[email protected]>
967 * lisp/bbdb.el (bbdb-init-forms): Add init form for anniv.
968 (bbdb-initialize): Update docstring accordingly.
969 * lisp/bbdb-anniv.el: Update doc accordingly.
970
971 2014-01-03 Roland Winkler <[email protected]>
972 Clean up handling of redundant email addresses.
973 * lisp/bbdb.el (bbdb-ignore-redundant-mails): Rename from
974 bbdb-canonicalize-redundant-mails, keeping the latter as obsolete
975 alias.
976 (bbdb-add-mails, bbdb-canonicalize-mail-function): Fix docstring.
977 * lisp/bbdb-com.el (bbdb-mail-redundant-re): New function
978 (bbdb-delete-redundant-mails): Move here from lisp/bbdb-mua.el.
979 Merge with command bbdb-delete-duplicate-mails and make the latter
980 an obsolete alias. New optional args query and update.
981 * lisp/bbdb-mua.el (bbdb-annotate-message): Use
982 bbdb-mail-redundant-re and bbdb-delete-redundant-mails.
983 (bbdb-mail-redundant-p): Remove.
984 (bbdb-canonical-hosts): Update docstring.
985
986 2014-01-03 Roland Winkler <[email protected]>
987 Check more carefully/frequently that BBDB is editable.
988 * lisp/bbdb.el (bbdb-editable): Move here from lisp/bbdb-com.el.
989 Revert BBDB buffer if possible.
990 * lisp/bbdb.el (bbdb-record-set-field)
991 * lisp/bbdb-com.el (bbdb-read-record, bbdb-create-internal)
992 (bbdb-merge-records, bbdb-sort-addresses, bbdb-sort-phones)
993 (bbdb-sort-xfields)
994 * lisp/bbdb-snarf.el (bbdb-snarf): Check that BBDB is editable.
995 * lisp/bbdb-mua.el (bbdb-update-records): Obey bbdb-read-only.
996 (bbdb-annotate-message): Ignore bbdb-read-only.
997 (bbdb-auto-notes): Check that BBDB is editable.
998
999 2014-01-03 Roland Winkler <[email protected]>
1000 * lisp/bbdb.el (bbdb-check-name, bbdb-extract-address-components):
1001 Fix docstring.
1002 * lisp/bbdb-com.el (bbdb-search-duplicates): Fix warning message.
1003 Sort records.
1004 * lisp/bbdb-mua.el (bbdb-auto-notes)
1005 (bbdb-mua-update-interactive-p): Fix docstring.
1006
1007 2014-01-03 Roland Winkler <[email protected]>
1008 Display records for messages more flexibly.
1009 * lisp/bbdb-mua.el (bbdb-update-records, bbdb-mua-update-records):
1010 New optional arg sort.
1011 (bbdb-mua-display-records): New optional arg all.
1012 (bbdb-mua-display-all-records): New command.
1013 (bbdb-mua-display-all-recipients): Renamed from
1014 bbdb-display-all-recipients.
1015
1016 2014-01-03 Roland Winkler <[email protected]>
1017 Handle new records more carefully.
1018 * lisp/bbdb.el (bbdb-empty-record): New function.
1019 (bbdb-change-record): Use bbdb-create-hook. Fix docstring.
1020 (bbdb-insert-record-internal, bbdb-overwrite-record-internal): Fix
1021 docstring.
1022 * lisp/bbdb-com.el (bbdb-create): Do not use bbdb-create-hook.
1023 (bbdb-create-internal): Make arg name optional and allow a nil
1024 value. Check validity of arguments only if new arg check is
1025 non-nil.
1026 (bbdb-merge-records): Return record.
1027 * lisp/bbdb-mua.el (bbdb-annotate-message): Use bbdb-empty-record.
1028 Handle case that arg create-p is a function. Do not use
1029 bbdb-create-hook.
1030 * lisp/bbdb-snarf.el (bbdb-snarf): Use bbdb-empty-record. Return
1031 record. Do not use bbdb-create-hook.
1032
1033 2014-01-03 Roland Winkler <[email protected]>
1034 * lisp/bbdb-snarf.el (bbdb-snarf-rule-interactive): Use
1035 symbol-name.
1036
1037 2013-11-16 Roland Winkler <[email protected]>
1038 * configure.ac: Increase BBDB version number to 3.0.50.
1039
1040 2013-11-16 Christian Egli <[email protected]>
1041 * Makefile.am: New target elpa.
1042 * lisp/bbdb-pkg.el.in: New file for elpa.
1043 * configure.ac, .gitignore: Handle it.
1044 * lisp/Makefile.am: Define CLEANFILES and EXTRA_DIST.
1045
1046 2013-11-16 Roland Winkler <[email protected]>
1047 * m4/package_date.m4: Use git log.
1048
1049 2013-11-16 Roland Winkler <[email protected]>
1050 * lisp/bbdb-sc.el: Fix documentation.
1051 (bbdb/sc-consult-attr): Do not use car.
1052 (Bug#40398)
1053
1054 2013-11-16 Roland Winkler <[email protected]>
1055 * lisp/bbdb.el (bbdb-field-menu): Use format. Call
1056 bbdb-browse-url for url xfields.
1057 (bbdb-mouse-menu): Use format.
1058
1059 2013-11-16 Roland Winkler <[email protected]>
1060 * lisp/bbdb.el (bbdb-mua-update-interactive-p): Clarify doc string.
1061
1062 2013-11-16 Roland Winkler <[email protected]>
1063 * lisp/bbdb.el (bbdb-file): Use locate-user-emacs-file.
1064
1065 2013-11-16 Roland Winkler <[email protected]>
1066 * lisp/bbdb-com.el (bbdb-complete-mail): Only complete inside a
1067 syntactically correct mail header.
1068
1069 2013-10-06 Roland Winkler <[email protected]>
1070 * lisp/makefile-temp: Add commentary. Copy bbdb-site.el.in to
1071 bbdb-site.el. Clean up.
1072
1073 * README: Clean up.
1074
1075 2013-07-28 Roland Winkler <[email protected]>
1076 * doc/bbdb.texi: Add @dircategory and @direntry.
1077 (Bug#38794)
1078
1079 2013-07-28 Roland Winkler <[email protected]>
1080 * m4/package_date.m4: Use more robust output redirection.
1081 (Bug#39579)
1082
1083 2013-07-28 Roland Winkler <[email protected]>
1084 * m4/emacs_vm.m4: Fix typo.
1085
1086 2013-07-28 Roland Winkler <[email protected]>
1087 * m4/emacs_vm.m4: Define conditional VM unconditionally.
1088
1089 2013-07-27 Roland Winkler <[email protected]>
1090 * m4/emacs_vm.m4, m4/package_date.m4: New files.
1091 * configure.ac: Use them. Use brackets for AC_PREREQ. Define
1092 macro directory. Use Automake options -Wall and gnu.
1093 * autgogen.sh: Simplify. Use option --force.
1094 * lisp/bbdb-site.el.in: Renamed from lisp/bbdb-version.el.in.
1095 Define bbdb-print-tex-path.
1096 * lisp/bbdb.el, lisp/bbdb-print.el, lisp/Makefile.am: Update
1097 accordingly.
1098 * .gitignore: Cover more files.
1099 * INSTALL: Remove. Merge with README.
1100 * README: Update accordingly.
1101
1102 2013-07-18 Roland Winkler <[email protected]>
1103 Clean up usage of automake and autoconf.
1104 * lisp/bbdb-version.el.in: New file.
1105 * lisp/bbdb.el, lisp/Makefile.am: Use it.
1106 * configure.ac: Use AC_CONFIG_SRCDIR. Require Automake 1.13.
1107 Test for presence of Emacs. Configure lisp/bbdb-version.el.
1108 * .gitignore: Ignore aclocal.m4, doc/texinfo.tex, install-sh,
1109 lisp/bbdb-version.el, and missing.
1110 * aclocal.m4, install-sh: Removed.
1111
1112 2013-07-17 Roland Winkler <[email protected]>
1113 Use Automake. (Thanks to Christian Egli <[email protected]>)
1114 * Makefile.am, lisp/Makefile.am, doc/Makefile.am, tex/Makefile.am,
1115 autogen.sh, AUTHORS, NEWS: New files.
1116 * Makefile.in, lisp/Makefile.in, doc/Makefile.in, tex/Makefile.in:
1117 Removed.
1118 * configure.ac: Use automake.
1119 * INSTALL: Update accordingly.
1120 * .gitignore: Ignore Makefile.in.
1121
1122 * lisp/bbdb-print.el (bbdb-print-tex-path): New variable.
1123 (bbdb-print): Use it.
1124
1125 2013-07-07 Roland Winkler <[email protected]>
1126 * lisp/bbdb-mua.el (bbdb-mua-auto-update): Use bbdb-pop-up-layout.
1127
1128 2013-07-07 Roland Winkler <[email protected]>
1129 * lisp/bbdb.el (bbdb-buffer): Simplify. Avoid creating auto-save
1130 files for bbdb-file till it contains at least one record.
1131 * lisp/bbdb.el (bbdb-revert-buffer): Handle the case that we did
1132 not yet create bbdb-file.
1133
1134 2013-07-07 Roland Winkler <[email protected]>
1135 * lisp/bbdb.el (bbdb-update-records-p): Fix docstring.
1136
1137 2013-05-26 Roland Winkler <[email protected]>
1138 * configure.ac: Remove option --enable-developer.
1139 * lisp/Makefile.in, lisp/makefile-temp: Remove HUSHMAKE and
1140 PUSHPATH. Use emacs options --quick and --directory.
1141
1142 2013-05-26 Roland Winkler <[email protected]>
1143 * aclocal.m4: Convert VM path to absolute and canonicalize it. Use
1144 more verbose error message.
1145
1146 2013-05-26 Roland Winkler <[email protected]>
1147 Use new function bbdb-extract-address-components which honors
1148 bbdb-message-clean-name-function and
1149 bbdb-canonicalize-mail-function.
1150
1151 * lisp/bbdb.el (bbdb-clean-address-components)
1152 (bbdb-extract-address-components): New functions.
1153 (bbdb-decompose-bbdb-address): Renamed from
1154 bbdb-extract-address-components.
1155 (bbdb-puthash-mail): Use it.
1156
1157 * lisp/bbdb-com.el (bbdb-message-search): Do nothing if both args
1158 are nil.
1159 (bbdb-complete-mail, bbdb-complete-mail-cleanup): Use
1160 bbdb-extract-address-components.
1161
1162 * lisp/bbdb-mua.el (bbdb-get-address-components)
1163 (bbdb-mua-summary-unify, bbdb-mua-summary-mark): Use
1164 bbdb-extract-address-components.
1165 (bbdb-canonicalize-mail): Remove.
1166
1167 * lisp/bbdb-snarf.el (bbdb-snarf-name-mail)
1168 (bbdb-snarf-mail-address): Use bbdb-extract-address-components.
1169
1170 * lisp/bbdb-sc.el (bbdb/sc-consult-attr, bbdb/sc-default): Use
1171 bbdb-extract-address-components.
1172
1173 * lisp/bbdb-vm.el (vm-summary-function-B): Simplify.
1174 (bbdb/vm-alternate-full-name): Use
1175 bbdb-extract-address-components.
1176
1177 2013-04-21 Leo Liu <[email protected]>
1178 * lisp/bbdb-mua.el (bbdb-mua-summary-mark): Do not call
1179 bbdb-mua-summary-mark-field as a function if it is not a function.
1180
1181 2013-04-13 Roland Winkler <[email protected]>
1182 * lisp/bbdb.el (bbdb-utilities-snarf): New custom group.
1183 * lisp/bbdb-snarf.el: New file.
1184 * lisp/Makefile.in, lisp/makefile-temp: Compile it.
1185
1186 2013-04-13 Roland Winkler <[email protected]>
1187 * lisp/bbdb-com.el (bbdb-merge-records): Fix docstring. Merge
1188 also affixes. Do not enforce multi-line layout for display.
1189
1190 2013-04-13 Roland Winkler <[email protected]>
1191 * lisp/bbdb.el (bbdb-format-address-default, bbdb-format-address):
1192 Allow city, postcode, state, and country to be nil.
1193
1194 2013-04-13 Roland Winkler <[email protected]>
1195 * lisp/bbdb.el (bbdb-hash-record, bbdb-change-record): Fix
1196 docstring.
1197
1198 2013-04-13 Roland Winkler <[email protected]>
1199 * lisp/bbdb.el (bbdb-new-mails-primary): Change default to query.
1200
1201 2013-04-13 Roland Winkler <[email protected]>
1202 * lisp/bbdb-mua.el (bbdb-mua-summary-unify)
1203 (bbdb-mua-summary-mark): Allow bbdb-mua-summary-mark-field to be a
1204 function.
1205 * lisp/bbdb.el (bbdb-mua-summary-mark-field): Fix docstring.
1206
1207 2013-04-13 Roland Winkler <[email protected]>
1208 * lisp/bbdb.el (bbdb-extract-address-components): New function.
1209 (bbdb-puthash-mail): Use it.
1210 * lisp/bbdb-com.el (bbdb-dwim-mail): Use it.
1211
1212 2013-04-13 Roland Winkler <[email protected]>
1213 * lisp/bbdb-com.el (bbdb-complete-mail): Simplify. Do not throw
1214 error messages that prevent other completion functions to take
1215 over.
1216
1217 2013-04-13 Roland Winkler <[email protected]>
1218 * lisp/bbdb-vm.el (bbdb/vm-auto-folder-field)
1219 (bbdb/vm-virtual-folder-field, bbdb/vm-auto-folder)
1220 (bbdb/vm-auto-add-label-list, bbdb/vm-auto-add-label-field): Fix
1221 docstring.
1222 (bbdb/vm-virtual-folder): Check more carefully whether
1223 vm-virtual-folder-alist contains already what we want to add. Fix
1224 docstring.
1225
1226 2013-04-13 Roland Winkler <[email protected]>
1227 * lisp/bbdb-sc.el (bbdb/sc-attribution-field): Fix docstring.
1228
1229 2013-04-13 Roland Winkler <[email protected]>
1230 * tex/Makefile.in: Acknowledge DESTDIR.
1231
1232 2013-02-16 Roland Winkler <[email protected]>
1233 * lisp/bbdb.el (bbdb-mail-name-format, bbdb-mail-name): New
1234 user variables.
1235 * lisp/bbdb-com.el (bbdb-dwim-mail): Use them. Always quote the
1236 name part of a mail address if necessary.
1237 (bbdb-quoted-string-syntax-table): New internal variable.
1238 (bbdb-complete-mail): Use it to find starting point for
1239 completion. Before proper cycling, reformat the original mail
1240 address to match an element of dwim-completions. Use
1241 completion-ignore-case instead of downcase. Do not use trimmed
1242 pattern. Issue warning message if attempting to create a
1243 *Completions* buffer with GNU Emacs older than 23.2. Use the
1244 default value of completion-list-insert-choice-function to locally
1245 bind this variable.
1246 (bbdb-complete-mail-cleanup): New arg beg. Use indent-relative.
1247
1248 * lisp/bbdb-print.el (bbdb-print-name-format, bbdb-print-name):
1249 New user variables.
1250 (bbdb-print-record): Use them,
1251
1252 2013-02-16 Roland Winkler <[email protected]>
1253 * lisp/bbdb-com.el (bbdb-mail-yank): Bind case-fold-search to t.
1254
1255 2013-02-15 Roland Winkler <[email protected]>
1256 * lisp/bbdb-com.el (bbdb-delete-field-or-record): Handle multiple
1257 records.
1258
1259 2013-02-15 Roland Winkler <[email protected]>
1260 * lisp/bbdb.el (bbdb-delete-record-internal)
1261 (bbdb-insert-record-internal, bbdb-overwrite-record-internal): Use
1262 inhibit-quit.
1263
1264 2013-02-15 Roland Winkler <[email protected]>
1265 * lisp/bbdb.el (bbdb-changed-records, bbdb-hashtable): Doc fix.
1266
1267 2013-02-15 Roland Winkler <[email protected]>
1268 * lisp/bbdb.el (bbdb-modified): Removed.
1269 (bbdb-buffer, bbdb-after-save, bbdb-delete-record-internal)
1270 (bbdb-insert-record-internal, bbdb-overwrite-record-internal)
1271 (bbdb-sort-records): Do not set bbdb-modified.
1272 (bbdb-mode): Use buffer-modified-p.
1273
1274 2013-02-02 Roland Winkler <[email protected]>
1275 * lisp/bbdb.el (bbdb-mail-user-agent): Use non-nil default taken
1276 from mail-user-agent.
1277 (bbdb-lastname-re, bbdb-lastname-suffix-re): New user variables.
1278 (bbdb-divide-name): Use them. Pass first and last name through
1279 bbdb-string-trim.
1280
1281 * lisp/bbdb-mua.el (bbdb-canonicalize-mail): Always pass mail
1282 through bbdb-string-trim.
1283 (bbdb-canonicalize-mail-1): Always pass mail through
1284 bbdb-string-trim.
1285 (bbdb-canonical-hosts): Use regxp-opt instead of regexp-quote.
1286 (bbdb-message-clean-name-default): Re-arrange clean-up steps. Use
1287 substring-no-properties.
1288
1289 2013-01-20 Roland Winkler <[email protected]>
1290 * aclocal.m4: Do not throw an error if tex_dir does not exist.
1291
1292 2013-01-20 Roland Winkler <[email protected]>
1293 * doc/Makefile.in, tex/Makefile.in: Provide the DESTDIR variable.
1294 (Bug#38124)
1295
1296 2013-01-13 Roland Winkler <[email protected]>
1297 * lisp/bbdb.el (bbdb-parse-records): Set bbdb-xfield-labels-list
1298 and bbdb-organization-list to nil only once.
1299
1300 2013-01-13 Roland Winkler <[email protected]>
1301 Update copyright year in all files.
1302
1303 2013-01-13 Roland Winkler <[email protected]>
1304 * lisp/bbdb.el (bbdb-organization-list): New variable.
1305 (bbdb-record-set-field): Use it. Update bbdb-phone-label-list,
1306 bbdb-address-label-list, and bbdb-xfield-label-list.
1307 ((bbdb-set-xfield-labels): Removed
1308 (bbdb-record-set-xfield): Set bbdb-xfield-labels-list explicitly.
1309 (bbdb-label-completion-list): Removed.
1310 (bbdb-parse-records): Do not set bbdb-phone-label-list and
1311 bbdb-address-label-list in a circular way. Set
1312 bbdb-organization-list.
1313
1314 * lisp/bbdb-com.el: Require crm.
1315 (bbdb-crm-local-completion-map): New variable.
1316 (bbdb-read-organization): New function.
1317 (bbdb-read-record, bbdb-prompt-for-new-field): Use it. Directly
1318 use bbdb-phone-label-list and bbdb-address-label-list.
1319 Do not call bbdb-set-xfield-labels, which was redundant.
1320 (bbdb-edit-field): Use bbdb-read-organization and
1321 bbdb-record-field.
1322 (bbdb-record-edit-address): Use bbdb-address-label-list directly.
1323 (bbdb-record-edit-phone): Use bbdb-phone-label-list directly.
1324
1325 2012-12-30 Roland Winkler <[email protected]>
1326 * configure.ac: Option --with-tex-dir renamed from
1327 --with-texmf-dir.
1328
1329 2012-12-30 Roland Winkler <[email protected]>
1330 * lisp/bbdb-sc.el: New file
1331 * lisp/Makefile.in, lisp/makefile-temp, lisp/bbdb.el
1332 (bbdb-init-forms, bbdb-initialize): Use it.
1333
1334 2012-12-30 Roland Winkler <[email protected]>
1335 * INSTALL: List all BBDB configure options.
1336 * aclocal.m4, tex/Makefile.in: Option --with-tex-dir renamed from
1337 --with-texmf-dir.
1338
1339 2012-12-30 Roland Winkler <[email protected]>
1340 * lisp/bbdb-gnus.el: Do not use eval-and-compile.
1341 (bbdb/gnus-split-myaddr-regexp): Do not use obsolete variable
1342 gnus-local-domain.
1343 (bbdb/gnus-split-private-field, bbdb/gnus-split-public-field): Fix
1344 docstring.
1345
1346 * lisp/bbdb-vm.el, lisp/bbdb-message.el, lisp/bbdb-mhe.el: Do not
1347 use eval-and-compile.
1348
1349 2012-12-30 Roland Winkler <[email protected]>
1350 * lisp/bbdb.el (bbdb-mua-summary-unification-list)
1351 (bbdb-mua-summary-mark-field, bbdb-mua-summary-mark)
1352 (bbdb-mua-summary-unify-format-letter)
1353 (bbdb-mua-summary-mark-format-letter): New user variables.
1354
1355 * lisp/bbdb-mua.el (bbdb-mua-summary-unify)
1356 (bbdb-mua-summary-mark): New functions.
1357
1358 * lisp/bbdb-gnus.el (bbdb/gnus-summary-mark-known-posters)
1359 (bbdb/gnus-mark-known-posters)
1360 (bbdb/gnus-summary-known-poster-mark)
1361 (bbdb/gnus-summary-show-bbdb-names)
1362 (bbdb/gnus-header-show-bbdb-names)
1363 (bbdb/gnus-summary-prefer-bbdb-data)
1364 (bbdb/gnus-summary-prefer-real-names)
1365 (bbdb/gnus-header-prefer-real-names)
1366 (bbdb/gnus-summary-user-format-letter)
1367 (bbdb/gnus-summary-in-bbdb-format-letter)
1368 (bbdb/gnus-message-marker-field, bbdb/gnus-summary-get-sender)
1369 (bbdb/gnus-summary-sender-in-bbdb): Removed.
1370 (bbdb-insinuate-gnus): Use bbdb-mua-summary-unify and
1371 bbdb-mua-summary-mark.
1372
1373 2012-12-27 Roland Winkler <[email protected]>
1374 * lisp/bbdb-mua.el (bbdb-mua-wrapper): Add edebug support.
1375 Suggested by Leo <[email protected]>.
1376
1377 * lisp/bbdb-gnus (bbdb-insinuate-gnus): Fix keybindings for
1378 gnus-article-mode. Suggested by Leo <[email protected]>.
1379
1380 * lisp/bbdb-com.el (bbdb-grab-url): Fail early if no URL at point.
1381 Suggested by Leo <[email protected]>.
1382
1383 2012-12-26 Roland Winkler <[email protected]>
1384 * lisp/bbdb-com.el (bbdb-complete-mail): Check every record from
1385 the completion list for each possible completion.
1386
1387 2012-12-26 Roland Winkler <[email protected]>
1388 * lisp/bbdb.el (bbdb-dedicated-window): New user variable.
1389 (bbdb-mua-pop-up): Renamed from bbdb-message-pop-up. Doc fix.
1390 (bbdb-mua-pop-up-window-size): New variable.
1391 (bbdb-pop-up-window-size): Doc fix. Allow value t.
1392 (bbdb-pop-up-window): Use it. Simplify. Use
1393 display-buffer-record-window / set-window-dedicated-p so that the
1394 BBDB window is popped up such that quit-window can delete it.
1395 Suggested by Martin Rudalics.
1396 (bbdb-display-records): Clean up.
1397
1398 * lisp/bbdb-mua.el (bbdb-mua-mode-alist): New variable.
1399 (bbdb-mua): Use it.
1400 (bbdb-mua-window-p): New function.
1401 (bbdb-mua-display-records, bbdb-mua-edit-field)
1402 (bbdb-mua-auto-update): Use it.
1403
1404 2012-12-25 Roland Winkler <[email protected]>
1405 * lisp/bbdb-vm.el: (bbdb/vm-auto-add-label-list)
1406 (bbdb/vm-auto-add-label-field): Doc fix.
1407 (bbdb/vm-auto-add-label): Doc fix and cleanup.
1408
1409 2012-12-25 Roland Winkler <[email protected]>
1410 * README: Minor docfix.
1411
1412 2012-12-25 Roland Winkler <[email protected]>
1413 * lisp/bbdb.el, lisp/bbdb-com.el, lisp/bbdb-mua.el:
1414 * lisp/bbdb-print.el, lisp/bbdb-anniv.el, lisp/bbdb-ispell.el:
1415 * lisp/bbdb-migrate.el, lisp/bbdb-vm.el, lisp/bbdb-gnus.el: For
1416 the user-defined fields of a record replace the generic internal
1417 name `notes' by `xfield'.
1418
1419 * lisp/bbdb.el (bbdb-layout-alist, bbdb-name-format, bbdb-image)
1420 (bbdb-default-domain, bbdb-auto-notes-rules)
1421 (bbdb-mail-alias-field, bbdb-name-face-alist, bbdb-record-type)
1422 (bbdb-timestamp, bbdb-creation-date)
1423 (bbdb-display-name-organization): Doc fix.
1424 (bbdb-xfields-sort-order): Renamed from bbdb-notes-sort-order
1425 (bbdb-merge-xfield-function-alist): Renamed from
1426 bbdb-merge-notes-function-alist
1427 (bbdb-xfield-label-list): Renamed from bbdb-notes-label-list.
1428 (bbdb-record-xfields): Renamed from bbdb-record-Notes.
1429 (bbdb-record-set-xfields): Renamed from bbdb-record-set-Notes.
1430 (bbdb-record-xfield): Renamed from bbdb-record-note.
1431 (bbdb-record-set-xfield): Renamed from bbdb-record-set-note.
1432 (bbdb-record-xfield-intern): Renamed from bbdb-record-note-intern.
1433 (bbdb-record-xfield-split): Renamed from bbdb-record-note-split
1434 (bbdb-set-xfield-labels): Renamed from bbdb-set-notes-labels
1435 (bbdb-merge-xfield): Renamed from bbdb-merge-note.
1436
1437 * lisp/bbdb-com.el (bbdb-search, bbdb, bbdb-compare-records)
1438 (bbdb-create-internal, bbdb-edit-field): Doc fix.
1439 (bbdb-search-xfields): Renamed from bbdb-search-notes.
1440 (bbdb-message-search): Make search more robust.
1441 (bbdb-sort-xfields): Renamed from bbdb-sort-notes.
1442
1443 2012-12-25 Roland Winkler <[email protected]>
1444 * lisp/bbdb.el (bbdb-parse-records): If multiple records have the
1445 same name, hash all these records.
1446 (bbdb-allow-duplicates): Doc fix.
1447
1448 2012-09-23 Roland Winkler <[email protected]>
1449 Add more complete support for mail entries containing RFC-822
1450 addresses such as "John Smith <[email protected]>" in the record of
1451 Johnathan Smith.
1452
1453 * lisp/bbdb.el (bbdb-defstruct): Doc fix. Improve doc string of
1454 functions defined via this macro.
1455 (bbdb-cache-mail-aka, bbdb-cache-mail-canon): New elements of
1456 bbdb-record-cache.
1457 (bbdb-record-mail-aka, bbdb-record-mail-canon): New functions.
1458 (bbdb-hash-p): New function.
1459 (bbdb-gethash): Use it.
1460 (bbdb-puthash-mail): New function.
1461 (bbdb-hash-record): Use it.
1462 (bbdb-record-field): Renamed from bbdb-record-get-field.
1463 New field values mail-canon, mail-aka and aka-all. Doc fix.
1464 (bbdb-record-get-field): Obsolete function alias.
1465 (bbdb-record-set-field): Doc fix. Update hash for mail entries
1466 such as "John Smith <[email protected]>".
1467 (bbdb-delete-record-internal): Use canonical mail addresses and
1468 all AKAs when cleaning up the hash.
1469
1470 * lisp/bbdb-com.el (bbdb-search): Use bbdb-record-field.
1471 (bbdb-search-duplicates): Use bbdb-record-mail-canon.
1472 (bbdb-message-search): Simplify.
1473 (bbdb-edit-field): Doc fix.
1474 (bbdb-ident-point, bbdb-transpose-fields)
1475 (bbdb-delete-field-or-record): Use bbdb-record-field.
1476 (bbdb-completion-predicate): Use bbdb-hash-p.
1477 (bbdb-complete-mail): Compare with all AKAs. A plain message
1478 search should be sufficient.
1479
1480 * lisp/bbdb-mual.el (bbdb-annotate-message): Compare with
1481 canonical mail addresses.
1482
1483 * lisp/bbdb-ispell.el (bbdb-ispell-export): Use bbdb-record-field.
1484
1485 * README: Notes for BBDB lisp hackers added.
1486
1487 2012-09-23 Roland Winkler <[email protected]>
1488 * lisp/bbdb.el (bbdb-mua-auto-update-p): Doc fix.
1489 (bbdb-message-pop-up): Change default to t.
1490
1491 * lisp/bbdb-mua.el (bbdb-mua-auto-update)
1492 (bbdb-mua-auto-update-init): Doc fix.
1493 (bbdb-mua-auto-update): Simplify.
1494
1495 * README: Clarify usage of bbdb-mua-auto-update.
1496
1497 2012-09-09 Roland Winkler <[email protected]>
1498 Provide unified scheme for customizing how BBDB analyzes messages.
1499
1500 * lisp/bbdb.el (bbdb-add-name): Renamed from
1501 bbdb-accept-name-mismatch.
1502 (bbdb-add-aka): Renamed from bbdb-use-alternate-names.
1503 (bbdb-new-mails-primary): Renamed from
1504 bbdb-new-mails-always-primary.
1505 (bbdb-add-name, bbdb-add-aka, bbdb-add-mails)
1506 (bbdb-new-mails-primary): Unify set of allowed values.
1507 (bbdb-add-job, bbdb-eval-spec): New functions.
1508 (bbdb-mode): Update docstring.
1509
1510 * lisp/bbdb-com.el (bbdb-merge-records): Use bbdb-add-aka.
1511
1512 * lisp/bbdb-mua.el (bbdb-annotate-message): Use bbdb-add-name,
1513 bbdb-add-aka, bbdb-add-mails, and bbdb-new-mails-primary.
1514
1515 2012-09-08 Roland Winkler <[email protected]>
1516 * lisp/bbdb-mua.el (bbdb-message-header): Use
1517 gnus-fetch-original-field so that bbdb-select-message does not get
1518 fooled by an apparent absence of some headers.
1519
1520 2012-09-07 Roland Winkler <[email protected]>
1521 * lisp/bbdb.el (bbdb-accept-name-mismatch): Allow value being a
1522 regexp or function.
1523 * lisp/bbdb-mua.el (bbdb-annotate-message): Use these new values.
1524
1525 2012-09-01 Roland Winkler <[email protected]>
1526 * lisp/bbdb-mua.el (bbdb-mua-edit-field): Bug fix.
1527
1528 2012-09-01 Roland Winkler <[email protected]>
1529 * lisp/bbdb.el (bbdb-record-set-field): Bug fix.
1530
1531 2012-09-01 Roland Winkler <[email protected]>
1532 * lisp/bbdb.el (bbdb-with-print-loadably): New macro.
1533 (bbdb-insert-record-internal, bbdb-overwrite-record-internal)
1534 (bbdb-sort-records): Use it.
1535
1536 2012-08-11 Roland Winkler <[email protected]>
1537 * lisp/bbdb-com.el (bbdb-complete-mail-cleanup): New function.
1538 (bbdb-complete-mail): Use it. In particular, clean up also when
1539 using *Completions* buffer.
1540
1541 2012-08-11 Roland Winkler <[email protected]>
1542 Remove electric mode that was not providing any new functionality
1543 to BBDB. Also see GNU Emacs Bug#11983.
1544
1545 * lisp/bbdb.el (bbdb-electric, bbdb-inside-electric-display)
1546 (bbdb-quit-window, bbdb-electric-display-records)
1547 (bbdb-electric-throw, bbdb-quit-window)
1548 (bbdb-display-records-internal): Remove.
1549 (bbdb-display-records): Remove arg electric. Merge with
1550 bbdb-display-records-internal.
1551 (bbdb-redisplay-records): Use bbdb-display-records.
1552
1553 * lisp/bbdb-com.el (bbdb-mail, bbdb-mail-address, bbdb-info):
1554 Remove electricity.
1555 (bbdb-mail-abbrev-expand-hook): Use bbdb-display-records.
1556
1557 * lisp/bbdb-mua.el (bbdb-mua-display-records)
1558 (bbdb-mua-auto-update): Use bbdb-display-records.
1559
1560 2012-08-09 Roland Winkler <[email protected]>
1561 Remove message cache that was broken. There were two problems
1562 with it. The cache did not distinguish between records associated
1563 with the senders and recipients. So if a call of
1564 bbdb-mua-display-sender was followed by, say, a call of
1565 bbdb-mua-display-recipients the second call also returned the
1566 senders. Second, the cache used assq to identify message keys to
1567 operate fast. Yet most MUAs only provide strings as message keys.
1568
1569 * lisp/bbdb.el (bbdb-message-all-addresses)
1570 (bbdb-notice-mail-hook, bbdb-notice-record-hook): Fix docstring.
1571 (bbdb-message-caching, bbdb-message-cache): Remove.
1572 (bbdb-buffer): Remove cache flushing.
1573
1574 * lisp/bbdb-mua.el (bbdb-update-records): Remove arg msg-key.
1575 Remove caching of records.
1576 (bbdb-message-get-cache, bbdb-message-set-cache)
1577 (bbdb-message-rem-cache): Remove.
1578 (bbdb-mua-update-records): Remove arg msg-key from calls of
1579 bbdb-update-records.
1580
1581 2012-08-07 Roland Winkler <[email protected]>
1582 * lisp/bbdb-com.el (bbdb-complete-mail): Use quit-window instead
1583 of current-window-configuration and set-window-configuration.
1584 * lisp/bbdb.el (bbdb-complete-mail-saved-window-config): Remove.
1585
1586 2012-08-06 Roland Winkler <[email protected]>
1587 * lisp/bbdb-com.el (bbdb-complete-mail): Revert 2012-07-06 change.
1588
1589 2012-08-05 Roland Winkler <[email protected]>
1590 * lisp/bbdb-mua.el (bbdb-annotate-message): Simplify.
1591
1592 2012-08-05 Roland Winkler <[email protected]>
1593 * lisp/bbdb.el (bbdb-suppress-changed-records-recording): Remove.
1594 (bbdb-puthash, bbdb-gethash, bbdb-remhash): Ignore keys that are
1595 empty strings or nil.
1596 (bbdb-hash-record): Explicitly hash name.
1597 (bbdb-change-record, bbdb-delete-record-internal)
1598 (bbdb-insert-record-internal, bbdb-overwrite-record-internal):
1599 Operate on hash table and bbdb-changed-records list only when
1600 necessary.
1601
1602 * lisp/bbdb-com.el (bbdb-delete-records): Remove record from hash
1603 table.
1604 (bbdb-merge-records): Do not add new-record to the list of changed
1605 records, which is done already by bbdb-change-record.
1606
1607 2012-08-05 Roland Winkler <[email protected]>
1608 * lisp/bbdb-com.el (bbdb-complete-mail): Do not call quit-window.
1609 Instead, rely on set-window-configuration that it does what we
1610 want.
1611
1612 2012-08-01 Roland Winkler <[email protected]>
1613 * lisp/bbdb-com.el (bbdb-merge-records): Improve interactive call
1614 and docstring.
1615
1616 2012-08-01 Roland Winkler <[email protected]>
1617 * lisp/bbdb.el (bbdb-allow-duplicates, bbdb-hash-update)
1618 (bbdb-record-set-field): Fix docstring.
1619 * lisp/bbdb-com.el (bbdb-merge-records): Do not through an error
1620 when merging the old and new record results in duplicate AKAs and
1621 email addresses.
1622
1623 2012-07-31 Roland Winkler <[email protected]>
1624 * lisp/bbdb-com.el (bbdb-complete-mail): When a single record
1625 matches, analyze more carefully which mail address to use. Cycle
1626 even if the record contains only one mail address, yet
1627 bbdb-dwim-mail gives us something different from what we have.
1628 Search correctly for RFC 822 addresses containing a full name.
1629
1630 2012-07-20 Roland Winkler <[email protected]>
1631 * lisp/bbdb-mua.el (bbdb-annotate-message): Simplify. Create new
1632 record if update-p has not value update.
1633
1634 2012-07-20 Roland Winkler <[email protected]>
1635 * lisp/bbdb.el (bbdb-gethash): Allow value of t for arg predicate.
1636
1637 2012-07-20 Sam Steingold <[email protected]>
1638 * lisp/bbdb-com.el (bbdb-message-search): Allow args name or mail
1639 to be nil.
1640
1641 2012-07-19 Roland Winkler <[email protected]>
1642 * lisp/bbdb.el: Simplify previous patch.
1643 (bbdb-electric-execute, bbdb-electric-quit, bbdb-electric-quit):
1644 Remove.
1645 (bbdb-display-records): Simplify.
1646 (bbdb-electric-display-records): Fix docstring. Simplify. Remove
1647 optional args select and horiz-p that interfere with
1648 Electric-pop-up-window.
1649
1650 2012-07-18 Roland Winkler <[email protected]>
1651 * lisp/bbdb.el (bbdb-electric-display-records): Fix previous
1652 patch.
1653
1654 2012-07-18 Roland Winkler <[email protected]>
1655 * lisp/bbdb.el: Autoload bbdb-search and bbdb-search-prompt.
1656 (bbdb-display-records): Make records a required arg. Do not
1657 redefine keys. Pass optional args to
1658 bbdb-electric-display-records.
1659 (bbdb-electric-display-records): New optional args layout, append,
1660 select, and horiz-p. Make it a command. Redefine SPC key
1661 temporarily. Simplify.
1662
1663 2012-07-17 Roland Winkler <[email protected]>
1664 * lisp/bbdb.el (bbdb-mua-update-interactive-p)
1665 (bbdb-mua-auto-update-p, bbdb-update-records-p): Update docstring.
1666 (bbdb-canonicalize-mail-function): Update docstring.
1667 (bbdb-message-caching): Use default nil till caching is fixed.
1668 (bbdb-cache-deleted-p, bbdb-cache-set-deleted-p)
1669 (bbdb-record-deleted-p, bbdb-record-set-deleted-p): Removed.
1670 (bbdb-display-name-organization): Use memq.
1671
1672 * lisp/bbdb-mua.el (bbdb-mua, bbdb-message-header): Use memq.
1673 (bbdb-get-address-components): Allow mail to be nil. Use
1674 member-ignore-case.
1675 (bbdb-update-records): New value update for arg update-p. Use
1676 memq.
1677 (bbdb-message-get-cache): Simplify.
1678 (bbdb-message-set-cache): Remove old value from cache.
1679 (bbdb-annotate-message): New value update for arg update-p.
1680 Operate on all records found by bbdb-message-search. Return list
1681 of records. Use member-ignore-case.
1682 (bbdb-mua-update-records): Use memq.
1683 (bbdb-auto-notes): Use member-ignore-case and assoc-string.
1684
1685 * lisp/bbdb-com.el (bbdb-read-name, bbdb-insert-field): Use memq.
1686 (bbdb-complete-mail): Use member-ignore-case.
1687
1688 * lisp/bbdb-message.el (bbdb/message-update-records-p)
1689 * lisp/bbdb-rmail.el (bbdb/rmail-update-records-p)
1690 * lisp/bbdb-mhe.el (bbdb/mh-update-records-p)
1691 * lisp/bbdb-gnus.el (bbdb/gnus-update-records-p)
1692 * lisp/bbdb-vm.el (bbdb/vm-update-records-p): Update
1693 docstring.
1694
1695 * lisp/bbdb-print.el (bbdb-print-record): Do not use
1696 bbdb-record-deleted-p.
1697
1698 * README: Update usage of update-p.
1699
1700 2012-07-12 Roland Winkler <[email protected]>
1701 * lisp/bbdb-mua.el (bbdb-get-address-components)
1702 (bbdb-message-get-cache, bbdb-message-set-cache)
1703 (bbdb-message-rem-cache, bbdb-mua-annotate-sender)
1704 (bbdb-mua-annotate-recipients, bbdb-mua-edit-field)
1705 (bbdb-canonical-hosts, bbdb-canonicalize-mail-1)
1706 (bbdb-mail-redundant-p, bbdb-delete-redundant-mails)
1707 (bbdb-message-clean-name-default): Fix docstring.
1708
1709 2012-07-09 Roland Winkler <[email protected]>
1710 * lisp/bbdb-mua.el (bbdb-mua-annotate-sender)
1711 (bbdb-mua-annotate-recipients, bbdb-mua-edit-field)
1712 (bbdb-mua-edit-field-sender, bbdb-mua-edit-field-recipients): New arg
1713 update-p.
1714 (bbdb-mua-edit-field-interactive): Handle arg update-p.
1715
1716 2012-07-08 Roland Winkler <[email protected]>
1717 * lisp/bbdb-mua.el (bbdb-update-records): Fix previous patch.
1718
1719 2012-07-08 Roland Winkler <[email protected]>
1720 * lisp/bbdb-mua.el (bbdb-update-records): Make records a list
1721 ordered like address-list.
1722
1723 2012-07-06 Roland Winkler <[email protected]>
1724 * lisp/bbdb-com.el (bbdb-complete-mail): Use window-live-p.
1725
1726 2012-07-06 Roland Winkler <[email protected]>
1727 * lisp/bbdb-mua.el (bbdb-mua-edit-field): Revert previous change.
1728 Do not use hard-coded bindings for user variables.
1729
1730 2012-07-06 Sam Steingold <[email protected]>
1731 * lisp/bbdb-com.el (bbdb-complete-mail): Use `quit-window' instead
1732 of `bury-buffer' to get rid of *Completions*.
1733
1734 2012-07-06 Sam Steingold <[email protected]>
1735 * lisp/bbdb-mua.el (bbdb-mua-edit-field): Edit THE record for THE
1736 sender, not all the relevant records.
1737
1738 2012-07-03 Roland Winkler <[email protected]>
1739 * lisp/bbdb.el (bbdb-record-name, bbdb-record-name-lf): Fix
1740 docstring.
1741 * lisp/bbdb-com.el (bbdb-search): Also search last_first names.
1742 Fix docstring.
1743 (bbdb-message-search): Fix docstring.
1744
1745 2012-07-01 Sam Steingold <[email protected]>
1746 * lisp/bbdb-mua.el (bbdb-get-address-components): name may be nil.
1747
1748 2012-07-01 Sam Steingold <[email protected]>
1749 * .gitignore: ignore Makefiles and configure files;
1750 bbdb-autoloads.el -> bbdb-loaddefs.el.
1751
1752 2012-06-24 Sam Steingold <[email protected]>
1753 * lisp/bbdb-mua.el (bbdb-update-records): Use bbdb-message-search
1754 instead of bbdb-search when `update-p' is `search' so that all
1755 senders are displayed.
1756 * lisp/bbdb-mua.el (bbdb-annotate-message): Do not offer to
1757 replace the name if it is already an AKA.
1758
1759 * lisp/bbdb.el (bbdb-label-completion-list): Use symbol-value
1760 instead of eval for symbols.
1761 * lisp/bbdb-mua.el (bbdb-update-records): Ditto.
1762
1763 2012-06-24 Philip Hudson <[email protected]>
1764 * lisp/bbdb.el (bbdb-read-only, bbdb-initialize-hook)
1765 (bbdb-mode-hook, bbdb-layout-alist, bbdb-case-fold-search)
1766 (bbdb-message-caching, bbdb-complete-mail-allow-cycling)
1767 (bbdb-after-save-hook, bbdb-completion-display-record)
1768 (bbdb-update-records-address, bbdb-warn, bbdb-split, bbdb-concat)
1769 (bbdb-read-string, bbdb-current-record, bbdb-debug)
1770 (bbdb-timestamp, bbdb-creation-date, bbdb-gethash)
1771 (bbdb-hash-record, bbdb-record-name, bbdb-record-name-lf)
1772 (bbdb-record-sortkey, bbdb-record-set-sortkey, bbdb-record-marker)
1773 (bbdb-record-set-marker, bbdb-record-deleted-p)
1774 (bbdb-record-set-deleted-p, bbdb-merge-concat)
1775 (bbdb-merge-string-least, bbdb-merge-string-most)
1776 (bbdb-phone-string, bbdb-error-retry, bbdb-display-list)
1777 (bbdb-display-record-one-line, bbdb-display-record-multi-line)
1778 (bbdb-display-records, bbdb-display-records-internal)
1779 (bbdb-redisplay-record, bbdb-pop-up-window)
1780 (bbdb-electric-display-records, bbdb-electric-throw)
1781 (bbdb-electric-quit, bbdb-quit-window, bbdb-mouse-menu, bbdb-save)
1782 (bbdb-offer-to-create bbdb-lastname-suffixes)
1783 (bbdb-update-records-p, bbdb-new-mails-always-primary): Fix
1784 docstring.
1785 (bbdb-mail-user-agent): Untabify.
1786
1787 2012-06-24 Roland Winkler <[email protected]>
1788 Update copyright notices.
1789
1790 * lisp/bbdb.el (bbdb-allow-duplicates): Rename from
1791 bbdb-no-duplicates to match the unchanged docstring of this
1792 variable.
1793 (bbdb-record-Notes): Rename from bbdb-record-notes to avoid name
1794 clashes.
1795 (bbdb-puthash): Do not hash empty strings.
1796 (bbdb-gethash): New arg predicate.
1797 (bbdb-check-name): New function.
1798 (bbdb-record-set-name): For args first and last allow new value t.
1799 Use bbdb-check-name.
1800 (bbdb-record-name, bbdb-record-name-lf): Use it.
1801 (bbdb-record-set-field): Use it. Simplify.
1802 (bbdb-label-completion-default, bbdb-data-completion-list)
1803 (bbdb-data-completion-default): Remove unused function.
1804 (bbdb-buffer): Handle here that bbdb-file might have changed on
1805 disk and auto-save file could be newer than bbdb-file instead of
1806 bbdb-records doing this.
1807 (bbdb-revert-buffer): Fix docstring. Use prefix arg as in
1808 revert-buffer. Use variable bbdb-buffer instead of function
1809 bbdb-buffer to avoid recursion.
1810 (bbdb-parse-records): Rename from bbdb-parse-internal. Add
1811 docstring. Do not polute buffer-undo-list when reading bbdb-file.
1812 Use unwind-protect. Merge with bbdb-parse-frobnicate. Handle
1813 bbdb-allow-duplicates properly.
1814 (bbdb-with-db-buffer): Add docstring.
1815 (bbdb-display-record-one-line, bbdb-display-record-multi-line):
1816 Simplify.
1817 (bbdb-pop-up-window): Fix docstring.
1818 (bbdb-sendmail-menu): Add docstring.
1819 (bbdb-electric-quit): Rename from bbdb-electric-done.
1820 (bbdb-electric-display-records): Simplify.
1821
1822 * lisp/bbdb-com.el (bbdb-editable): Fix docstring. Check more
1823 carefully without reverting.
1824 (bbdb-message-search): Use bbdb-buffer.
1825 (bbdb-read-record): Use bbdb-buffer and bbdb-check-name.
1826 (bbdb-create-internal): Fix docstring. Use bbdb-check-name.
1827 (bbdb-edit-field): Merge with bbdb-record-edit-name.
1828 (bbdb-record-edit-name): Remove.
1829 (bbdb-completion-predicate): Bug fix.
1830 (bbdb-complete-mail): Use bbdb-buffer and
1831 bbdb-completion-predicate.
1832 (bbdb-search-duplicates, bbdb-message-search)
1833 (bbdb-create-internal): Use arg predicate of bbdb-gethash.
1834
1835 * lisp/bbdb.el (bbdb-gethash): New arg predicate.
1836 (bbdb-check-name, bbdb-record-set-field, bbdb-parse-records) Use
1837 it.
1838 * lisp/bbdb-com.el (bbdb-search-duplicates, bbdb-message-search)
1839 (bbdb-create-internal): Use it.
1840
1841 * lisp/bbdb-mua.el (bbdb-message-get-cache): Use bbdb-buffer.
1842
1843 * lisp/bbdb.el (bbdb-message-clean-name-function)
1844 (bbdb-message-mail-as-name): New variables.
1845 * lisp/bbdb-mua.el (bbdb-get-address-components)
1846 (bbdb-annotate-message): Use them.
1847 (bbdb-message-clean-name-default): Rename from
1848 bbdb-message-clean-name. Clean names properly, too.
1849
1850 * tex/Makefile.in (install-TeX): Bug fix (Bug#108041).
1851
1852 2012-01-02 Sam Steingold <[email protected]>
1853 * lisp/bbdb.el (bbdb-auto-notes-rules): Use :set keyword to reset
1854 `bbdb-auto-notes-rules-expanded' when `bbdb-auto-notes-rules' is set.
1855
1856 2012-01-02 Roland Winkler <[email protected]>
1857 * lisp/bbdb-anniv.el (bbdb-anniv-list): Clarify docstring.
1858
1859 2012-01-02 Roland Winkler <[email protected]>
1860 * lisp/bbdb.el: Do not use custom-loads for bbdb-mua.el and
1861 bbdb-com.el. Use symbols for custom-loads.
1862 (bbdb-utilities-ispell): Group renamed and moved here from
1863 bbdb-ispell.el.
1864 (bbdb-utilities-print): Group renamed from bbdb-print.
1865 (bbdb-utilities-dialing): Group renamed from bbdb-dialing.
1866 * lisp/bbdb-ispell.el, lisp/bbdb-print.el: Updated accordingly.
1867
1868 2011-12-18 Roland Winkler <[email protected]>
1869 * lisp/bbdb-anniv.el (bbdb-anniv-diary-entries): Remove leading
1870 and trailing whitespace in text properly.
1871
1872 2011-12-18 Roland Winkler <[email protected]>
1873 * lisp/Makefile.in: Do not create backup file for
1874 bbdb-loaddefs.el.
1875
1876 2011-12-18 Roland Winkler <[email protected]>
1877 * lisp/bbdb-anniv.el (bbdb-anniv-alist): New format specification
1878 `%t'.
1879 (bbdb-anniv-diary-entries): Use it. Handle diary's backup forms
1880 in a better way.
1881
1882 2011-12-11 Roland Winkler <[email protected]>
1883 * INSTALL, Makefile.in, aclocal.m4, configure.ac, install-sh:
1884 * lisp/Makefile.in, doc/Makefil.in, doc/bbdb.texi:
1885 * doc/doclicense.texi, doc/gpl.texi, tex/Makefile.in:
1886 * tex/bbdb-cols.tex, tex/bbdb-print-brief.tex, tex/bbdb-print.tex:
1887 New files.
1888 * lisp/makefile-temp: Renamed from lisp/Makefile.
1889 * README: Updated.
1890
1891 * lisp/bbdb-ispell.el: Header updated. Prefix bbdb-spell replaced
1892 by bbdb-ispell.
1893 (bbdb-ispell): New custom group.
1894 (bbdb-ispell-dictionary-list): Renamed from bbdb-spell-dictionary.
1895 (bbdb-ispell-field-list): Renamed from bbdb-spell-field.
1896 (bbdb-ispell-export): Merged with bbdb-spell-add-word.
1897 (bbdb-ispell-collect-words): Renamed from
1898 bbdb-spell-export-field. Merged with bbdb-spell-append-word.
1899
1900 2011-12-11 Ivan Kanis <[email protected]>
1901 * lisp/bbdb-ispell.el: New file
1902
1903 2011-11-27 Roland Winkler <[email protected]>
1904 * README: Updated.
1905
1906 * lisp/bbdb.el: Revert change from 2011-10-11. Loading
1907 bbdb-autoloads.el is sufficient.
1908
1909 * lisp/Makefile: It no longer supports VM by default, but you need
1910 to enable it.
1911
1912 2011-11-27 Leo <[email protected]>
1913 * lisp/bbdb.el (bbdb-image-suffixes): Fix typo.
1914
1915 2011-11-20 Roland Winkler <[email protected]>
1916 * README: Updated.
1917
1918 * lisp/bbdb.el (bbdb-message-try-all-headers)
1919 (bbdb-user-mail-address-re): Clarify doc string.
1920 (bbdb-defstruct): Do not update bbdb-mail-aliases-need-rebuilt.
1921 (bbdb-record-set-note): Update bbdb-mail-aliases-need-rebuilt.
1922 (bbdb-record-set-name): Update name in cache and hash.
1923 (bbdb-record-unset-name): Removed (obsolete).
1924 (bbdb-hash-update): New function.
1925 (bbdb-record-set-field): Use it.
1926 (bbdb-records): Initiate variable bbdb-records.
1927 (bbdb-parse-internal): Use bbdb-goto-first-record.
1928 (bbdb-goto-first-record): Move backward only if we found a first
1929 record.
1930
1931 * lisp/bbdb-com.el (bbdb-insert-field)
1932 (bbdb-delete-field-or-record): Use bbdb-record-set-field.
1933 (bbdb-edit-field): New optional arg value. Handle affix,
1934 organization, mail, aka, and note fields directly.
1935 (bbdb-record-edit-affix, bbdb-record-edit-organziation)
1936 (bbdb-record-edit-mail, bbdb-record-edit-aka)
1937 (bbdb-record-edit-note): Removed.
1938
1939 * lisp/bbdb.el (bbdb-mail-avoid-redundancy) Renamed from
1940 bbdb-mail-allow-redundancy.
1941 * lisp/bbdb-com.el (bbdb-dwim-mail): Update it accordingly.
1942
1943 * lisp/bbdb.el (bbdb-update-records-p): Change default to less
1944 agressive `search'.
1945 (bbdb-mua-auto-update-p): New variable
1946 * lisp/bbdb-mua.el (bbdb-mua-auto-update): Use it.
1947 (bbdb-update-records): Resolve arg update-p up to two times.
1948 * lisp/bbdb-message.el (bbdb/message-update-records-p)
1949 * lisp/bbdb-rmail.el (bbdb/rmail-update-records-p)
1950 * lisp/bbdb-gnus.el (bbdb/gnus-update-records-p)
1951 * lisp/bbdb-mhe.el (bbdb/mh-update-records-p)
1952 * lisp/bbdb-vm.el (bbdb/vm-update-records-p): Doc fix.
1953
1954 * lisp/bbdb-mua.el (bbdb-annotate-record): Convert annotation into
1955 list if field is affix, organization, mail or aka.
1956 (bbdb-mua-edit-field-interactive): New function.
1957 (bbdb-mua-edit-field): New command.
1958 (bbdb-mua-edit-field-sender, bbdb-mua-edit-field-recipients): Use
1959 it.
1960
1961 * lisp/bbdb.el (bbdb-image, bbdb-image-path, bbdb-image-suffixes):
1962 New variables.
1963 (bbdb-display-name-organization): Use them to display images for
1964 BBDB records. Suggested by Ivan Kanis <[email protected]>.
1965
1966 * lisp/bbdb-migrate.el (bbdb-undocumented-variables): New command.
1967
1968 2011-10-11 Teodor Zlatanov <[email protected]>
1969
1970 * lisp/bbdb.el: Autoload `bbdb-insinuate-gnus' from bbdb-gnus.el
1971 so `bbdb-initialize' won't throw an error when passed 'gnus.
1972 Ditto 'message, 'rmail, 'vm, and 'mh-e.
1973
1974 2011-10-10 Roland Winkler <[email protected]>
1975 * lisp/bbdb.el (bbdb-name-format, bbdb-read-name-format)
1976 (bbdb-name-face-alist): New user variables.
1977 (bbdb-record-name-lf): New function.
1978 (bbdb-display-name-organization): Use bbdb-name-format for
1979 customizable display of name. Use note field name-face for
1980 customizable font-locking of name of a record.
1981 (bbdb-layout-list): Omit name-format and name-face
1982 for multi-line and pop-up-multi-line format.
1983 (bbdb-separator-alist): New default values for name-first-last and
1984 name-last-first.
1985 (bbdb-record-set-name): Use them.
1986 * lisp/bbdb-com.el (bbdb-read-name): New function.
1987 (bbdb-read-record, bbdb-record-edit-name): Use it. New optional
1988 arg first-and-last.
1989
1990 * lisp/bbdb.el: (bbdb-merge-notes-function): Removed (obsolete).
1991 (bbdb-record-type): New internal variable.
1992 (bbdb-check-type): Moved here from lisp/bbdb-com.el. Use the
1993 pseudo-code of bbdb-record-type.
1994 (bbdb-record-get-field, bbdb-merge-concat)
1995 (bbdb-merge-concat-remove-duplicates, bbdb-merge-string-least)
1996 (bbdb-merge-string-most, bbdb-merge-lists, bbdb-divide-name)
1997 (bbdb-parse-postcode): Moved here from lisp/bbdb-com.el.
1998 (bbdb-merge-note): Rewrite.
1999 (bbdb-record-set-field): Moved here from lisp/bbdb-com.el. New
2000 optional args check and merge.
2001 (bbdb-record-note-intern): New function.
2002 (bbdb-record-set-note): Throw error if the name of a note field
2003 equals the name of any other record field.
2004 (bbdb-parse-frobnicate): Include all note fields in
2005 bbdb-notes-label-list.
2006 * lisp/bbdb-com.el (bbdb-create-internal): Use bbdb-check-type.
2007 (bbdb-merge-records-internal): Removed (merged with
2008 bbdb-merge-records).
2009 (bbdb-merge-records): Use bbdb-record-set-field.
2010 * lisp/bbdb-mua.el (bbdb-annotate-record): Renamed from
2011 bbdb-annotate-note. Use bbdb-record-set-field.
2012
2013 * lisp/bbdb.el (bbdb-initialize): Do not require bbdb-autoloads.
2014
2015 * lisp/bbdb.el (bbdb-phone-string): Fix error message.
2016
2017 * lisp/bbdb.el (bbdb-error-retry): Use progn.
2018
2019 * lisp/bbdb.el (bbdb-message-try-all-headers): New user variable.
2020 * lisp/bbdb-mua.el (bbdb-get-address-components): Use it.
2021
2022 * lisp/bbdb-print.el (bbdb-print): Do not use \catcode.
2023
2024 2011-09-22 Leo <[email protected]>
2025 * lisp/bbdb.el (bbdb-pop-up-window): Remove Gnus-specific code
2026 which is not required anymore by recent versions of Gnus.
2027
2028 2011-09-21 Leo <[email protected]>
2029 * lisp/bbdb-com.el (bbdb-browse-url): Fix usage of prefix arg.
2030
2031 2011-09-19 Leo <[email protected]>
2032 * lisp/bbdb-com.el (bbdb-add-mail-alias): Fix completion list used
2033 in interactive calls for deleting an alias.
2034
2035 2011-09-19 Roland Winkler <[email protected]>
2036 * lisp/bbdb.el (bbdb-mode-map): Use / as search prefix.
2037
2038 2011-09-19 Abhi Yerra <[email protected]>
2039 * lisp/bbdb.el (bbdb-dial-function): New variable.
2040 (bbdb-sound-player, bbdb-sound-files, bbdb-modem-dial)
2041 (bbdb-modem-device, bbdb-sound-volume): Removed (obsolete).
2042
2043 * lisp/bbdb-com.el (bbdb-dial-number): Use browse-url and
2044 bbdb-dial-function.
2045 (bbdb-play-sound): Removed (obsolete)
2046
2047 2011-09-19 Roland Winkler <[email protected]>
2048 * lisp/bbdb-com.el (bbdb-dial): First remove extension. Simplify.
2049
2050 2011-09-19 Roland Winkler <[email protected]>
2051 * lisp/bbdb.el (bbdb-version): Do not use interactive-p.
2052
2053 * lisp/bbdb-message.el: Require sendmail for mail-mode-map.
2054
2055 * lisp/bbdb-anniv.el (number): Use with-no-warnings.
2056
2057 * lisp/bbdb-com.el (bbdb-divide-name): Fix regexp for matching
2058 last name prefixes.
2059
2060 2011-05-11 Roland Winkler <[email protected]>
2061 * lisp/bbdb-mua.el (bbdb-update-records): Fix previous patch.
2062 (bbdb-prompt-for-create): Use special-mode.
2063
2064 2011-05-11 Roland Winkler <[email protected]>
2065 * lisp/bbdb.el (bbdb-notice-mail-hook): Rename from
2066 bbdb-notice-hook.
2067 (bbdb-notice-record-hook): New variable.
2068 (bbdb-notice-hook-pending): Update doc string.
2069
2070 * lisp/bbdb-mua.el (bbdb-update-records): Call
2071 bbdb-notice-record-hook.
2072 (bbdb-annotate-message): Use bbdb-notice-mail-hook.
2073
2074 * lisb/bbdb-vm.el (bbdb/vm-auto-add-label): Update doc string.
2075
2076 2011-05-08 Roland Winkler <[email protected]>
2077 * lisp/bbdb-com.el (bbdb-display-all-records): Use redisplay. Why
2078 needed?
2079
2080 2011-05-08 Leo <[email protected]>
2081 * lisp/bbdb-com.el (bbdb-merge-records-internal): Fix typo
2082
2083 2011-05-08 Leo <[email protected]>
2084 * lisp/bbdb-mua.el (bbdb-auto-notes): Fix typo
2085
2086 2011-05-07 Roland Winkler <[email protected]>
2087 * lisp/bbdb-com.el (bbdb-display-current-record): New command.
2088 (bbdb-display-all-records): Improve docstring.
2089
2090 * lisp/bbdb.el (bbdb-mode-map): Key bindings for
2091 bbdb-display-all-records and bbdb-display-current-record.
2092
2093 2011-04-29 Barak A. Pearlmutter <[email protected]>
2094 * lisp/bbdb.el (bbdb-init-forms): Fix typo.
2095 (bbdb-parse-internal): Clarify error message.
2096
2097 2011-04-29 Barak A. Pearlmutter <[email protected]>
2098 * lisp/bbdb-migrate.el (bbdb-peel-the-onion): New function.
2099 (bbdb-migrate): Use it for cleaning up corrupted BBDB files.
2100
2101 2011-04-29 Barak A. Pearlmutter <[email protected]>
2102 * lisp/Makefile: Use option --batch. New target TAGS.
2103
2104 2011-04-29 Roland Winkler <[email protected]>
2105 * lisp/bbdb.el, lisp/bbdb-com.el, lisp/bbdb-migrate.el,
2106 lisp/bbdb-print.el: Rename degree field to affix.
2107
2108 2011-04-29 Roland Winkler <[email protected]>
2109 * lisp/bbdb.el (bbdb-display-name-organization): Include name in
2110 text property.
2111 (bbdb-scan-property): New function.
2112 (bbdb-next-record, bbdb-prev-record): Use it.
2113 (bbdb-next-field, bbdb-prev-field): New commands bound to "N" and
2114 "P".
2115
2116 2011-04-23 Roland Winkler <[email protected]>
2117 * lisp/bbdb.el (bbdb-pop-up-window): Rename from
2118 bbdb-pop-up-buffer.
2119 * lisp/bbdb.el (bbdb-display-records-internal)
2120 * lisp/bbdb-com.el (bbdb-complete-mail): Use new name.
2121
2122 2011-04-23 Leo <[email protected]>
2123 * lisp/bbdb.el (bbdb-pop-up-buffer): Distinguish 1 and 1.0 in
2124 bbdb-pop-up-window-size.
2125
2126 2011-04-23 Roland Winkler <[email protected]>
2127 * lisp/bbdb-message.el (bbdb-insinuate-message)
2128 (bbdb-insinuate-mail)
2129 * lisp/bbdb-rmail.el (bbdb-insinuate-rmail)
2130 * lisp/bbdb-gnus.el (bbdb-insinuate-gnus)
2131 * lisp/bbdb-mhe.el (bbdb-insinuate-mh)
2132 * lisp/bbdb-vm.el (bbdb-insinuate-vm): Fix docstring.
2133
2134 2011-04-23 Roland Winkler <[email protected]>
2135 * lisp/bbdb.el (bbdb-mode-map): Do no call set-keymap-parent which
2136 is done already by define-derived-mode. Reported by Sam Steingold
2137 <[email protected]>. Add menu binding for revert-buffer.
2138
2139 2011-04-16 Roland Winkler <[email protected]>
2140 * lisp/bbdb.el (bbdb-create-hook, bbdb-change-hook): Use defvar.
2141
2142 2011-04-16 Roland Winkler <[email protected]>
2143 * lisp/bbdb.el (bbdb-time-stamp-format): Includes timezone info.
2144
2145 2011-04-16 Roland Winkler <[email protected]>
2146 * TODO: New file.
2147
2148 2011-04-16 Roland Winkler <[email protected]>
2149 * lisp/bbdb.el (bbdb-faces): Group of faces used by BBDB.
2150 (bbdb-name, bbdb-organization, bbdb-field-name): New faces.
2151 (bbdb-display-name-organization, bbdb-display-record-one-line)
2152 (bbdb-display-record-multi-line): Use them.
2153
2154 2011-04-16 Roland Winkler <[email protected]>
2155 * lisp/bbdb.el (bbdb-mode-map): Inherit from special-mode-map.
2156 (bbdb-quit-window): Renamed from bbdb-bury-buffer. Use
2157 quit-window.
2158 (bbdb-mode): Use define-derived-mode.
2159
2160 2011-04-16 Roland Winkler <[email protected]>
2161 * lisp/bbdb.el (bbdb-indent-string): New function.
2162 (bbdb-display-record-multi-line): Use it. (Bug#33101)
2163
2164 2011-04-16 Roland Winkler <[email protected]>
2165 * lisp/bbdb-com.el: Autoload browse-url-url-at-point.
2166
2167 2011-04-16 Roland Winkler <[email protected]>
2168 * lisp/bbdb.el (bbdb-create-hook, bbdb-change-hook): Call
2169 add-hook for the default hook functions.
2170
2171 2011-04-11 Roland Winkler <[email protected]>
2172 * lisp/bbdb-com.el (bbdb-complete-mail): Ensure initialization of
2173 the database.
2174
2175 2011-04-10 Roland Winkler <[email protected]>
2176 * lisp/bbdb.el (bbdb-utilities-anniv): New customization group.
2177 (bbdb-create-hook, bbdb-change-hook)
2178 (bbdb-after-change-hook, bbdb-notice-hook)
2179 (bbdb-default-separator): Improve doc string.
2180 (bbdb-separator-alist): Improve doc string. Include entries for
2181 anniversaries.
2182 (bbdb-records): Use make-variable-buffer-local.
2183 (bbdb-current-field): Do not remove field-name.
2184 (bbdb-record-note): Simplified.
2185 (bbdb-record-note-n): Removed.
2186 (bbdb-record-note-split): New function.
2187 (bbdb-record-set-note): Improved documentation.
2188 (bbdb-format-note, bbdb-record-format-note): New function.
2189 (bbdb-display-text): Renamed from bbdb-format-text.
2190 (bbdb-display-list): Renamed from bbdb-format-list.
2191 (bbdb-display-name-organization): Renamed from
2192 bbdb-format-name-organization.
2193 (bbdb-display-record-one-line): Renamed from
2194 bbdb-format-record-one-line. Unify text properties.
2195 (bbdb-display-record-multi-line): Renamed from
2196 bbdb-format-record-multi-line. Unify text properties.
2197 (bbdb-display-record-full-multi-line): Renamed from
2198 bbdb-format-record-full-multi-line.
2199 (bbdb-display-record-pop-up-multi-line): Renamed from
2200 bbdb-format-record-pop-up-multi-line.
2201 (bbdb-display-record): Renamed from bbdb-format-record.
2202 (bbdb-parse-internal, bbdb-parse-frobnicate): Simplified search
2203 for first record.
2204 (bbdb-delete-record-internal, bbdb-overwrite-record-internal):
2205 Disentangle code.
2206
2207 * lisp/bbdb-com.el (bbdb-editable): Throw error if *BBDB* buffer
2208 is out of sync with database.
2209 (bbdb-search): Use suffix -re for all args that are regular
2210 expressions.
2211 (bbdb-delete-duplicate-mails, bbdb-sort-addresses)
2212 (bbdb-sort-phones, bbdb-sort-notes): New optional arg update.
2213 (bbdb-record-edit-note): Renamed from bbdb-record-edit-notes.
2214 (bbdb-list-transpose, bbdb-ident-point): New functions.
2215 (bbdb-transpose-fields): Use them. Make code more robust such
2216 that it can be applied to any subfields of the same type.
2217 (bbdb-field-equal, bbdb-next-field): Removed (obsolete).
2218 (bbdb-mail-aliases, bbdb-get-mail-aliases, bbdb-add-mail-alias)
2219 (bbdb-browse-url): Use bbdb-record-note-split.
2220
2221 * lisp/bbdb-mua.el (bbdb-mua-wrapper): Do not use
2222 rmail-select-summary.
2223 (bbdb-mua-auto-update): Bug fix.
2224
2225 * lisp/bbdb-rmail.el (bbdb-insinuate-rmail)
2226 * lisp/bbdb-mhe.el (bbdb-insinuate-mh): Bind to
2227 bbdb-mua-edit-notes-sender.
2228
2229 * lisp/bbdb-vm.el (bbdb/vm-auto-folder, bbdb/vm-virtual-folder)
2230 (bbdb/vm-auto-add-label): Use bbdb-record-note-split.
2231
2232 * lisp/bbdb-print.el (bbdb-print-omit-fields): Remove `omit'.
2233
2234 * lisp/bbdb-anniv.el: New file.
2235
2236 * lisp/Makefile: Honor lisp/bbdb-anniv.el.
2237
2238 2011-03-05 Roland Winkler <[email protected]>
2239 * lisp/bbdb.el (bbdb-modeline-info): New variable.
2240 (bbdb-mode): Use it.
2241 (bbdb-mode-map): Unify keybindings for search commands.
2242 (bbdb-sort-records): Update marker positions correctly.
2243
2244 * lisp/bbdb-com.el (bbdb-append-display-p, bbdb-append-display)
2245 (bbdb-search-invert-p, bbdb-search-invert): Use
2246 bbdb-modeline-info.
2247 (bbdb-search): Also search for addresses. Simplify codde.
2248 (bbdb-search-address): New command.
2249 (bbdb-search-phone): Fix prompt.
2250
2251 * lisp/bbdb-mua.el (bbdb-mua-wrapper): Simplify code.
2252 (bbdb-mua-auto-update-init): Doc fix.
2253
2254 * lisp/bbdb-message.el (bbdb/message-update-records-p)
2255 * lisp/bbdb-rmail.el (bbdb/rmail-update-records-p)
2256 * lisp/bbdb-gnus.el (bbdb/gnus-update-records-p)
2257 * lisp/bbdb-mhe.el (bbdb/mh-update-records-p)
2258 * lisp/bbdb-vm.el (bbdb/vm-update-records-p): Doc fix.
2259
2260 2011-02-27 Roland Winkler <[email protected]>
2261 * lisp/bbdb.el (bbdb-address-format-list): New variable for
2262 customization of address formatting and editing. (renamed
2263 from bbdb-address-format-alist).
2264 (bbdb-format-address): Use it.
2265 (bbdb-format-record-one-line, bbdb-format-record-multi-line): Use
2266 bbdb-format-address.
2267 (bbdb-address-edit-function, bbdb-format-streets)
2268 (bbdb-format-address-continental): Removed. Obsolete because of
2269 bbdb-address-format-list.
2270 (bbdb-format-record): Use funcall instead of eval.
2271 (bbdb-continental-postcode-regexp): Renamed from
2272 bbdb-continental-zip-regexp.
2273 (bbdb-check-postcode): Renamed from bbdb-check-zip.
2274 (bbdb-legal-postcodes): Renamed from bbdb-legal-zip-codes.
2275 (bbdb-expand-mail-aliases): Removed.
2276 (bbdb-notes-label-list): Renamed from bbdb-notes-names.
2277 (bbdb-parse-frobnicate): Calculate value of bbdb-notes-label-list
2278 instead of reading it. Use memq instead of member.
2279 (bbdb-set-notes-labels): Renamed from bbdb-set-notes-names. Do not
2280 write value of bbdb-notes-label-list.
2281 (bbdb-set-eq): Removed (obsolete).
2282 (bbdb-defstruct): Use defsubst.
2283 (bbdb-record-unset-name): Clarify code.
2284 (bbdb-initialize): Doc fix.
2285
2286 * lisp/bbdb-com.el (bbdb-message-search): Use name only if mail
2287 address does not match.
2288 (bbdb-parse-postcode): Renamed from bbdb-parse-zip.
2289 (bbdb-insert-field): In interactive calls ignore fields that are
2290 already present.
2291 (bbdb-record-edit-phone): Convert format of phone number if old
2292 and new format are different.
2293 (bbdb-edit-field): Use new bbdb-record-edit-phone.
2294 (bbdb-record-edit-address): Use bbdb-address-format-list.
2295 (bbdb-edit-address-street): Renamed from
2296 bbdb-address-edit-street. Take arg street instead of address.
2297 (bbdb-edit-address-default): Renamed from
2298 bbdb-address-edit-default.
2299 (bbdb-address-edit-continental): Removed (obsolete).
2300 (bbdb-complete-mail-cleanup): Removed. Code merged with
2301 bbdb-complete-mail.
2302 (bbdb-complete-mail): Return non-nil if valid completion
2303 exists. Simplify code.
2304
2305 * lisp/bbdb-mua.el (bbdb-annotate-message): Use bbdb-string=.
2306 (bbdb-mua-wrapper): Also handle mail and message mode.
2307 (bbdb-mua-auto-update): Renamed from bbdb-mua-pop-up-bbdb-buffer.
2308 Perform auto update even if bbdb-message-pop-up is nil.
2309 (bbdb-mua-auto-update-init): Renamed from
2310 bbdb-mua-pop-up-init. Doc fix. Use memq instead of member.
2311 (bbdb-force-record-create): Removed (obsolete).
2312
2313 * lisp/bbdb-migrate.el (bbdb-migrate-postcodes-to-strings):
2314 Renamed from bbdb-migrate-zip-codes-to-strings.
2315
2316 * lisp/bbdb-print.el (bbdb-print-tex-quote-alist): Fix regexp.
2317 (bbdb-print-address-format-list): Renamed from
2318 bbdb-print-address-format-alist. Use bbdb-address-format-list as
2319 default.
2320 (bbdb-print): Use bbdb-format-address.
2321 (bbdb-print-address-continental): Removed.
2322
2323 2011-01-17 Roland Winkler <[email protected]>
2324 * lisp/Makefile: Do not attempt to add empty line to
2325 bbdb-autloads.el.
2326
2327 2011-01-16 Roland Winkler <[email protected]>
2328 * README: Updated.
2329
2330 * lisp/Makefile: In bbdb-autloads.el, add BBDB lisp directory to
2331 load-path.
2332
2333 * lisp/bbdb.el (bbdb-pop-up-buffer): Use condition-case, in case
2334 split-window fails.
2335 (bbdb-records, bbdb-mode, bbdb-version, bbdb-initialize): Add
2336 autoload cookie.
2337
2338 2011-01-15 Roland Winkler <[email protected]>
2339 * lisp/bbdb-mua.el (bbdb-mua-update-records): For Gnus use
2340 gnus-article-buffer.
2341 (bbdb-mua-wrapper): New macro.
2342 (bbdb-mua-display-records, bbdb-mua-annotate-sender)
2343 (bbdb-mua-annotate-recipients, bbdb-mua-edit-notes-sender)
2344 (bbdb-mua-edit-notes-recipients): Use it.
2345 (bbdb-mua-update-mua): Removed (obsolete because of
2346 bbdb-mua-wrapper).
2347
2348 * lisp/bbdb-gnus.el (bbdb-insinuate-gnus): Code doc updated.
2349
2350 * lisp/bbdb-com.el (bbdb-complete-name): Obsolete alias for
2351 bbdb-complete-mail.
2352
2353 2011-01-06 Roland Winkler <[email protected]>
2354 * lisp/bbdb.el (bbdb-message-headers, bbdb-accept-name-mismatch)
2355 (bbdb-use-alternate-names): Fix docstring.
2356 (bbdb-auto-notes-rules): Renamed from bbdb-auto-notes-alist. New
2357 format.
2358 (bbdb-auto-notes-ignore-messages): Renamed from
2359 bbdb-auto-notes-ignore-all.
2360 (bbdb-auto-notes-ignore-headers): Renamed from
2361 bbdb-auto-notes-ignore.
2362 (bbdb-pop-up-window-size): Fix docstring.
2363 (bbdb-horiz-pop-up-window-size): New variable.
2364 (bbdb-pop-up-buffer): Use it.
2365 (bbdb-auto-notes-rules-expanded): New variable.
2366
2367 * lisp/bbdb-com.el: Use eval-and-compile.
2368 (bbdb-subint): Moved here from lisp/bbdb.el. Simplified.
2369 (bbdb-parse-phone): Return value always includes extension.
2370 (bbdb-read-record): Simplified accordingly.
2371 (bbdb-prompt-for-new-field): Use phone number style as returned
2372 from bbdb-parse-phone.
2373
2374 * lisp/bbdb-mua.el: Use eval-and-compile.
2375 (bbdb-update-records): Avoid name clash with function search in
2376 cl-seq.el.
2377 (bbdb-message-header-re): New function.
2378 (bbdb-accept-message): Use it.
2379 (bbdb-get-address-components): Also return MUA.
2380 (bbdb-annotate-message): Bug fix. Simplify.
2381 (bbdb-mua-pop-up-init): New function.
2382 (bbdb-auto-notes): Complete re-write.
2383
2384 * lisp/bbdb-message.el (bbdb-insinuate-message)
2385 (bbdb-insinuate-mail)
2386 * lisp/bbdb-rmail.el (bbdb-insinuate-rmail)
2387 * lisp/bbdb-gnus.el (bbdb-insinuate-gnus)
2388 * lisp/bbdb-mhe.el (bbdb-insinuate-mh)
2389 * lisp/bbdb-vm.el (bbdb-insinuate-vm): Do not hook in
2390 bbdb-mua-pop-up-bbdb-buffer. (Use instead bbdb-mua-pop-up-init.)
2391
2392 2010-12-15 Roland Winkler <[email protected]>
2393 * lisp/bbdb.el (bbdb-mua-message): New customization group.
2394 (bbdb-update-records-p): Value may also be a function.
2395 (bbdb-mua-update-interactive-p): New variable.
2396 (bbdb-init-forms): Add message and mail mode support. Sendmail is
2397 deprecated (use mail instead). Remove outdated support for
2398 reportmail, supercite and w3.
2399 (bbdb-initialize): Updated accordingly. Do not test presence of
2400 features (which is not needed).
2401 (bbdb-insinuate-sendmail): Removed (use bbdb-insinuate-mail).
2402 ( bbdb-insinuate-message): Moved to bbdb-message.el.
2403
2404 * lisp/bbdb-com.el (bbdb-mail, bbdb-mail-address): Simplified.
2405
2406 * lisp/bbdb-mua.el (bbdb-mua, bbdb-message-header): New functions.
2407 (bbdb-get-address-components): Use bbdb-message-header.
2408 Simplified.
2409 (bbdb-update-records): New arg msg-key. Handle message cache.
2410 Arg update-p may also be a function.
2411 (bbdb-mua-update-records, bbdb-mua-update-mua)
2412 (bbdb-mua-update-interactive-p, bbdb-mua-pop-up-bbdb-buffer): New
2413 functions.
2414 (bbdb-mua-display-records, bbdb-mua-display-sender)
2415 (bbdb-mua-display-recipients, bbdb-mua-annotate-sender)
2416 (bbdb-mua-annotate-recipients, bbdb-mua-edit-notes-sender)
2417 (bbdb-mua-edit-notes-recipients): New commands.
2418
2419 * lisp/bbdb-vm.el (bbdb/vm-header): Remove MIME decoding.
2420 (bbdb/vm-update-records, bbdb/vm-pop-up-bbdb-buffer)
2421 (bbdb/vm-show-records, bbdb/vm-show-sender)
2422 (bbdb/vm-show-recipients, bbdb/vm-annotate-sender)
2423 (bbdb/vm-edit-notes): Obsolete. Use instead generic functions in
2424 bbdb-mua.el.
2425 (bbdb-insinuate-vm): Use generic commands.
2426
2427 * lisp/bbdb-gnus.el (bbdb/gnus-update-records)
2428 (bbdb/gnus-pop-up-bbdb-buffer, bbdb/gnus-show-records)
2429 (bbdb/gnus-show-sender, bbdb/gnus-show-recipients)
2430 (bbdb/gnus-annotate-sender, bbdb/gnus-edit-notes)
2431 (bbdb/gnus-summary-show-all-recipients): Obsolete. Use instead
2432 generic functions in bbdb-mua.el.
2433 (bbdb-insinuate-gnus): Use generic commands.
2434 (bbdb/gnus-lines-and-from-length): Removed as
2435 gnus-optional-headers appears to be obsolete, too.
2436 (bbdb/gnus-message-marker-field): New variable.
2437 (bbdb-message-marker-field): Declared obsolete.
2438 (bbdb/gnus-summary-get-sender, bbdb/gnus-summary-sender-in-bbdb)
2439 (bbdb/gnus-nnimap-folder-list-from-bbdb): Simplified.
2440
2441 * lisp/bbdb-rmail.el (bbdb/rmail-update-records)
2442 (bbdb/rmail-pop-up-bbdb-buffer, bbdb/rmail-show-records)
2443 (bbdb/rmail-show-sender, bbdb/rmail-show-recipients)
2444 (bbdb/rmail-annotate-sender, bbdb/rmail-edit-notes)
2445 (bbdb/rmail-summary-show-all-recipients): Obsolete. Use instead
2446 generic functions in bbdb-mua.el.
2447 (bbdb-insinuate-rmail): Use generic commands. Remove defadvice
2448 which has become obsolete because header Messge-ID is used for
2449 message caching.
2450
2451 * lisp/bbdb-mhe.el, lisp/bbdb-message.el: New files.
2452
2453 * lisp/Makefile: Updated to compile also the new files.
2454
2455 2010-11-30 Roland Winkler <[email protected]>
2456 * lisp/bbdb.el (bbdb-update-records-p): Fix docstring.
2457 (bbdb-message-pop-up): Change default to a less aggressive nil.
2458 (bbdb-format-record-one-line): Remove linebreaks from multi-line
2459 notes.
2460
2461 * lisp/bbdb-com.el (bbdb-delete-duplicate-mails)
2462 (bbdb-display-records-completely)
2463 (bbdb-display-records-with-layout, bbdb-copy-records-as-kill): Doc
2464 fix.
2465 (bbdb-search-duplicates): Improved interactive spec. New arg
2466 records. Doc fix
2467 (bbdb-delete-field-or-record): Make records a required arg. New
2468 arg fields. Doc fix.
2469 (bbdb-delete-records, bbdb-toggle-records-layout)
2470 (bbdb-sort-addresses, bbdb-sort-phones, bbdb-sort-notes)
2471 (bbdb-add-mail-alias): Make records a required arg. Doc fix.
2472 (bbdb-mail-address): New command bound to M.
2473 (bbdb-mail): Use it. New arg verbose. Fix interactive spec.
2474 (bbdb-mail-yank): Renamed from bbdb-yank-addresses. Bug fix.
2475 (bbdb-yank-addresses): Declared obsolete.
2476 (bbdb-browse-url): Simplify. Doc fix.
2477 (bbdb-grab-url): Simplify.
2478
2479 * lisp/bbdb-vm.el (bbdb/vm-update-records-p)
2480 * lisp/bbdb-gnus.el (bbdb/gnus-update-records-p)
2481 * lisp/bbdb-rmail.el (bbdb/rmail-update-records-p): Improved default.
2482
2483 2010-11-01 Roland Winkler <[email protected]>
2484 * lisp/bbdb.el (bbdb-wrap-column): New variable.
2485 (bbdb-format-list): Use bbdb-wrap-column and bbdb-separator-alist.
2486 (bbdb-layout-alist, bbdb-format-address-continental)
2487 (bbdb-format-address-default, bbdb-format-record-multi-line):
2488 Change value of indentation such that it becomes the total
2489 indentation.
2490
2491 * lisp/bbdb-com.el (bbdb-dwim-mail): Fix typo.
2492
2493 2010-10-17 Roland Winkler <[email protected]>
2494 * lisp/bbdb.el (bbdb-mail-allow-redundancy): Doc fix.
2495 (bbdb-mode-map): Include bbdb-do-all-records in "Use database"
2496 submenu.
2497
2498 * lisp/bbdb-com.el (bbdb-record-list): Doc fix.
2499 (bbdb-dwim-mail): Arg MAIL may be a number,
2500 which will pick the MAILth mail address.
2501 (bbdb-mail): New optional arg N to pick Nth mail address.
2502
2503 2010-09-30 Roland Winkler <[email protected]>
2504 * lisp/bbdb.el (bbdb-insert-record-internal): Handle empty
2505 database properly.
2506 * lisp/bbdb-com.el (bbdb-dwim-mail): Cleanup code.
2507
2508 2010-09-19 Roland Winkler <[email protected]>
2509 * lisp/bbdb-mua.el (bbdb-prompt-for-create): Quit with C-g.
2510 (bbdb-annotate-message) Call UPDATE-P only if record is not yet
2511 defined.
2512
2513 2010-08-28 Roland Winkler <[email protected]>
2514 * Relicense all BBDB files to GPLv3 or later. Update email
2515 address to [email protected].
2516
2517 * lisp/bbdb.el (bbdb-completion-list): Element name replaced by
2518 fl-name and lf-name.
2519
2520 * lisp/bbdb-com.el (bbdb-insert-field): Use remq instead of delq.
2521 (bbdb-complete-mail): Do not use trimmed version of the pattern
2522 for partial completion. Distinguish fl-name and lf-name.
2523
2524 2010-08-01 Roland Winkler <[email protected]>
2525 * lisp/bbdb.el (bbdb-message-caching): Renamed from
2526 bbdb-message-caching-enabled.
2527 (bbdb-create-hook): Renamed from bbdb-create-hooks.
2528 (bbdb-change-hook): Renamed from bbdb-change-hooks.
2529 (bbdb-after-change-hook): Renamed from bbdb-after-change-hooks.
2530 (bbdb-notice-hook): Renamed from bbdb-notice-hooks.
2531 (bbdb-accept-message-alist): Renamed from
2532 bbdb-accept-messages-alist.
2533 (bbdb-ignore-message-alist): Renamed from
2534 bbdb-ignore-messages-alist.
2535 (bbdb-update-records-p): New user var.
2536 (bbdb-notice-hook-pending): Renamed from bbdb-inside-notice-hooks.
2537 (bbdb-user-mail-address-re): Renamed from bbdb-user-mail-names.
2538 (bbdb-mail-allow-redundancy): Renamed from
2539 bbdb-dwim-mail-allow-redundancy.
2540 (bbdb-check-auto-save-file): Renamed from
2541 bbdb-notice-auto-save-file.
2542 (bbdb-completion-list): Renamed from bbdb-completion-alist.
2543 (bbdb-mail-alias): Renamed from bbdb-mail-alias-mode.
2544 (bbdb-mail-user-agent): Replacement for bbdb-user-style.
2545 (bbdb-compose-mail): Renamed from bbdb-mail-internal.
2546 (bbdb-default-separator): Renamed from
2547 bbdb-notes-default-separator.
2548 (bbdb-separator-alist): Renamed from bbdb-notes-separator-alist.
2549 (bbdb-concat): Renamed from bbdb-join.
2550
2551 * lisp/bbdb-com.el (bbdb-grab-url): Renamed from
2552 bbdb-url-grab-url.
2553
2554 * lisp/bbdb-mua.el: New file. Content merged from bbdb-com.el and
2555 bbdb-hooks.el
2556 (bbdb-get-address-components): Changed calling sequence.
2557 (bbdb-message-header): Renamed from bbdb-message-field.
2558 (bbdb-accept-message): Renamed from bbdb-ignore-most-messages.
2559 (bbdb-ignore-message): Renamed from bbdb-ignore-some-messages.
2560 (bbdb-select-message): Renamed from
2561 bbdb-ignore-selected-messages-hook.
2562 (bbdb-auto-notes): Renamed from bbdb-auto-notes-hook.
2563 (bbdb-canonicalize-mail-1): Renamed from
2564 bbdb-sample-canonicalize-mail-function.
2565
2566 * lisp/bbdb-print.el (bbdb-print-file): Renamed from
2567 bbdb-print-file-name.
2568 (bbdb-print-tex-quote-alist): New var.
2569 (bbdb-print-address-format-alist): Renamed from
2570 bbdb-address-print-format-alist.
2571 (bbdb-print-record): Renamed from bbdb-print-format-record.
2572 (bbdb-print-address-continental): Renamed from
2573 bbdb-print-format-address-continental.
2574 (bbdb-print-address-default): Renamed from
2575 bbdb-print-format-address-default.
2576 (bbdb-print-phone): Renamed from bbdb-print-phone-string.
2577
2578 * lisp/bbdb-vm.el (bbdb/vm-auto-folder): Renamed from
2579 bbdb/vm-auto-folder-alist.
2580 (bbdb/vm-virtual-folder): Renamed from
2581 bbdb/vm-virtual-folder-alist.
2582
2583 ;; Local Variables:
2584 ;; coding: utf-8
2585 ;; End:
2586
2587 Copyright (C) 2010-2023 Free Software Foundation, Inc.
2588
2589 This file is part of the Insidious Big Brother Database (aka BBDB),
2590
2591 BBDB is free software: you can redistribute it and/or modify
2592 it under the terms of the GNU General Public License as published by
2593 the Free Software Foundation, either version 3 of the License, or
2594 (at your option) any later version.
2595
2596 BBDB is distributed in the hope that it will be useful,
2597 but WITHOUT ANY WARRANTY; without even the implied warranty of
2598 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2599 GNU General Public License for more details.
2600
2601 You should have received a copy of the GNU General Public License
2602 along with BBDB. If not, see <http://www.gnu.org/licenses/>.