Emacs: BBDB: Modifying the record creation process
| bbdb, emacsYou might want to add fields to the record creation process in M-x bbdb-create. In addition to asking for name, company, e-mail address, addresses, phone numbers, and notes, you may want to make sure you remember to put in birthdates or other information. If you want to prompt for custom fields after the regular BBDB creation form, modify this simple example to suit your needs:
(defadvice bbdb-read-new-record (after wicked activate) "Prompt for the birthdate as well." (bbdb-record-putprop ad-return-value 'birthdate (bbdb-read-string "Birthdate (YYYY.MM.DD): ")))
Thanks to Kaleb Yilma for the question!
2 comments
ky
2008-07-23T00:00:00ZHey!
Great,
thank you!
ky
zh
2008-09-03T14:49:21Zhi, I LOVE your idea of a blog about 'pimp my emacs'. One thing I could use help on is making my emacs look more like textmate, soothes me eyes :)
I'm able to change my background and foreground but how do i get the textmate font in my .emacs.el? emacs popped up a windows interface for me to choose from but options were very limited. So
a) do you know the default textmate font? sort of curvy?
b) how do i declare that in my .emacs.el?