From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62905 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: New completion mode Date: Tue, 18 Apr 2006 15:04:38 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <86irpe1a4h.fsf@student.uni-magdeburg.de> <9e8xq98jru.fsf@gowron.rz-berlin.mpg.de> <87k69n2kve.fsf@latte.josefsson.org> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145365611 2389 80.91.229.2 (18 Apr 2006 13:06:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Apr 2006 13:06:51 +0000 (UTC) Original-X-From: ding-owner+m11432@lists.math.uh.edu Tue Apr 18 15:06:51 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FVpuj-0007MB-Pg for ding-account@gmane.org; Tue, 18 Apr 2006 15:06:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FVpud-0004P6-00; Tue, 18 Apr 2006 08:06:35 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FVpuA-0004P0-00 for ding@lists.math.uh.edu; Tue, 18 Apr 2006 08:06:06 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FVpu5-0005Fw-IT for ding@lists.math.uh.edu; Tue, 18 Apr 2006 08:06:06 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FVpu4-0001f1-00 for ; Tue, 18 Apr 2006 15:06:00 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FVptT-000707-KO for ding@gnus.org; Tue, 18 Apr 2006 15:05:24 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Apr 2006 15:05:23 +0200 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Apr 2006 15:05:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T;w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv,vbL^XF1nIp\:F=$Ei2o&mEe:%N~,:3]vtQ~s9u$9izmX$IF@VgGl7/,^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X Mail-Copies-To: nobody User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:aOoFNsiazdAdJvXcbvtq9gBBjlY= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62905 Archived-At: On Tue, Apr 18 2006, Simon Josefsson wrote: > Wishlist: import all bbdb addresses automatically? Below is the > format of my ~/.bbdb. I have no idea why the many parenthesis, and > how older file-version formats look like. I don't have these parenthesis in my.bbdb file: ;;; file-version: 6 ;;; user-fields: (birthday www category expire gnokii) ["Lars Magne" "Ingebrigtsen" ("Lars M. Ingebrigtsen" "Lars Ingebrigtsen") nil nil nil ("larsi@gnus.org" "bugs@gnus.org" "lmi@gnus.org") ((creation-date . "2003-04-30") (timestamp . "2005-12-18")) nil] But instead of parsing the .bbdb file on your own, you should better use BBDB functions, I think. This expression returns a list of all addresses: (let ((records (bbdb-records)) nets) (dolist (i records) (dolist (n (bbdb-record-net i)) (push n nets))) nets) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/