[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] phone links...
From: |
Robert Goldman |
Subject: |
Re: [O] phone links... |
Date: |
Tue, 09 Apr 2013 07:19:35 -0500 |
User-agent: |
Postbox 3.0.7 (Macintosh/20130119) |
Michael Strey wrote:
> Robert,
>
> On Mo, Apr 08, 2013 at 09:44:12 -0500, Robert Goldman wrote:
>> Michael Strey wrote:
>>> Currently org-phone.el as well as my org-dial.el are incompatible with
>>> org-contacts. The only idea behind my proposal was to make the contributors
>>> of both packages aware of each other.
>> Can you explain what makes org-phone incompatible with org-contacts?
>> Maybe my naming of some function?
>
> The problem is on the side of org-contacts. Org-contacts does not
> support links in its properties. Thus, currently the only solution to
> use the advantages of org-contacts and org-phone is to give the
> information twice, like in the following example.
>
> #+BEGIN_SRC org
> * Strey, Michael
> :PROPERTIES:
> :EMAIL: address@hidden address@hidden
> :PHONE: +493514129535 +491263213
> :END:
>
> [[mailto:address@hidden
> [[mailto:address@hidden
> [[phone:+49 (0)351 41295-35]]
> [[phone:+49 126 3213]]
> #+END_SRC
>
> This shortcoming effects not only the phone links but email links as
> well.
>
> Regards
I think in that case it might be best to have a function in org-contacts
that "knows" that PHONE contains phone numbers, and that can parse them
out, and shoot them off to org-phone.
Vague thought: Make C-c C-c aware of PHONE properties so that it can
perform this magic.
Again, I am not an org-contacts user, so this may be a stupid question,
but how does org-contacts "know" when it has a contact? I am looking at
the sample record you present above, and it looks just like an org-mode
header to me. There is no marker, as far as I can tell, that would tell
org-mode that it is a contact record, instead of some other arbitrary
thing. This seems odd to me. Why isn't it something like
#+BEGIN_SRC org
* CONTACT Strey, Michael
:PROPERTIES:
:EMAIL: address@hidden address@hidden
:PHONE: +493514129535 +491263213
:END:
#+END_SRC
by analogy to the way TODO flags a task?
At any rate, any function that could parse a :PHONE: property could
easily (funcall org-phone-function <phone-number>).
Cheers,
r
- Re: [O] phone links..., (continued)
Re: [O] phone links..., Robert P. Goldman, 2013/04/04
- Re: [O] phone links..., Michael Strey, 2013/04/08
- Re: [O] phone links..., Robert Goldman, 2013/04/08
- Re: [O] phone links..., Michael Strey, 2013/04/08
- Re: [O] phone links..., Robert Goldman, 2013/04/08
- Re: [O] phone links..., Michael Strey, 2013/04/09
- Re: [O] phone links...,
Robert Goldman <=
- Re: [O] phone links..., Michael Strey, 2013/04/09
Re: [O] phone links..., Feng Shu, 2013/04/13
Re: [O] phone links..., Feng Shu, 2013/04/14
Re: [O] phone links..., Bastien, 2013/04/14
Re: [O] phone links..., Feng Shu, 2013/04/15
Re: [O] phone links..., Bastien, 2013/04/15
Re: [O] phone links..., Feng Shu, 2013/04/15
Re: [O] phone links..., Daimrod, 2013/04/16
Re: [O] phone links..., Feng Shu, 2013/04/16
Re: [O] phone links..., Daimrod, 2013/04/17