Re: [O] phone links...

2013-04-20 Thread Daimrod
Michael Strey writes: >> - You should use `org-link-display-format' instead of >> `org-contacts-strip-link'. > > I don't think so. `org-link-display-format' returns the description of > the link if there is one. My `org-contacts-strip-link' always returns > the target. Using `org-link-displa

Re: [O] phone links...

2013-04-17 Thread Michael Strey
Hi Greg, Thank you for looking into my debut feature! On Wed, Apr 17, 2013 at 12:22:14AM +0200, Daimrod wrote: > Michael Strey writes: [...] > > It allows entries like in the following example without effecting > > org-contacts current functions. > > > > #+BEGIN_SRC org > > * Surname, Name > >

Re: [O] phone links...

2013-04-17 Thread Michael Strey
On Tue, Apr 16, 2013 at 07:25:38AM -0500, Robert P. Goldman wrote: [...] > The reason I am reluctant to adopt tel: is that that would suggest we > should adopt the phone number syntax of RFC 3966. I confess that I > haven't slogged my way through it, nor am I likely to have time to in > the near

Re: [O] phone links...

2013-04-16 Thread Daimrod
Feng Shu writes: > Daimrod writes: > >> >> I agree with you, it would be much better if org-contacts managed >> links >> within properties. > I think the two format have less difference > > org-android and org-android-NG can't show properties like outline, > I expect to see the implement of this

Re: [O] phone links...

2013-04-16 Thread Feng Shu
Daimrod writes: > > I agree with you, it would be much better if org-contacts managed > links > within properties. I think the two format have less difference org-android and org-android-NG can't show properties like outline, I expect to see the implement of this feature > > I'll look at Mic

Re: [O] phone links...

2013-04-16 Thread Daimrod
Michael Strey writes: Hello Michael, > On Tue, Apr 09, 2013 at 09:31:40AM +0200, Michael Strey wrote: > > [...] > >> The problem is on the side of org-contacts. Org-contacts does not >> support links in its properties. > [...] > >> This shortcoming effects not only the phone links but email lin

Re: [O] phone links...

2013-04-16 Thread Daimrod
Feng Shu writes: Hello Feng, > Bastien writes: > >> Hi Feng, >> >> Feng Shu writes: >> >>> [update diff] make output format more beautiful >> >> thanks for the patch -- at first sight, the formatting should be >> fixed, let's try to avoid lines longer than 80 characters. But in >> general, I'

Re: [O] phone links...

2013-04-16 Thread Robert P. Goldman
Well, but note that we don't use file URLs -- we have special org hyperlinks with their own syntax... The reason I am reluctant to adopt tel: is that that would suggest we should adopt the phone number syntax of RFC 3966. I confess that I haven't slogged my way through it, nor am I likely to ha

Re: [O] phone links...

2013-04-16 Thread Eric S Fraga
Michael Strey writes: > Here is the most important part of Mat's reply: > > , > | note that "tel:" is a common uri for indicating that something is a > | telephone number (http://tools.ietf.org/html/rfc3966) > ` > > Seems that we should prefer 'tel' as key for the phone link. +1 -- : Er

Re: [O] phone links...

2013-04-15 Thread Feng Shu
Bastien writes: > Hi Feng, > > thanks for your reply. > > I'll let Grégoire decide on what to apply to org-contacts.el. > > Best, It's a good decision --

Re: [O] phone links...

2013-04-15 Thread Bastien
Hi Feng, thanks for your reply. I'll let Grégoire decide on what to apply to org-contacts.el. Best, -- Bastien

Re: [O] phone links...

2013-04-14 Thread Feng Shu
Bastien writes: > Hi Feng, > > Feng Shu writes: > >> [update diff] make output format more beautiful > > thanks for the patch -- at first sight, the formatting should be > fixed, let's try to avoid lines longer than 80 characters. But in > general, I'd be more comfortable with someone taking or

Re: [O] phone links...

2013-04-14 Thread Michael Strey
On Tue, Apr 09, 2013 at 09:31:40AM +0200, Michael Strey wrote: [...] > The problem is on the side of org-contacts. Org-contacts does not > support links in its properties. [...] > This shortcoming effects not only the phone links but email links as > well. Attached is a patch to allow org link

Re: [O] phone links...

