here is a sample run with python to show how the contacts api
interaction works.
17:50:36 labrador python $ python -i contacts.py
/var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9:
DeprecationWarning: the sha module is deprecated; use the hashlib
module instead
import sha
>>> import contacts
>>> s =contacts.Shell()
Please enter your username: tv.raman.tv@xxxxxxxxxxx
Password:
s.run
>>> s.Run()
Document List Sample
1) List all of your contacts.
2) Create a contact.
3) Query contacts on updated time.
4) Modify a contact.
5) Delete a contact.
6) List all of your contact groups.
7) Query your groups on updated time.
8) Exit.
>
--
Best Regards,
--raman
Email : raman@xxxxxxxxxxx :ã
WWW : http://emacspeak.sf.net/raman/ : â
GTalk : tv.raman.tv@xxxxxxxxxxx : â
PGP : http://emacspeak.sf.net/raman/raman-almaden.asc : â
Google : tv+raman : ?
IRC : irc://irc.freenode.net/#emacs : â
BRL: ââââââââââââââ : â
--
Best Regards,
--raman
Email : raman@xxxxxxxxxxx :ã
WWW : http://emacspeak.sf.net/raman/ : â
GTalk : tv.raman.tv@xxxxxxxxxxx : â
PGP : http://emacspeak.sf.net/raman/raman-almaden.asc : â
Google : tv+raman : ?
IRC : irc://irc.freenode.net/#emacs : â
BRL: ââââââââââââââ : â
On 10/31/09, Bart Bunting <bart@xxxxxxxxxxx> wrote:
> Thanks Raman!
>
> This fixed the issue for me.
>
> Are you able to explain a little more about how the contacts.py script can
> be run? When I run it from the command line it just exits without error.
>
> I can see in gcontacts.el where it is started up and commands are passed to
> it. I'm not that familiar with python but from reading the script it
> appears that much more is implemented in the script than is exposed via
> elisp.
>
> I was going to have a poke around and see if I was able to get some more
> exposed but am having some trouble figuring out how I can run the script by
> hand to test the current functionality?
>
> I see the "* Contacts *" buffer which appears to contain all the output from
> the shell but doesn't show any input?
>
> Any pointers would be helpful.
>
> However the existing functionality of being able to create contacts is very
> helpful for me as I have my iPhone syncing with google contacts so when I
> create a contact it appears on my phone. This in and of it self isgreat.
>
> Regards
>
> Bart
>
>
> -----Original Message-----
> From: T.V. Raman [mailto:tv.raman.tv@xxxxxxxxxxx]
> Sent: Sunday, November 01, 2009 5:00 AM
> To: David Ring; emacspeak@xxxxxxxxxxx
> Subject: emacspeak-how-to.txt
>
> Google Docs tip:
>
> For emacspeak users of W3 who wish to review that doc, use
> http://docs.google.com/View?docid=0AfGLDTHqUgYfZGdza2d2ajRfMThmdDhrYjlmNg&hl=en&invite=CKjGlaIC
>
> i.e. replace Doc/ with View/ in the original URL to obtain a
> plain HTML version that is read-only.
> --
> Best Regards,
> --raman
>
>
> Email : raman@xxxxxxxxxxx :ã
> WWW : http://emacspeak.sf.net/raman/ : â
> GTalk : tv.raman.tv@xxxxxxxxxxx : â
> PGP : http://emacspeak.sf.net/raman/raman-almaden.asc : â
> Google : tv+raman : ?
> IRC : irc://irc.freenode.net/#emacs : â
> BRL: ââââââââââââââ : â
>
> --
> Best Regards,
> --raman
>
>
> Email : raman@xxxxxxxxxxx :ã
> WWW : http://emacspeak.sf.net/raman/ : â
> GTalk : tv.raman.tv@xxxxxxxxxxx : â
> PGP : http://emacspeak.sf.net/raman/raman-almaden.asc : â
> Google : tv+raman : ?
> IRC : irc://irc.freenode.net/#emacs : â
> BRL: ââââââââââââââ : â
>
>
> On 9/24/09, David Ring <n1ea@xxxxxxxxxxx> wrote:
>> Hello!
>>
>> Some members - mostly those who responded to my email about a "how-to" for
>> emacs - received a personal invitation.
>>
>> However - here is your personal invitation. Sending this to the list will
>> make my work easier.
>>
>> I've started the page - please add or subtract from this - or correct bad
>> information if I've given some wrong information.
>>
>> My aim - and I hope yours - is to make installing emacspeak easier for the
>> struggling user.
>>
>> Some of us don't have sighted people who know computers who visit us.
>> Most
>> of us don't know "What we do not know" - so it makes using google
>> difficult
>> as it is nearly impossible to find the word or concept you have never
>> heard
>> of.
>>
>> Use the link below to invite yourself to the document.
>>
>> emacspeak-how-to.txt
>> http://docs.google.com/Doc?docid=0AfGLDTHqUgYfZGdza2d2ajRfMThmdDhrYjlmNg&hl=en&invite=CKjGlaIC
>>
>>
>> Have fun!!!
>>
>> David Ring
>> Green Harbor, MA
>> USA
>>
>> -30-
>>
>>
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: <djringjr@xxxxxxxxxxx>
>> Date: Thu, Sep 24, 2009 at 1:23 PM
>> Subject: emacspeak-how-to.txt
>> To: djringjr@xxxxxxxxxxx
>>
>>
>> I've shared a document with you:
>>
>> emacspeak-how-to.txt
>> http://docs.google.com/Doc?docid=0AfGLDTHqUgYfZGdza2d2ajRfMThmdDhrYjlmNg&hl=en&invite=CKjGlaIC
>>
>> It's not an attachment -- it's stored online at Google Docs. To open this
>> document, just click the link above.
>>
>> This is a document which the emacspeak group can work on to help others
>> install emacspeak.
>>
>> Thanks,
>>
>> David Ring
>> Green Harbor, MA
>>
>
> -----------------------------------------------------------------------------
> To unsubscribe from the emacspeak list or change your address on the
> emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
> subject of "unsubscribe" or "help".
>
>
-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help".
If you have questions about this archive or had problems using it, please send mail to:
priestdo@xxxxxxxxxxx No Soliciting!Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998