From: Christopher Allan Webber <cwebber@dustycloud.org>
To: "Aurélien Aptel" <aurelien.aptel@gmail.com>
Cc: orgmode@grierwhite.com, emacs-orgmode@gnu.org
Subject: Re: Org Mode TOOD two way sync tool
Date: Sun, 24 Jun 2012 12:07:52 -0500 [thread overview]
Message-ID: <8762agsknr.fsf@grumps.lan> (raw)
In-Reply-To: <CA+5B0FOUxMuE5JfP170LHmdq-bU=EAgQPkxtg1Q8N9d10R3yKA@mail.gmail.com> ("Aurélien Aptel"'s message of "Sun, 24 Jun 2012 15:15:19 +0200")
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 <aurelien.aptel@gmail.com> 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
next prev parent reply other threads:[~2012-06-24 17:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-22 6:40 Org Mode TOOD two way sync tool Sriram Karra
2012-06-22 12:03 ` Christopher J. White
2012-06-22 12:33 ` Sriram Karra
2012-06-22 14:05 ` Christopher J. White
2012-06-24 13:15 ` Aurélien Aptel
2012-06-24 13:17 ` Aurélien Aptel
2012-06-24 17:07 ` Christopher Allan Webber [this message]
2012-06-25 12:32 ` Aurélien Aptel
2012-06-25 13:51 ` Sriram Karra
2012-06-25 14:41 ` Christopher Allan Webber
2012-06-25 15:29 ` Christopher Allan Webber
2012-10-07 19:48 ` Jonathan BISSON
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=8762agsknr.fsf@grumps.lan \
--to=cwebber@dustycloud.org \
--cc=aurelien.aptel@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=orgmode@grierwhite.com \
/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).