2013-04-14 Thread Bastien
Hi Feng, Feng Shu writes: > [update diff] make output format more beautiful thanks for the patch -- at first sight, the formatting should be fixed, let's try to avoid lines longer than 80 characters. But in general, I'd be more comfortable with someone taking org-contacts.el in charge: I copy

Re: [O] phone links...

2013-04-14 Thread Feng Shu
[update diff] make output format more beautiful >From 500694de70f14095acc765875182d65feab7ef85 Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Sat, 13 Apr 2013 22:00:03 +0800 Subject: [PATCH] org-contacts.el, export contacts to outline-format * contrib/lisp/org-contacts.el (org-contacts-outline-f

Re: [O] phone links...

2013-04-13 Thread Feng Shu
Michael Strey writes: > 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

Re: [O] phone links...

2013-04-11 Thread Michael Strey
Here is the most important part of Mat's reply: , | note that "tel:" is a common uri for indicating that something is a | telephone number (http://tools.ietf.org/html/rfc3966) ` Seems that we should prefer 'tel' as key for the phone link. Regards -- Michael Strey www.strey.biz

Re: [O] phone links...

2013-04-10 Thread Michael Strey
FYI, I just posted the following mail to the MobileOrg mailing list. , | Hello, | | I'm using a contact data base inspired by org-contacts, where contact | details are stored in the properties drawer. | | First question: Are there any plans to show drawer content in the MobileOrg | read view

Re: [O] phone links...

2013-04-09 Thread Michael Strey
On Tue, Apr 09, 2013 at 07:19:35AM -0500, Robert Goldman wrote: [...] > 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 > he

Re: [O] phone links...

2013-04-09 Thread Robert Goldman
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 a

Re: [O] phone links...

2013-04-09 Thread Feng Shu
Michael Strey writes: > Robert, > > On Do, Apr 04, 2013 at 09:38:48 -0500, Robert P. Goldman wrote: > > [...] > >> I will be happy to include this into contrib (and do the relevant >> assignment) at any time when people think that it is sufficiently ready >> to go. I have been testing it in cont

Re: [O] phone links...

2013-04-09 Thread Michael Strey
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

Re: [O] phone links...

2013-04-08 Thread Robert Goldman
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

Re: [O] phone links...

2013-04-08 Thread Michael Strey
On Mo, Apr 08, 2013 at 07:47:52 -0500, Robert Goldman wrote: > Michael Strey wrote: [...] > > What about integrating these few functions into org-contacts? > > I am very reluctant to do this. > > I don't use org-contacts at all, but I *do* like to have phone numbers > in my TODO items. Actua

Re: [O] phone links...

2013-04-08 Thread Robert Goldman
Michael Strey wrote: > Robert, > > On Do, Apr 04, 2013 at 09:38:48 -0500, Robert P. Goldman wrote: > > [...] > >> I will be happy to include this into contrib (and do the relevant >> assignment) at any time when people think that it is sufficiently ready >> to go. I have been testing it in cont

Re: [O] phone links...

2013-04-08 Thread Michael Strey
Robert, On Do, Apr 04, 2013 at 09:38:48 -0500, Robert P. Goldman wrote: [...] > I will be happy to include this into contrib (and do the relevant > assignment) at any time when people think that it is sufficiently ready > to go. I have been testing it in contrib/ in a testing branch in my git >

Re: [O] phone links...

2013-04-06 Thread Bastien
Hi Simon, Simon Thum writes: > (setq org-contacts-matcher "BIRTHDAY<>\"\"|ADR<>\"\"|EMAIL<>\"\"|TEL<>\"\"") > > to be able to find contacts not having an email. Something like it would > need to become the new default. This now uses (mapconcat 'identity (list org-contacts-email-property

Re: [O] phone links...

2013-04-06 Thread Simon Thum
Bastien, one more thing: I have (setq org-contacts-matcher "BIRTHDAY<>\"\"|ADR<>\"\"|EMAIL<>\"\"|TEL<>\"\"") to be able to find contacts not having an email. Something like it would need to become the new default. Cheers, Simon On 04/05/2013 08:42 AM, Bastien wrote: Hi Simon, Simon Thum

Re: [O] phone links...

2013-04-06 Thread Simon Thum
Hi, seem like I am losing the work/home distinction. Not terribly useful (to me at least), so ok. I do have several contact with more than one number though, and I also like to use spaces to delineate phone number part, like [country SPACE city SPACE subscriber]. Therefore it would be useful

Re: [O] phone links...

2013-04-04 Thread Bastien
Hi Simon, Simon Thum writes: > Since you're at it: I keep the attached patch personally. I use it to sync > org-contacts entries to my phone. I applied Feng's patches against org-contacts.el, maybe you don't need your patch anymore. Best, -- Bastien

Re: [O] phone links...

2013-04-04 Thread Robert P. Goldman
On 4/4/13 Apr 4 -3:38 PM, Simon Thum wrote: > Since you're at it: I keep the attached patch personally. I use it to > sync org-contacts entries to my phone. > > I didn't sign up to the FSF so far, and suck at maintaining emacs commit > msg conventions. If the patch is interesting I'll do what is r

Re: [O] phone links...

2013-04-04 Thread Robert P. Goldman
On 4/4/13 Apr 4 -7:15 AM, Bastien wrote: > Hi Robert, > > Robert Goldman writes: > >> The two files are below, in hopes of getting suggestions for improvement >> so that someday this could find itself into contrib/. > > Looks like a good start -- please keep us updated about your progress > and

Re: [O] phone links...

2013-04-04 Thread Simon Thum
Since you're at it: I keep the attached patch personally. I use it to sync org-contacts entries to my phone. I didn't sign up to the FSF so far, and suck at maintaining emacs commit msg conventions. If the patch is interesting I'll do what is required. Cheers, Simon On 04/04/2013 02:15 PM,

Re: [O] phone links...

2013-04-04 Thread Michael Strey
On Thu, Apr 04, 2013 at 10:26:53AM +0200, Michael Strey wrote: [...] > Usually my phone links look like [[tel:+49 351 4129535]]; but since I > imported data sets from a larger contact data base that had evolved over > time, I ended up with stuff like this in my data base: > 1. [[tel:0033 (0) 4568

Re: [O] phone links...

2013-04-04 Thread Bastien
Hi Robert, Robert Goldman writes: > The two files are below, in hopes of getting suggestions for improvement > so that someday this could find itself into contrib/. Looks like a good start -- please keep us updated about your progress and your will to include this in contrib/, I'm sure many use

Re: [O] phone links...

2013-04-04 Thread Michael Strey
Hi Robert, On Wed, Apr 03, 2013 at 10:05:57AM -0500, Robert Goldman wrote: > On 4/3/13 Apr 3 -9:52 AM, Michael Strey wrote: > > This gives me the opportunitie to publish my own attempt to implement > > telephone functionality into org. I'm using Linphone > > (http://www.linphone.org/) instead of

Re: [O] phone links...

2013-04-03 Thread Robert Goldman
On 4/3/13 Apr 3 -9:52 AM, Michael Strey wrote: > This gives me the opportunitie to publish my own attempt to implement > telephone functionality into org. I'm using Linphone > (http://www.linphone.org/) instead of Skype. Thanks! I am folding the linphone code in to make org-phone more generic.

Re: [O] phone links...

2013-04-03 Thread Michael Strey
This gives me the opportunitie to publish my own attempt to implement telephone functionality into org. I'm using Linphone (http://www.linphone.org/) instead of Skype. Best regards -- Michael Strey www.strey.biz ;;; org-dial.el --- Provide org links to dial with the softphone ;;; application li

Re: [O] phone links...

2013-04-01 Thread Robert Goldman
On 3/29/13 Mar 29 -6:23 PM, Robert Goldman wrote: > Since I keep my todo tasks in my org files, and some of them involve > phone calls, I made a rudimentary handler for "phone:" links that I > would like to contribute. It features a link declaration (in > org-phone.el) and an ancillary script (cur

Re: [O] phone links...

2013-03-30 Thread Karl Voit
* Robert Goldman wrote: > Since I keep my todo tasks in my org files, and some of them involve > phone calls, I made a rudimentary handler for "phone:" links that I > would like to contribute. It features a link declaration (in > org-phone.el) and an ancillary script (currently only working on Ma

[O] phone links...

2013-03-29 Thread Robert Goldman
Since I keep my todo tasks in my org files, and some of them involve phone calls, I made a rudimentary handler for "phone:" links that I would like to contribute. It features a link declaration (in org-phone.el) and an ancillary script (currently only working on Mac OS X, but should be translatabl