Adding contacts linking to BBDB address bookExample: Adding contacts in Planner:
Ok, now here is a way to add contacts linking to the BBDB address book, so that you task or note or scheduled items or even things in your project (plan) pages will be associated with some particular person, and you can always look it up by simply clicking the hyperlink.
The way to add contacts in Planner Mode is actually very simple: just type [span style=\'font-size:14pt;line-height:100%\']
bbdb://NAME[/span] in the exact location where you want the contact to appear.
(Many thanks to Sacha Chua who makes this happen!)
Upon finishing the last bit, that line will automatically turn into a link to bbdb!
The actual structure is:
[[bbdb://NAME]] # you can see the structure when you are editing it.
By
NAME, you can use either a full personal name, URL, or email address, OR, more easily, just any word in the address book entry (or more technically, anything that is a searchable *regular expression*, see
http://linuxreviews.org/beginner/tao_of_regular_expressions/ for a good start. )
In cases where there is space between the
NAME words (which is not unusual), just put a "." between them, e.g. to add "John Smith" we can use bbdb://john.smith
Let's say we have an address book entry for OE forum and I'm creating a task associated with this entry. After writing down the task and adding entry for oesf there, this is what you will see when clicking the contact link:
[ Invalid Attachment ]
Actually you can make contacts linking to the BBDB address book in many different modes. Using gnus Gnus (a popular email client in Emacs) with BBDB seems very common (for setting up, see
http://bbdb.sourceforge.net/bbdb.html#SEC19 ). The BBDB in my pdaXrom emacs-pim-suite package was not compiled with Gnus. Perhaps I should include this in the next version of the pim package.