On 06 Nov 2001, [EMAIL PROTECTED] stated:
> On Tue, 6 Nov 2001, Ronan Waide gibbered:
>> On November 6, [EMAIL PROTECTED] said:
>>> This one is Gnus-related; it comes and goes seemingly at random. It
>>> turns up when populating a Summary buffer in Gnus:
>>
>> Two things:
>>
>> 1. does it happen with CVS BBDB?
>
> Not a clue, will check. I've got a record that produces the crash, I
> think...
Diagnosed. It's my fault, I think.
>> 2. PLEASE USE BBDB-SUBMIT-BUG-REPORT. Please. That's what it's there
>> for, and it makes it easier to see what options you've got set.
>
> Didn't know it existed. Sorry. (When did it turn up? If it wasn't in
> 2.00.06 that would explain my failing to notice it.)
(and it wouldn't have helped here; the fault was my code. As usual.)
The problem is that in `bbdb-expire-update-last-access-time', I add a
`last-access' field with `bbdb-record-putprop', viz
(with recording of changed records turned off; see the patch in the
bbdb-expire distro.)
(bbdb-record-putprop record 'last-access
(format-time-string bbdb-time-internal-format
(current-time)))
This doesn't call `bbdb-set-propnames', so we end up with a notes-class
field which isn't marked as a user-field. BBDB dislikes htis.
Obviously, I'd like to fix this.
I could call `bbdb-annotate-notes' instead, but, well, dammit, the
last-access field just *isn't* a user-added note, and I don't want
completion on it or any of the other antics that being a bbdb user-field
provides... and the `bbdb-creation-date-hook' function is happy to add a
`creation-date' field with `bbdb-record-putprop' that lands in the notes
list, yet that causes none of these problems at all, even though it
isn't marked as a user field.
I know this is only a semi-demi-partial bug-progress-report thing.
I'll dig further and try to work out why BBDB objects so vehemently to a
non-user-field notes field looking like (last-access . "2001-11-19")
when it does not object to one looking like (creation-date
. "1999-04-27")... nothing is instantly obvious, but I'm shattered so
I'm probably missing the nose on my face right now.
Sorry to all bbdb-expire users who've been hit by this.
--
`Many people have tried whispering in his ear, and indeed bellowing
with megaphones but up to now he's seemed to be completely
clue-immune.' --- John Winters
_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/