emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Arun Persaud <apersaud@lbl.gov>
Cc: emacs-orgmode@gnu.org
Subject: Re: ical2org (better timezone recognition and better default for max_age option)
Date: Wed, 23 Feb 2011 20:44:57 +0000	[thread overview]
Message-ID: <87vd0a1nw6.fsf@ucl.ac.uk> (raw)
In-Reply-To: <4D656DFD.1020106@lbl.gov> (Arun Persaud's message of "Wed, 23 Feb 2011 12:28:45 -0800")

Arun Persaud <apersaud@lbl.gov> writes:

> Hi
>
>> however, I'm a little concerned with some of the other changes, 
>> specifically that all timed events have become scheduled todo
>> entries (of type GCAL) which really doesn't fit in with my use case
>> at all unfortunately.
>
> probably should make this configurable. How about defining a string that
> is attached to all entries, this could then be "GCAL", "TODO" or just
> empty "".

yes, that would be good.  You should aim to keep the configuration
options defined directly in the file to a minimum or at least
configurable at run time.

> The reason that I added the GCAL is that when I want to exclude them
> from being exported back into google, so a tag worked fine, but I guess
> this could also be done in other ways.

the whole point of the UID field was to ensure that any entries exported
back would be ignored as google will treat any such entry as already
there if the id matches one of the entries.

>> I think scheduled events should be restricted to TODO entries --
>> maybe it's a matter of figuring out how google exports tasks and keep
>> diary entries as just that?
>
> I'm not using google tasks or emacs diary, so I can't really say how
> this would work

No, sorry, not the Emacs Diary/Calendar but entries that appear in the
org agenda view simply as timed entries.  E.g. something like

#+begin_src org
* meeting with my students
  <2011-02-24 Thu 11:00-11:30>
#+end_src

will appear in the agenda for that day and that time.  As soon as you
"schedule" something, it becomes a "task" and it will continue to appear
on following days until you mark the "task" as done.  This is very
different from a simple timed entry in the agenda.  For timed entries
(or all day entries) from google, the direct mapping in org is simple
headings with /active/ time stamps.  There is no need for the SCHEDULED
specification.

>> I do like that you are picking up the LOCATION and STATUS fields.  I 
>> wonder if these could be made into properties for the org headlines
>> you create, much as is done with the UID entry?
>
> should be easy.

Yes, simply move the two output statements for these to where the "id"
information is written out.

Thanks,
eric


-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.529.gb23d.dirty)

      reply	other threads:[~2011-02-23 20:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02  7:02 ical2org Arun Persaud
2011-02-02  8:11 ` ical2org Eric S Fraga
2011-02-17  7:30   ` ical2org (better timezone recognition and better default for max_age option) Arun Persaud
2011-02-23 20:22     ` Eric S Fraga
2011-02-23 20:28       ` Arun Persaud
2011-02-23 20:44         ` Eric S Fraga [this message]

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=87vd0a1nw6.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=apersaud@lbl.gov \
    --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).