emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Philip Chan <cpchan@bell.net>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: ANN: org-vcard. Export/import vCards. Backwards-compatible with org-contacts.el.
Date: Wed, 06 Aug 2014 13:21:18 -0400	[thread overview]
Message-ID: <878un1pm9d.fsf@karnak.MagnumOpus.khem> (raw)
In-Reply-To: <87r40toqvo.fsf@gmail.com> (Alexis's message of "Wed, 06 Aug 2014 19:54:20 +1000")

[-- Attachment #1: Type: text/plain, Size: 2097 bytes --]

On 6 Aug 2014, flexibeast@gmail.com wrote:

> i haven't tried using BBDB-v3, only BBDB-v2, several years ago. i
> found the latter, hm, 'clunky'. (Similar to how, until the advent of
> mu4e, i found no Emacs-based MUA with maildir support which i found as
> usable as Mutt.)

Personally I find no MUA as usable and feature rich as Gnus. ;-)

> And iirc, part of the problem might have been lack of (full) support
> for Australian phone numbers and/or postcodes, which at the time i
> really didn't want to wrestle with.

I am mainly talking about bbdb3 now, since I can't remember the variable
names in bbdb2. For phone numbers one can use free form style by calling
bbdb-insert-field with a prefix or change the variable bbdb-phone-style:

,----[ bbdb-phone-style ]
| bbdb-phone-style is a variable defined in `bbdb.el'.
| Its value is nanp
| 
| Documentation:
| Phone numbering plan assumed by BBDB.
| The value 'nanp refers to the North American Numbering Plan.
| The value nil refers to a free-style numbering plan.
| 
| You can have both styles of phone number in your database by providing a
| prefix argument to the command `bbdb-insert-field'.
`----

As for postal codes, either turn the checking off by setting
bbdb-check-postcode to nil or change the variable bbdb-legal-postcodes:

,----[ bbdb-legal-postcodes ]
| bbdb-legal-postcodes is a variable defined in `bbdb.el'.
| Its value is
| ("^$" "^[ 	\n]*[0-9][0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[ 	\n]*$" "^[ 	\n]*\\([0-9][0-9][0-9][0-9][0-9]\\)[ 	\n]*-?[ 	\n]*\\([0-9][0-9][0-9][0-9]?\\)[ 	\n]*$" "^[ 	\n]*\\([A-Za-z0-9]+\\)[ 	\n]+\\([A-Za-z0-9]+\\)[ 	\n]*$" "^[ 	\n]*\\([A-Z]+\\)[ 	\n]*-?[ 	\n]*\\([0-9]+ ?[A-Z]*\\)[ 	\n]*$" "^[ 	\n]*\\([A-Z]+\\)[ 	\n]*-?[ 	\n]*\\([0-9]+\\)[ 	\n]+\\([0-9]+\\)[ 	\n]*$")
| 
| 
| Documentation:
| List of regexps that match legal postcodes.
| Whether this is used at all depends on the variable `bbdb-check-postcode'.
`----

Charles

-- 
I did this 'cause Linux gives me a woody.  It doesn't generate revenue.
(Dave '-ddt->` Taylor, announcing DOOM for Linux)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  parent reply	other threads:[~2014-08-06 17:21 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-02  1:12 ANN: org-vcard. Export/import vCards. Backwards-compatible with org-contacts.el Alexis
2014-08-06  8:39 ` Gour
2014-08-06  9:54   ` Alexis
2014-08-06 16:21     ` Eric Abrahamsen
2014-08-06 16:28       ` Alexis
2014-08-06 16:44         ` Eric Abrahamsen
2014-08-06 17:21     ` Charles Philip Chan [this message]
2014-08-07  7:34       ` Alexis
2014-08-18 19:03     ` Eric S Fraga
2015-01-21  8:58 ` Gour
2015-01-21 10:24   ` Rasmus
2015-01-21 12:07     ` Gour
2015-01-21 12:16       ` Rasmus
2015-01-21 13:03         ` Gour
  -- strict thread matches above, loose matches on Subject: below --
2014-08-03 23:23 Alexis
2014-07-31 22:32 Alexis
2014-08-01  5:15 ` Feng Shu
2014-08-01  6:01 ` Gour
2014-08-03  5:53 ` Feng Shu
2014-08-03 22:37 ` Feng Shu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878un1pm9d.fsf@karnak.MagnumOpus.khem \
    --to=cpchan@bell.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).