I’m trying to use org-contacts with Emacs and org-mode but are getting an error using the basic search command, org-contacts.
After installing org-contacts from melpa, and with this Emacs config:
(use-package org-contacts :ensure t :custom (org-contacts-files '("~/org/contacts.org")) )
and this first test entry in the contacts.org file:
* Joe Blog :PROPERTIES: :TEL: +1 650 123 4567 :EMAIL: [email protected] :URL: :NOTES: Nice Guy :END:
calling M-x org-contacts, gives this error (debugger Backtrace – partial):
Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p (headline (:raw-value "Joe Blog" :begin 46 :end 162 :pre-blank 0 :contents-begin 57 :contents-end 162 :robust-begin nil :robust-end nil :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 46 :TEL "+1 650 123 4567" :EMAIL "[email protected]" :URL "" :NOTES "Nice Guy" :title "Joe Blog" :mode first-section :granularity headline ...)))
org-entry-properties((headline (:raw-value "Joe Blog" :begin 46 :end 162 :pre-blank 0 :contents-begin 57 :contents-end 162 :robust-begin nil :robust-end nil :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 46 :TEL "+1 650 123 4567" :EMAIL "[email protected]" :URL "" :NOTES "Nice Guy" :title "Joe Blog" :mode first-section :granularity headline ...)) standard)
…