emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tyler Smith <tyler.smith@mail.mcgill.ca>
To: Emacs-orgmode@gnu.org
Subject: syncing with google calendar, file changed on disk
Date: Thu, 13 Sep 2012 09:37:58 -0400	[thread overview]
Message-ID: <CADkt+ZvNvvYDZ7PwP9AwZv2EbLHPzcYs2vbqqKPdHw4VGxPHYA@mail.gmail.com> (raw)

Hi,

Following the instructions from Worg (
http://orgmode.org/worg/org-tutorials/org-google-sync.html ), I've set
a cron job to download my google calendar, and use Eric Fraga's awk
script to convert it into google.org for inclusion in my agenda. This
works fine, and is currently my only syncing option as my access to
other web services (git, dropbox etc) is blocked at my workplace.

One small issue: the google calendar file changes regularly, even when
I haven't added or modified any appointments. As a consequence, I am
interrupted by Emacs reminding me that google.org has changed on disk,
and I need to respond before I can continue to browse my agenda. This
isn't a big deal, but maybe one of you know how to eliminate this
problem?

For the record, the sort of changes that I see are this:

~/.emacs.d/org$ diff google.org google.org-old
488c488
< ACTION:EMAIL
---
> ACTION:DISPLAY
490,491d489
< SUMMARY:Alarm notification
< ATTENDEE:mailto:xxx@gmail.com
495c493
< ACTION:DISPLAY
---
> ACTION:EMAIL
496a495,496
> SUMMARY:Alarm notification
> ATTENDEE:mailto:xxx@gmail.com


It seems the ACTION line switches back and forth between DISPLAY and
EMAIL. I don't understand the ics format to know what this means.

I have searched the mailing list and stackoverflow, but if this has
come up before I missed it. Thanks for your help,

Tyler

             reply	other threads:[~2012-09-13 13:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-13 13:37 Tyler Smith [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-09-13 15:24 syncing with google calendar, file changed on disk Tyler Smith
2012-09-13 15:39 ` Nick Dokos
2012-09-13 16:52   ` Arun Persaud

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADkt+ZvNvvYDZ7PwP9AwZv2EbLHPzcYs2vbqqKPdHw4VGxPHYA@mail.gmail.com \
    --to=tyler.smith@mail.mcgill.ca \
    --cc=Emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).