From xemacs-m  Fri Jun 27 15:05:47 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id PAA03276
	for <xemacs-beta@xemacs.org>; Fri, 27 Jun 1997 15:05:46 -0500 (CDT)
Received: from Canada.Sun.COM ([129.155.5.101]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id NAA17404 for <xemacs-beta@xemacs.org>; Fri, 27 Jun 1997 13:29:08 -0700
Received: from scooter.canada.sun.com by Canada.Sun.COM (SMI-8.6/SMI-5.3)
	id QAA14047; Fri, 27 Jun 1997 16:05:14 -0400
Received: from verve.canada.sun.com by scooter.canada.sun.com (SMI-8.6/SMI-SVR4)
	id QAA28689; Fri, 27 Jun 1997 16:05:13 -0400
Received: by verve.canada.sun.com (SMI-8.6/SMI-SVR4)
	id QAA15586; Fri, 27 Jun 1997 16:05:15 -0400
Date: Fri, 27 Jun 1997 16:05:15 -0400
Message-Id: <199706272005.QAA15586@verve.canada.sun.com>
From: Georg Nikodym <georgn@Canada.Sun.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: xemacs-beta@xemacs.org
Subject: Re: bbdb wierdness
In-Reply-To: <bci4tak6j80.fsf@corp.Sun.COM>
References: <E0whely-0005fE-00@neal.ctd.comsat.com>
	<bci4tak6j80.fsf@corp.Sun.COM>
X-Mailer: VM 6.32 under 20.3 "Copenhagen" XEmacs Lucid (beta8)
Reply-To: georgn@Canada.Sun.COM
X-Face:  ,~EI@l7'&P{\d++e`EMjNTNpzsxJPg(H]?Sd_T3xIlq[(PT[.D;A_/k)qfeC@m\/1]A{vZD
 r4&Lme-/M]c'Q>>:VM|L^<ED=j@dG!ld,bQ:IhT53q'x>6wZKH3iCT6Ff1-`*z{vCiT}+%(irA6TOn
 S~pFtml1bL\=kp%0PsLcF3+Q/e${o|S/<NUFDrU@;^o(D+av1g>Ce=ztlPGb$?up%c-*l'wmjw\sw;
 D__0Z;+93I+Kx6Mxdc]+|2V03aE@D8-fMT_v[~~FC9I\*|72QVW,aQ!`hHp_.gE.W&kxla2#)\Cmo

>>>>> "GDF" == Gary D Foster <Gary.Foster@Corp> writes:

>>>>> "Neal" == Neal Becker <neal@ctd.comsat.com> writes:
 Neal> I can't enter a phone number (770) 623-0096 into bbdb.  Why
 Neal> not?  It won't let me set the area code to 770.  It works OK
 Neal> for (415) 623-0096.  What gives?

 GDF> Maybe Jamie doesn't like Atlanta?

If I had to guess, the issue may be rooted in the fact that
traditionally North American area codes HAD to have 0 or 1 as the
second digit.  Now that we've pretty much abandoned rotary dial
equipment and run out of free area codes the restriction and a bunch
of other changes in telephony that restriction has gone away.  Maybe,
Jamie coded it into BBDB?

Yup, bbdb-com.el has:

(defconst bbdb-phone-area-regexp "(?[ \t]*\\+?1?[ \t]*[-\(]?[ \t]*[-\(]?[ \t]*\\([0-9][012][0-9]\\)[ \t]*)?[- \t]*")

