[O] org-contacts: match name without formatting

2012-01-02 Thread Daniel Clemente
I use radio headers in my contacts data base, like: * <<>> * <<>> (Alice's brother) org-contacts was presenting the names with <<< before, so you needed to type <<< to match them. I attach a patch to remove this particular formatting before presenting the completions; in this way you can matc

Re: [O] org-contacts: match name without formatting

2012-01-04 Thread Bastien
Hi Daniel, thanks for the patch. Daniel Clemente writes: > +(defun org-contacts-format-name (name) > + "Remove some formatting marks from contact name" > + (replace-regexp-in-string org-radio-target-regexp "\\1" name) > + ; TODO also remove emphasis (org-emphasis-alist) > +) (I'd suggest ̀o