Re: weird match

2012-10-18 Thread Roland Winkler
On Wed Oct 17 2012 Sam Steingold wrote:
  I don't know your personal extensions of BBDB.
 I have none.

For almost all user variables from BBDB's MUA interface their values
may be user-defined functions. You actually requested quite a few of
these variables. Certainly, these functions can give rise to the
behavior you observe.

Roland

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: weird match

2012-10-18 Thread Sam Steingold
 * Roland Winkler jvax...@tah.bet [2012-10-18 06:51:15 -0500]:

 On Wed Oct 17 2012 Sam Steingold wrote:
  I don't know your personal extensions of BBDB.
 I have none.

 For almost all user variables from BBDB's MUA interface their values
 may be user-defined functions. You actually requested quite a few of
 these variables. Certainly, these functions can give rise to the
 behavior you observe.

 Roland

bbdb-add-mails
== sds-bbdb-add-mails
bbdb-add-name
== sds-bbdb-add-name

(defun sds-bbdb-add-name (rec name)
  Decide whether to change the record name.
  (let ((n1 (bbdb-record-firstname rec))
(nl (bbdb-record-lastname rec)))
(cond ((and (null n1) (null nl)) t)
  ((or (string= n1 name) (string= nl name)) nil)
  (t 'query
(defun sds-bbdb-add-mails (rec mail)
  Decide whether to add mail to the record.
  (let ((old (bbdb-record-note rec 'old-net)))
(if (and old (member mail (split-string old , * t)))
nil t)))

what other variables could be relevant?

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://americancensorship.org http://memri.org
http://camera.org http://www.PetitionOnline.com/tap12009/ http://truepeace.org
Do the arithmetic or be doomed to talk nonsense. --John McCarthy

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: weird match

2012-10-18 Thread Roland Winkler
 what other variables could be relevant?

It will be much easier if you try to disable once all your
customizations (emacs -q). Then it becomes clearer where things
are going wrong.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: weird match

2012-10-17 Thread Sam Steingold
 * Ben Sturmfels o...@fghzoyrf.vq.nh [2012-10-17 20:18:11 +1100]:

 The general approach to pin down any bug is to just progressively strip
 away everything that's not related. What's left is the reproducible recipe.

I am fully aware of this brute force approach; I have used it myself
many times and I have instructed others in it use many more times. :-)
Alas, it requires a lot of work.
It is _way_ easier for Roland to do what he did, i.e., tell me an easy
way to reproduce the problem, since he knows the inner workings of bbdb
and can tell off the top of his head which functionality is responsible.

Now, if only he kept on and told me which function produces the bbdb
record(s) which match Sam...

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://iris.org.il http://think-israel.org
http://thereligionofpeace.com http://www.PetitionOnline.com/tap12009/
Any supplier that makes enough to pay a full time lobbyist is overcharging.


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


weird match

2012-10-16 Thread Sam Steingold
In gnus gmane.science.biology.informatics.conductor summary, the message
From: Sam [guest] gu...@bioconductor.org
is marked as sent my a known user and *BBDB* shows

Sam Robb
   mail: sam.r...@timesys.com, sam.r...@timesys.com

why?

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://mideasttruth.com http://openvotingconsortium.org
http://iris.org.il http://www.PetitionOnline.com/tap12009/
He who laughs last did not get the joke.


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: weird match

2012-10-16 Thread Roland Winkler
On Tue Oct 16 2012 Sam Steingold wrote:
 In gnus gmane.science.biology.informatics.conductor summary, the message
 From: Sam [guest] gu...@bioconductor.org
 is marked as sent my a known user and *BBDB* shows
 
 Sam Robb
mail: sam.r...@timesys.com, sam.r...@timesys.com

Do you have some reproducible recipe? By now, I've seen three or
four such messages from you, where you complained about odd behavior
of BBDB, but you never provided a reproducible recipe.

Roland

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: weird match

2012-10-16 Thread Sam Steingold
 * Roland Winkler jvax...@tah.bet [2012-10-16 16:34:44 -0500]:

 On Tue Oct 16 2012 Sam Steingold wrote:
 In gnus gmane.science.biology.informatics.conductor summary, the message
 From: Sam [guest] gu...@bioconductor.org
 is marked as sent my a known user and *BBDB* shows
 
 Sam Robb
mail: sam.r...@timesys.com, sam.r...@timesys.com

 Do you have some reproducible recipe?  By now, I've seen three or
 four such messages from you, where you complained about odd behavior
 of BBDB, but you never provided a reproducible recipe.

I understand your frustration, but what kind of reproducible recipe
can I offer you?
Give you my gmail password + my whole bbdb? :-)

I thought that a combination of the From line and the bbdb record should
suffice.
If it is not, please tell me how to debug this: e.g., what functions are
called to match the From line to a bbdb record.

thanks!

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://dhimmi.com http://iris.org.il http://ffii.org
http://palestinefacts.org http://memri.org http://openvotingconsortium.org
If you need a helping hand, just remember that you already have two.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: weird match

2012-10-16 Thread Roland Winkler
On Tue Oct 16 2012 Sam Steingold wrote:
  In gnus gmane.science.biology.informatics.conductor summary, the message
  From: Sam [guest] gu...@bioconductor.org
  is marked as sent my a known user and *BBDB* shows
  
  Sam Robb
 mail: sam.r...@timesys.com, sam.r...@timesys.com
 
  Do you have some reproducible recipe?  By now, I've seen three or
  four such messages from you, where you complained about odd behavior
  of BBDB, but you never provided a reproducible recipe.
 
 I understand your frustration, but what kind of reproducible recipe
 can I offer you?
 Give you my gmail password + my whole bbdb? :-)
 
 I thought that a combination of the From line and the bbdb record
 should suffice. If it is not, please tell me how to debug this:
 e.g., what functions are called to match the From line to a bbdb
 record.

I can merely say that I cannot reproduce this.
Forget the gnus stuff. Put

  Sam [guest] gu...@bioconductor.org

into the To: field of a message. Call

  bbdb-mua-display-recipients

What do you get? If I setup this test, the [guest] in the name
gets ignored (see mail-extract-address-components). So Sam becomes
the last name of the above recipient. And this should not match the
entry of Sam Robb. (It doesn't do that for me.)

I don't know your personal extensions of BBDB.

Roland

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: weird match

2012-10-16 Thread Sam Steingold
 * Roland Winkler jvax...@tah.bet [2012-10-16 17:49:29 -0500]:

 Forget the gnus stuff. Put

   Sam [guest] gu...@bioconductor.org

 into the To: field of a message. Call

   bbdb-mua-display-recipients

 What do you get? If I setup this test, the [guest] in the name
 gets ignored (see mail-extract-address-components). So Sam becomes
 the last name of the above recipient. And this should not match the
 entry of Sam Robb. (It doesn't do that for me.)

when I do that, I am asked whether gu...@bioconductor.org should be the
principal address and it is added to Sam Robb and he is displayed.

indeed:
(mail-extract-address-components \Sam [guest]\ gu...@bioconductor.org)
== (Sam gu...@bioconductor.org)
however, I don't understand why Sam matches Sam Robb.


 I don't know your personal extensions of BBDB.
I have none.

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://iris.org.il http://truepeace.org
http://memri.org http://www.memritv.org http://dhimmi.com http://jihadwatch.org
People with a good taste are especially appreciated by cannibals.


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/