From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dieter Wilhelm Subject: Re: bbdb or bbdb3 or org-contacts Date: Sun, 03 Feb 2013 15:04:15 +0100 Message-ID: <87r4kxo5nk.fsf@urmel.duenenhof-wilhelm.de> References: <87pq0qtsa1.fsf@urmel.duenenhof-wilhelm.de> <8738xi2aaf.fsf@bzg.ath.cx> <87txpyn9ql.fsf@casa.home> <871ucz3ofo.fsf@casa.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U20BD-0006sm-IX for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 09:04:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U20B9-0006vV-2o for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 09:04:23 -0500 Received: from mail-ee0-f48.google.com ([74.125.83.48]:39320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U20B8-0006vO-Se for emacs-orgmode@gnu.org; Sun, 03 Feb 2013 09:04:19 -0500 Received: by mail-ee0-f48.google.com with SMTP id t10so2927061eei.21 for ; Sun, 03 Feb 2013 06:04:18 -0800 (PST) In-Reply-To: <871ucz3ofo.fsf@casa.home> (daimrod@gmail.com's message of "Fri, 01 Feb 2013 18:59:39 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Thank you very much for all the input. So in summary it is on the safe side to use bbdb for a transition period because neither the maintainability of bbdb3 nor org-contacts seem to be ensured. Dieter PS: I hope future developments will bring forth a stable database solution maintained within Emacs proper. Daimrod writes: > joakim@verona.se writes: > >> Daimrod writes: >> >>> Bastien writes: >>> >>>> Hi Dieter, >>>> >>>> Dieter Wilhelm writes: >>>> >>>>> What do you advise, what is already usable and what is the way >>>>> ahead, still bbdb or bbdb3 or already org-contacts? >>>> >>>> BBDB is great. org-contacts.el is too slow when you have many >>>> contacts, and it is not really maintained anymore. >>> >>> I've started to use org-contacts.el. I haven't (yet) problem with its >>> speed but I've improved the completion mecanism which prevented me to >>> use it. When I'll finish to document/comment it, I'll post it here. >> >> I would be very interested in having a look. > > See the attached patch files. I still need to need to take into account > what could be after the cursor > vvvvvv ATM I only use this > From: John [cursor]D > ^^^^^^^^^^^^^^ But I would like to use this > > But it mostly works. > >> I migrated from bbdb to org-contacts, but it turned out to be too slow, >> so now I mostly isearch for the contact I want. >> >> Recently I've bee thinking of trying a strategy where bbdb could act as >> a cache for org-contacts, but I havent tried it yet. It shouldnt be too >> hard I think. org-contacts can generate a list of all contacts, that you >> then iterate and generate the bbdb database from. It might be a useful >> addition in any case. > > I was thinking to add a cache mecanism directly to `org-contacts.el'. It > would load the content of the contacts files the first time into the > appropriate structure and then reread the files only when they changed. > > Moreover, `org-contacts.el' doesn't use the new parser from > `org-element.el' ATM, and using it might improve the performance too. > > > PS: Sorry for the double patch files but the `org-reverse-string' part > hasn't been merged yet and I use it. -- Best wishes H. Dieter Wilhelm Darmstadt Germany