BBDB Version: 2.35 Emacs/XEmacs Version: Emacs 21.3.50 Mail/News reader (Gnus, VM, etc) used: Gnus v5.10.6 Bug Description: bbdb-merge-interactively and bbdb-create-internal treat NET differently
,----[ C-h f bbdb-merge-interactively RET ] | bbdb-merge-interactively is a compiled Lisp function in `bbdb-snarf'. | (bbdb-merge-interactively NAME COMPANY NETS ADDRS PHONES NOTES) | | Interactively add a new record; arguments same as M-x bbdb-create-internal. `---- ,----[ C-h f bbdb-create-internal RET ] | bbdb-create-internal is a compiled Lisp function in `bbdb-com'. | (bbdb-create-internal NAME COMPANY NET ADDRS PHONES NOTES) | | [...] | NET is a comma-separated list of email addresses, or a list of strings. | An error is signalled if that name is already in use. `---- I can create a new record with... (bbdb-create-internal "Foo Bar" nil "[EMAIL PROTECTED]" nil nil nil) But using... (bbdb-merge-interactively "Foo Bar" nil "[EMAIL PROTECTED]" nil nil nil) ... gives an error: ,---- | Debugger entered--Lisp error: (wrong-type-argument listp "[EMAIL PROTECTED]") | member("[EMAIL PROTECTED]" "[EMAIL PROTECTED]") | (not (member (car old-nets) new-nets)) | (if (not (member ... new-nets)) (setq new-nets (append new-nets ...))) | (while old-nets (if (not ...) (setq new-nets ...)) (setq old-nets (cdr old-nets))) | (let ((old-nets ...) (new-nets ...)) (while old-nets (if ... ...) (setq old-nets ...)) (bbdb-record-set-net new-record new-nets)) | bbdb-merge-internally(["Foo" "Bar" nil nil nil nil ("[EMAIL PROTECTED]") ((creation-date . "2004-01-30") (timestamp . "2004-01-30")) ["Foo Bar" "barfoo" #<marker at 1408 in rs.bbdb> nil]] ["Foo" "Bar" nil nil nil nil "[EMAIL PROTECTED]" nil [nil nil nil nil]]) | bbdb-merge-interactively("Foo Bar" nil "[EMAIL PROTECTED]" nil nil nil) | eval((bbdb-merge-interactively "Foo Bar" nil "[EMAIL PROTECTED]" nil nil nil)) | eval-last-sexp-1(nil) | eval-last-sexp(nil) | call-interactively(eval-last-sexp) `---- This is the relevant part of `bbdb-merge-internally': (defun bbdb-merge-internally (old-record new-record) "Merge two records. NEW-RECORDS wins over OLD in cases of ties." [...] ;; nets (let ((old-nets (bbdb-record-net old-record)) (new-nets (bbdb-record-net new-record))) (while old-nets (if (not (member (car old-nets) new-nets)) (setq new-nets (append new-nets (list (car old-nets))))) (setq old-nets (cdr old-nets))) (bbdb-record-set-net new-record new-nets)) "(member (car old-nets) new-nets)" errors out, because `new-nets' isn't a list. Bye, Reiner. PS: The manual says... ,----[ (info "(bbdb)Known Bugs") ] | Bugs found in defiance of this rule should be submitted to the | `bbdb-info' mailing list (see *note Mailing Lists::). `---- But as I recognize recently, this list is only open to subscribers. My message waits for moderator's decision for a week (sic!) now: ,---- | From: [EMAIL PROTECTED] | Subject: Your message to bbdb-info awaits moderator approval | To: [EMAIL PROTECTED] | Date: Sat Jan 24 00:08:01 2004 +0100 | [...] | | Your mail to 'bbdb-info' with the subject | | Re: bbdb + gmane address-encrypted groups | | Is being held until the list moderator can review it for approval. | | The reason it is being held: | | Post by non-member to a members-only list | | Either the message will get posted to the list, or you will receive | notification of the moderator's decision. `---- PPS: I tried to subscribe now, but sourceforge.net refuses my confirmation because my confirmation of subscription: ,---- | <[EMAIL PROTECTED]>: host | mail.sourceforge.net[66.35.250.206] said: 550-Postmaster verification | failed while checking <[EMAIL PROTECTED]> 550-Called: | 213.165.64.100 550-Sent: RCPT TO:<[EMAIL PROTECTED]> | 550-Response: 550 5.1.1 {mx025} <[EMAIL PROTECTED]>... User is | unknown 550-Several RFCs state that you are required to have a postmaster | 550-mailbox for each mail domain. This host does not accept mail 550-from | domains whose servers reject the postmaster address. 550 Sender verify | failed (in reply to RCPT TO command) `---- I'm not sure if this is a temporary problem of gmx.de (= nurfuerspam.de). I never had problems like this in the past. But I doubt that such (over-)eager checks should be done on lists specified for bug reports. -- ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/ ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/