On Fri, 27 Jul 2001, [EMAIL PROTECTED] said:
> 
> I noticed recently bbdb-expire.el, which loks very promising. The 
> only problem is that it patches the existing BBDB (attached).

I have a variant which does not patch the BBDB, but it does this only by
providing a mess of ugly and fragile advisements which need revision
with every BBDB version. I haven't revised them for 2.32, and I'd really
rather not have to :)

> Would it be possible to integrate this into BBDB?

I'd recommend it; it's mostly a documentation fix, arranging that, as
the documentation for `bbdb-notice-hook' states,

,----
| Also note that `bbdb-change-hook' will NOT be called as a result of any
| modifications you may make to the record inside this hook.
`----

which is not the case at present.

(OK, so maybe it does a little more than that, allowing the quashing of
change recording too. But I don't think the method I've used to do that
is too terribly ugly, maybe, perhaps.)

ChangeLog entry for this change:

2001-07-18  Nix  <[EMAIL PROTECTED]>

        * lisp/bbdb.el (bbdb-suppress-changed-records-recording): New variable.
        (bbdb-delete-record-internal, bbdb-insert-record-internal,
        bbdb-overwrite-record-internal): Use it.

        * bbdb.el (bbdb-annotate-message-sender): Set `inside-bbdb-notice-hook'.
        * bbdb.el (bbdb-change-record): Use it to suppress running the
        `bbdb-change-hook'.

-- 
`It's all about bossing computers around. Users have to say "please".
Programmers get to say "do what I want NOW or the hard disk gets it".'
                        -- Richard Heathfield on the nature of programming

_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to