From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80574 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: spam.el: asking about removing spam-use-BBDB Date: Wed, 09 Nov 2011 08:20:32 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87fwhxwf67.fsf@lifelogs.com> References: <8739ezafwf.fsf@lifelogs.com> <84wrcbm45l.fsf@davestoy.home> <848vocvp25.fsf@davestoy.home> <87y5wcpi1y.fsf@ericabrahamsen.net> <87y5wajzao.fsf@lifelogs.com> <84ehy1kem3.fsf@davestoy.home> <84obwviave.fsf@davestoy.home> <87ty6kop7a.fsf@lifelogs.com> Reply-To: ding@gnus.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1320848732 20904 80.91.229.12 (9 Nov 2011 14:25:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Nov 2011 14:25:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28857@lists.math.uh.edu Wed Nov 09 15:25:26 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RO95e-00054J-EA for ding-account@gmane.org; Wed, 09 Nov 2011 15:25:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RO95Z-0001bg-Pu; Wed, 09 Nov 2011 08:25:17 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RO95Y-0001bN-H2 for ding@lists.math.uh.edu; Wed, 09 Nov 2011 08:25:16 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RO95T-00029n-GE for ding@lists.math.uh.edu; Wed, 09 Nov 2011 08:25:16 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RO95S-0007eF-2R for ding@gnus.org; Wed, 09 Nov 2011 15:25:10 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RO95R-0004yY-Di for ding@gnus.org; Wed, 09 Nov 2011 15:25:09 +0100 Original-Received: from 38.98.147.133 ([38.98.147.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Nov 2011 15:25:09 +0100 Original-Received: from tzz by 38.98.147.133 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Nov 2011 15:25:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 36 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.133 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux) Cancel-Lock: sha1:f0mFP6VPO/2ckLGWzDUht/iD0tM= X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80574 Archived-At: On Thu, 03 Nov 2011 17:45:13 -0400 Ted Zlatanov wrote: TZ> On Tue, 01 Nov 2011 21:14:29 -0400 david.goldberg6@verizon.net (Dave Goldberg) wrote: >>>> I'll support the BBDB backend to spam.el. I just need to fix the >>>> `bbdb-search-simple' bug, it should work fine otherwise. >>> Well like I said, since a recent update, it's almost having the >>> opposite effect as what I want with many messages from people in .bbdb >>> going into the spam group. I'm more than happy to try to help debug >>> this, but I don't know where to begin. DG> my trivial fix is: DG> (if (fboundp 'bbdb-search-simple) DG> (bbdb-search-simple nil who) ;; v2 DG> (bbdb-search (bbdb-records) who)) ;; v3 DG> Obviously I have no clue if that would continue to work as desired with bbdb v3, though. TZ> It doesn't work exactly right, unfortunately. I'll look at it when I TZ> get a chance. I'm really sorry for the inconvenience. I comitted a fix that removes the whole `bbdb-search*' issue. It also avoids the BBDB autoloads. Please test and let me know. Simplest test to verify it pick knownemail@knownhost.com out of BBDB, then: (spam-exists-in-BBDB-p "knownemail@knownhost.com") The fundamental issue is with the `bbdb-search' defmacro and compile-time detection of BBDB. I'm not good enough with that part of Emacs to tell what's up, but I think I've taken the right (and faster) approach. Ted