Setting Org Mode Properties

Karl Voit has a nice bit of Elisp that makes it easy for him to set Org mode properties. He maintains his contacts in an Org file that (presumably) has the contact names in the headings and details, such as phone numbers, as Org properties associated with each heading. When a phone number changes, he makes note of that in the heading but also wants to update the phone number property.

He does that by highlighting the phone number on the headline and calling his code, which asks him which property he wants to change. He gets a list from which he can select and the highlighted region is set to the value of that property.

If you have a use case similar to Voit’s, take a look at his code. It may make your workflow easier.

This entry was posted in General and tagged , . Bookmark the permalink.
  • Karl

    Hi!

    If you are interested in the format of a contact, have a look at https://karl-voit.at/2015/02/01/muttfilter/ where you can see how I am using org-contact and its format in my files.

  • Makes it easier to manage property values and stops you from manually screwing them up.