|
Re: possible bug in bbdb-search-simple: gnus, spam-split and bbdb: msg#00013emacs.bbdb.user
On Fri, 17 Dec 2004, oub@xxxxxxxxxx wrote: > So I tried edebug-defun on spam-check-BBDB (I have not much > experience with this). So I send myself a couple of messages from > OUB@xxxxxxxxxxx > I use the simplify setting > (setq nnimap-split-rule 'nnimap-split-fancy nnimap-split-inbox "INBOX" > nnimap-split-fancy '(| (: spam-split) "MAILBOX")) > > (setq spam-use-BBDB-exclusive t) > (setq spam-use-BBDB t) > > And indeed these messages end up in SPAM. > > So when running the debugger, first everything goes smoothly, who > is correctly identified with "OUB@xxxxxxxxxx" > the problem start in the line (intern-soft who bbdb-cache) there for some > reason > nil is returned!!! I think I see the problem! Can you set spam-cache-lookups to nil? That tries to use a cache so BBDB lookups are not repeated unnecessarily. The code that populates the cache is: (setq bbdb-cache ;; this is the expanded (bbdb-hashtable) macro ;; without the debugging support (with-current-buffer (bbdb-buffer) (save-excursion (save-window-excursion (bbdb-records nil t) bbdb-hashtable)))) This does not care for case sensitivity, though, hence your problem - the cache is case-sensitive even though (bbdb-search-simple) is case-insensitive. Disable spam-cache-lookups for now, and when I get responses to my question below we'll get it truly fixed. Can any BBDB wizards tell me how I can populate the bbdb-cache obarray with interned lowercased versions of every net address? That would be very helpful. I am not sure using bbdb-hashtable is the right approach. Thanks Ted ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ bbdb-info@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: possible bug in bbdb-search-simple: gnus, spam-split and bbdb: 00013, Uwe Brauer |
|---|---|
| Next by Date: | Re: possible bug in bbdb-search-simple: gnus, spam-split and bbdb: 00013, Uwe Brauer |
| Previous by Thread: | Re: possible bug in bbdb-search-simple: gnus, spam-split and bbdbi: 00013, Uwe Brauer |
| Next by Thread: | Re: possible bug in bbdb-search-simple: gnus, spam-split and bbdb: 00013, Uwe Brauer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |