From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Joshua Branson <jbranso@fastmail.com>
Newsgroups: gmane.emacs.devel
Subject: Re: RFC: Adding BBDB to Emacs core
Date: Sat, 14 Apr 2018 08:24:12 -0400
Message-ID: <ygfvacuugb7.fsf@fastmail.com>
References: <m3zi265o49.fsf@fitzsim.org>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: blaine.gmane.org 1523708477 3964 195.159.176.226 (14 Apr 2018 12:21:17 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 14 Apr 2018 12:21:17 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
To: emacs-devel@gnu.org
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 14 14:21:13 2018
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1f7KB6-0000rd-0D
	for ged-emacs-devel@m.gmane.org; Sat, 14 Apr 2018 14:21:12 +0200
Original-Received: from localhost ([::1]:59241 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1f7KDB-0008HL-7Y
	for ged-emacs-devel@m.gmane.org; Sat, 14 Apr 2018 08:23:21 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59152)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jbranso@fastmail.com>) id 1f7KD3-0008GQ-Tx
	for emacs-devel@gnu.org; Sat, 14 Apr 2018 08:23:15 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jbranso@fastmail.com>) id 1f7KCz-0008TD-Uu
	for emacs-devel@gnu.org; Sat, 14 Apr 2018 08:23:13 -0400
Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:59375)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <jbranso@fastmail.com>)
	id 1f7KCz-0008Sl-L8
	for emacs-devel@gnu.org; Sat, 14 Apr 2018 08:23:09 -0400
Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46])
	by mailout.nyi.internal (Postfix) with ESMTP id E143B21A1B
	for <emacs-devel@gnu.org>; Sat, 14 Apr 2018 08:23:07 -0400 (EDT)
Original-Received: from mailfrontend1 ([10.202.2.162])
	by compute6.internal (MEProxy); Sat, 14 Apr 2018 08:23:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
	content-type:date:from:in-reply-to:message-id:mime-version
	:references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=
	fm2; bh=8NFR2Y2Lgtx9NVyM5sj0FkkIOPH0bgg5Hhk+FMoHXEM=; b=cNYaOafz
	nNSiwkQjbTxxCkkodJslAvz8ioBussk1AhLkv3cJBEECYCzYOrN+kwE7v5jRuFcB
	8KiY8c2yeP9hcg5dj77BgRqtPvuFRxSyf3wYvDPjYeged0JS5526rcAxYbiGqvda
	uTKL0Z+0dneH154wgIZc6D9AIhI+xHShkF+ZItkV2vGiE4WklLQYL9wwXoARBy/h
	e0VFMhXDS8H2oiT37GiFsqIO0EU8v+fzU2hlVdYDeKCciU+LK9Cq5KvELBMPLygI
	ZXF0Cwxy5PZyQjZMndVpAOgCzD50WLHv9eMCkr0SY+E99ZxILSCvei3GAOEGCr4C
	9SphkaGLsSUfgw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
	messagingengine.com; h=content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to:x-me-sender
	:x-me-sender:x-sasl-enc; s=fm2; bh=8NFR2Y2Lgtx9NVyM5sj0FkkIOPH0b
	gg5Hhk+FMoHXEM=; b=B68LKxsgLld90juKmun/VEvIeexBbSFwWYbYyG1DCxnAe
	qU8BsQGjZOysVl6gwgPA/HqExb30ZbyToc2UAzL3cnK04lbTppSqoubzltsU9C1X
	5CfYLfoIf1kQeTYwvO+/KNvzRhiJJQ2wSpCNUFFqt0u3iITUVhQ5TRwy+S4IIifi
	+3dLt3Ej4yGuTVUbsw0oL+T02OIKpNIVfaamM4ru+1ToEJv3pkezSx94rdsYe6xh
	I93GwpPlIug0IunwDFY9PFtLpz/51dFuljIqM3Y1SepuESgPw8tbDmBP3clSat3G
	xdHxh5Fu0aSfmtykEIC0KQiEo+rCqa0D+VlzkAzjA==
X-ME-Sender: <xms:q_LRWhq2reE9neFkJkhQDmpjFCXcjJBykJGh27Z248E5PV6Qs37efg>
Original-Received: from parabola (unknown [72.12.220.132])
	by mail.messagingengine.com (Postfix) with ESMTPA id 8E803E4122
	for <emacs-devel@gnu.org>; Sat, 14 Apr 2018 08:23:07 -0400 (EDT)
In-Reply-To: <m3zi265o49.fsf@fitzsim.org> (Thomas Fitzsimmons's message of
	"Sat, 14 Apr 2018 01:54:46 -0400")
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 66.111.4.27
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel/>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.devel:224584
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/224584>


That sounds pretty awesome, but does the bbdb package have any info
documentation?  Not that it really matters, but it would be nice to have.

Also, may I ask about ebdb?  Does ebdb ever have
a chance at making emacs core?

P.S.  I'm not a developer (at least not yet).  Just curious.


Thomas Fitzsimmons <fitzsim@fitzsim.org> writes:

> Hi,
>
> Now that BBDB is copyright clear and available in GNU ELPA, thanks to
> Roland Winkler, I'd like to see what people think about also adding it
> to Emacs core.
>
> While maintaining EUDC in Emacs core, I've encountered many references
> to BBDB that are unresolved.  The only reason for this, as far as I can
> tell, is that historically BBDB's copyright status didn't allow it to be
> included in core.  Otherwise it probably would have been included all
> along.  Now it's possible to fix this properly.
>
> I've started an integration attempt on the scratch/eudc-bbdb-3 branch.
> I merged a recent version of BBDB from GNU ELPA into lisp/bbdb, then I
> resolved references to BBDB in EUDC.  For example, we can remove things
> like:
>
>    (declare-function bbdb-record-phones "ext:bbdb" t) ; via bbdb-defstruct
>
> and apply changes like:
>
> --- a/lisp/net/eudc-export.el
> +++ b/lisp/net/eudc-export.el
> @@ -31,10 +31,8 @@
>  ;;; Code:
>
>  (require 'eudc)
> -
> -;; NOERROR is so we can compile it.
> -(require 'bbdb nil t)
> -(require 'bbdb-com nil t)
> +(require 'bbdb)
> +(require 'bbdb-com)
>
>  (defun eudc-create-bbdb-record (record &optional silent)
>    "Create a BBDB record using the RECORD alist.
>
> This makes the code cleaner and easier to maintain.  We can also rely
> only on the version of BBDB in GNU Emacs (or a later one in GNU ELPA)
> and so all the BBDB < 3 compatibility code can be deleted without risk
> of breaking people's package sets (BBDB >= 3 auto-converts BBDB < 3
> databases to the updated format).
>
> I think applying this same type of effort to the other BBDB-dependent
> core packages would simplify them too.
>
> I'd like BBDB to become the default out-of-the-box local contact
> management library for GNU Emacs, in particular so that Gnus/EUDC/BBDB
> work together to provide email completion and snarfing out-of-the-box,
> without extra configuration or package installation.
>
> Thoughts?
>
> Thomas