Emacs: BBDB: Modifying the record creation process

You 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!

  • ky

    Hey!

    Great,

    thank you!

    ky

  • http://dcbiased.blogspot.com zh

    hi, 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?