#18129 bbdb: wish for location handling

#18129#5
Date:
1998-02-12 11:30:15 UTC
From:
To:
[Probably to be forwarded upstream]

It would be very useful to fully take into account in address and
phone fields the location of the user.  For now, the only thing that
approaches that is the bbdb-north-american-phone-numbers-p variable,
which is IMHO way too limited.

Here's what I suggest:

* a variable storing info about the user's current location (country
for omitting the "Country" subfield in an address, info about the
"phone zone" to allow displaying/dialing a phone number the Right Way)

* storing phone and addresses in a user-location-independant manner
(eg. my phone would be: +33241349031)

* adding a "Country" sub-field to the "Address" field-type, which
would have to be filled first when entering an address, and which
would possibly control which fields are meaningful for a specific
country (eg. no "State" for France), as well as the layout of the
address (eg. in France ZIP code comes before town name).

* an alist storing these country-specific info

* allowing to enter a phone number either fully (+... syntax) or
locally, to be completed using the "phone zone" info


This one is not in the same series:

* also "Net" fields should have an associated location, as people with
several emails usually use them for different purposes