BBDB customizations.
The customizations here affect the automatic collection and updates of bbdb names.
There is certainly a lot of freedom in the email display name. Bbdb keeps trying to update the record, when names are swapped. This occurs so frequently, it quickly becomes tedious.
The function bbdb-deusmax-add-name
used during a bbdb-record update, checks
that the new name is not a simple swap of first-name with second-name. If it is,
it stops the update process.
This simple check, will save a lot of AKA: 2nd-name 1st-name entries just to quiet the bbdb query process.
The customize variables bbdb-ignore-*
control when not to grab email info to
create a bbdb entry. Here the additional variables bbdb-deusmax-ignore-groups
and bbdb-deusmax-ignore-group-level
provide additional ignore options.
The library bbdb-mua
sets, by default, the customize variable
bbdb-mua-auto-update-p
to bbdb-select-message
. Using customize, my setup sets
it to function bbdb-deusmax-select-message
. This function makes use of the
customize list bbdb-deusmax-ignore-groups
and
bbdb-deusmax-ignore-group-level
.
Using these, bbdb can ignore emails for the groups:
- matching a regex on the list or
- At a group level and above (the higher, the less important. Default 4)
This is gnus specific as it uses gnus specific features.
Set the following customize variables, preferably using the customize interface:
(require 'bbdb-deusmax)
(setq bbdb-add-name 'bbdb-deusmax-add-name)
(setq bbdb-mua-auto-update-p 'bbdb-deusmax-select-message)
GPLv3 or later. See LICENSE.