emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org Mode TOOD two way sync tool


From: Christopher Allan Webber
Subject: Re: [O] Org Mode TOOD two way sync tool
Date: Sun, 24 Jun 2012 12:07:52 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Hey Aurélien,

This is great.  I formerly worked on something similar:

http://labs.creativecommons.org/2010/11/10/bridging-public-bugtrackers-and-local-tasklists/

However... my solution was pretty hacky.

I'd be interested to see if you come up with a generic solution that
could have mapppings for multiple bugtrackers, and that could sync with
bugtracking states so if the bug gets closed, the TODO does also, or at
least that it warns as such, etc.

Aurélien Aptel <address@hidden> writes:

> Hi,
>
> I'm working on a bugtracker sync tool for org-mode [1]. I'm using
> org-element to parse org files, it does everything I need.
>
> It turns this
>
>
> * TODO blah <2012-06-25>
> :PROPERTIES:
> :foo: bar
> :END:
> Foo bar
>
> into this:
>
> (org-data nil
>           (headline
>            (:raw-value "blah <2012-06-25>" :title
>                        ("blah "
>                         (timestamp
>                          (:type active :value "<2012-06-25>")))
>                        :level 1
>                        :todo-keyword "TODO"
>                        :todo-type todo
>                        :timestamp "2012-06-25"
>                        :foo "bar" :category "???")
>            (section
>             ()
>             (property-drawer
>              (:properties (("foo" . "bar"))))
>             (paragraph
>              ()
>              "Foo bar"))))
>
>
> I've removed irrelevant stuff for the example but you can get get the
> start/end point of each element from this structure.
> Just call org-element-parse-buffer.
>
> 1: http://orgmode.org/w/org-sync.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]