From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46348 Path: main.gmane.org!not-for-mail From: Alexander Kotelnikov Newsgroups: gmane.emacs.gnus.general Subject: bbdb-search problem Date: Tue, 03 Sep 2002 11:37:20 +0400 Organization: Debian Project Sender: owner-ding@hpc.uh.edu Message-ID: <87n0qza5hr.fsf@pale.loc> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1031038976 23386 127.0.0.1 (3 Sep 2002 07:42:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2002 07:42:56 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17m8Kt-000655-00 for ; Tue, 03 Sep 2002 09:42:55 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17m8Lg-0006U9-00; Tue, 03 Sep 2002 02:43:44 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 03 Sep 2002 02:44:18 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id CAA24698 for ; Tue, 3 Sep 2002 02:44:05 -0500 (CDT) Original-Received: (qmail 28627 invoked by alias); 3 Sep 2002 07:43:21 -0000 Original-Received: (qmail 28622 invoked from network); 3 Sep 2002 07:43:21 -0000 Original-Received: from pet-relcom.softjoys.ru (HELO pet.softjoys.ru) (212.113.101.73) by gnus.org with SMTP; 3 Sep 2002 07:43:21 -0000 Original-Received: from pale.loc (mail@pale.softjoys.ru [212.113.101.137]) by pet.softjoys.ru (8.11.0/8.11.0) with ESMTP id g837jNo68714 for ; Tue, 3 Sep 2002 11:45:24 +0400 (MSD) Original-Received: from sacha by pale.loc with local (Exim 3.36 #1 (Debian)) id 17m8LC-0007mz-00 for ; Tue, 03 Sep 2002 11:43:14 +0400 Original-To: ding@gnus.org X-Face: (uU)eOi[yT~l(bwno'Pl_Z-MbLa:<"SX"r]IQb3zJ8G[n(PGcwS^;\?oSN~iz{IrR3`=_A- ]ghp.+wSOFa}KX@4m{Nl!yP)&v;o8~ and bbdb-search fails due to '[' presence in the address: Debugger entered--Lisp error: (invalid-regexp "Unmatched [ or [^") string-match("Dreply-[-recipid-_r-5495489-58@1ad7bd.net" "theo@pdmi.ras.ru") (setq done (string-match who (car rest-of-nets)) rest-of-nets (cdr rest-of-nets)) (while (and rest-of-nets (not done)) (setq done (string-match who ...) rest-of-nets (cdr rest-of-nets))) (if rest-of-nets (while (and rest-of-nets ...) (setq done ... rest-of-nets ...)) (setq done (string-match who ""))) (let ((rest-of-nets ...) (done nil)) (if rest-of-nets (while ... ...) (setq done ...)) done) (or (let (... ...) (if rest-of-nets ... ...) done)) (and (not invert) (or (let ... ... done))) (or (and invert (not ...)) (and (not invert) (or ...))) (if (or (and invert ...) (and ... ...)) (setq matches (cons record matches))) (while records (setq record (car records)) (if (or ... ...) (setq matches ...)) (setq records (cdr records))) (let ((matches ...) (case-fold-search bbdb-case-fold-search) (records ...) (invert ...) record) (while records (setq record ...) (if ... ...) (setq records ...)) (nreverse matches)) (bbdb-search (bbdb-records) nil nil who) (if (bbdb-search (bbdb-records) nil nil who) nil (quote (: spam-split))) (let ((who ...)) (if (bbdb-search ... nil nil who) nil (quote ...))) my-bbdb-split() eval((my-bbdb-split)) nnmail-split-it((: my-bbdb-split)) nnmail-split-it((| (: pre-split) (: my-bbdb-split) (: ml-split) (: sj-split) (: post-split) "IMAP/junk")) nnmail-split-fancy() nnimap-split-fancy() nnimap-split-to-groups(nnimap-split-fancy) nnimap-split-articles(nil "giotto") nnimap-request-scan(nil "giotto") gnus-request-scan(nil (nnimap "giotto" (nnimap-address "giotto.sj.ru") (nnimap-stream shell) (nnimap-list-pattern ("INBOX" "IMAP/*")))) gnus-read-active-file-1((nnimap "giotto" (nnimap-address "giotto.sj.ru") (nnimap-stream shell) (nnimap-list-pattern ("INBOX" "IMAP/*"))) nil) gnus-read-active-file(nil nil) gnus-setup-news(nil nil nil) byte-code("„ gnus-1(nil nil nil) gnus(nil) * call-interactively(gnus) execute-extended-command(nil) call-interactively(execute-extended-command) Probably, addresses should be quotted to avoid troubles like this. -- Alexander Kotelnikov Saint-Petersburg, Russia