emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Update from exported agendas?
@ 2014-04-27  9:28 Chris Poole
  2014-04-27 11:16 ` Thorsten Jolitz
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Poole @ 2014-04-27  9:28 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 370 bytes --]

Hi,

I export my agenda custom views to plain text, so I can check things off as
I go (without access to Emacs).

I use `(org-agenda-prefix-format " [ ] ")` so I can easily add an "X" with
my text editor on my phone.

Is there any way to have this update the todo items that the exported
agenda file was created from? (Say, changing NEXT state to DONE.)


Cheers,
Chris

[-- Attachment #2: Type: text/html, Size: 536 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Update from exported agendas?
  2014-04-27  9:28 Update from exported agendas? Chris Poole
@ 2014-04-27 11:16 ` Thorsten Jolitz
  2014-04-27 13:47   ` Chris Poole
  0 siblings, 1 reply; 4+ messages in thread
From: Thorsten Jolitz @ 2014-04-27 11:16 UTC (permalink / raw)
  To: emacs-orgmode

Chris Poole <lists@chrispoole.com> writes:

Hi,

> I export my agenda custom views to plain text, so I can check things
> off as I go (without access to Emacs).
>
> I use `(org-agenda-prefix-format " [ ] ")` so I can easily add an "X"
> with my text editor on my phone.
>
> Is there any way to have this update the todo items that the exported
> agenda file was created from? (Say, changing NEXT state to DONE.)

I don't think this is possible. Without having looked at org-agenda.el I
guess that the connection between agenda entries and items in .org files
is realised with Emacs Lisp markers (enabling cmds like
`org-agenda-show' in agenda mode). These markers are lost when you simply
copy the agenda contents to a plain text file, so there is no connection
anymore with the Org files.

Maybe the elisp markers could be replaced by unique IDs for each entry
or links that allow the look-up of the associated entries, and you are
lucky and somebody aready figured out how to do this?

-- 
cheers,
Thorsten

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Update from exported agendas?
  2014-04-27 11:16 ` Thorsten Jolitz
@ 2014-04-27 13:47   ` Chris Poole
  2014-04-27 14:00     ` Thorsten Jolitz
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Poole @ 2014-04-27 13:47 UTC (permalink / raw)
  To: Thorsten Jolitz; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2084 bytes --]

The only way I can think of doing it is, for each completed task out of the
exported file, pull up the agenda view (that corresponds to that file),
find that item, and mark it as DONE.

Perhaps have this action on the opening of any file in the org-agenda-files
list.

I was just hoping it might have already been done so I don't have to start
from scratch, seems like a logical thing --- presumably people just
manually open up the agenda view for what they've just done away from the
laptop, and mark things done, again...

(Incidentally, I actually wrote this functionality years ago (and it'd also
switch the next TODO task to NEXT), in a GTD library I made for myself, but
recently decided to switch to org mode, as it has a ton of advantages to my
simple system. I'm now seeing if I can build a GTD layer on top of org
mode, to provide a kind of automatic setup for those new to org-mode, who
want to use it with the GTD methodology.)


On Sun, Apr 27, 2014 at 12:16 PM, Thorsten Jolitz <tjolitz@gmail.com> wrote:

> Chris Poole <lists@chrispoole.com> writes:
>
> Hi,
>
> > I export my agenda custom views to plain text, so I can check things
> > off as I go (without access to Emacs).
> >
> > I use `(org-agenda-prefix-format " [ ] ")` so I can easily add an "X"
> > with my text editor on my phone.
> >
> > Is there any way to have this update the todo items that the exported
> > agenda file was created from? (Say, changing NEXT state to DONE.)
>
> I don't think this is possible. Without having looked at org-agenda.el I
> guess that the connection between agenda entries and items in .org files
> is realised with Emacs Lisp markers (enabling cmds like
> `org-agenda-show' in agenda mode). These markers are lost when you simply
> copy the agenda contents to a plain text file, so there is no connection
> anymore with the Org files.
>
> Maybe the elisp markers could be replaced by unique IDs for each entry
> or links that allow the look-up of the associated entries, and you are
> lucky and somebody aready figured out how to do this?
>
> --
> cheers,
> Thorsten
>
>
>

[-- Attachment #2: Type: text/html, Size: 2774 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Update from exported agendas?
  2014-04-27 13:47   ` Chris Poole
@ 2014-04-27 14:00     ` Thorsten Jolitz
  0 siblings, 0 replies; 4+ messages in thread
From: Thorsten Jolitz @ 2014-04-27 14:00 UTC (permalink / raw)
  To: emacs-orgmode

Chris Poole <lists@chrispoole.com> writes:

> The only way I can think of doing it is, for each completed task out
> of the exported file, pull up the agenda view (that corresponds to
> that file), find that item, and mark it as DONE.
>
> Perhaps have this action on the opening of any file in the
> org-agenda-files list.
>
> I was just hoping it might have already been done so I don't have to
> start from scratch, seems like a logical thing --- presumably people
> just manually open up the agenda view for what they've just done away
> from the laptop, and mark things done, again...

I think people use dropbox or some git based setting to locally modify
agenda entries while being offline and synchronize later on. But they
use Org-mode to make the local changes, they don't do them outside of
Org-mode (except where exporters/conversion-tools between Org and other
calendar/planning apps exist).

To achieve what you want you should probably use Org-mobile or install
Emacs/Org-mode on all your devices and then sync via dropbox or git or
so. 

> On Sun, Apr 27, 2014 at 12:16 PM, Thorsten Jolitz <tjolitz@gmail.com>
> wrote:
>
>     
>     Chris Poole <lists@chrispoole.com> writes:
>     
>     Hi,
>     
>     > I export my agenda custom views to plain text, so I can check
>     things
>     > off as I go (without access to Emacs).
>     >
>     > I use `(org-agenda-prefix-format " [ ] ")` so I can easily add
>     an "X"
>     > with my text editor on my phone.
>     >
>     > Is there any way to have this update the todo items that the
>     exported
>     > agenda file was created from? (Say, changing NEXT state to
>     DONE.)
>     
>     
>     I don't think this is possible. Without having looked at
>     org-agenda.el I
>     guess that the connection between agenda entries and items in .org
>     files
>     is realised with Emacs Lisp markers (enabling cmds like
>     `org-agenda-show' in agenda mode). These markers are lost when you
>     simply
>     copy the agenda contents to a plain text file, so there is no
>     connection
>     anymore with the Org files.
>     
>     Maybe the elisp markers could be replaced by unique IDs for each
>     entry
>     or links that allow the look-up of the associated entries, and you
>     are
>     lucky and somebody aready figured out how to do this?
>     
>     --
>     cheers,
>     Thorsten
>     
>     
>
>

-- 
cheers,
Thorsten

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-04-27 14:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-27  9:28 Update from exported agendas? Chris Poole
2014-04-27 11:16 ` Thorsten Jolitz
2014-04-27 13:47   ` Chris Poole
2014-04-27 14:00     ` Thorsten Jolitz

Code repositories for project(s) associated with this 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).