From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Poole Subject: Re: Update from exported agendas? Date: Sun, 27 Apr 2014 14:47:36 +0100 Message-ID: References: <87zjj7ja39.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11332d1607839004f80671e4 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WePQk-00065I-SC for emacs-orgmode@gnu.org; Sun, 27 Apr 2014 09:47:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WePQf-0006TB-SH for emacs-orgmode@gnu.org; Sun, 27 Apr 2014 09:47:42 -0400 Received: from mail-oa0-f50.google.com ([209.85.219.50]:52358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WePQf-0006T4-LN for emacs-orgmode@gnu.org; Sun, 27 Apr 2014 09:47:37 -0400 Received: by mail-oa0-f50.google.com with SMTP id i11so6118367oag.23 for ; Sun, 27 Apr 2014 06:47:36 -0700 (PDT) In-Reply-To: <87zjj7ja39.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Thorsten Jolitz Cc: emacs-orgmode@gnu.org --001a11332d1607839004f80671e4 Content-Type: text/plain; charset=UTF-8 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 wrote: > Chris Poole 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 > > > --001a11332d1607839004f80671e4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The only way I can think of doing it is, for each complete= d task out of the exported file, pull up the agenda view (that corresponds = to that file), find that item, and mark it as DONE.

Perh= aps have this action on the opening of any file in the org-agenda-files lis= t.

I was just hoping it might have already been done so I = don't have to start from scratch, seems like a logical thing --- presum= ably 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 year= s ago (and it'd also switch the next TODO task to NEXT), in a GTD libra= ry 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 t= hose new to org-mode, who want to use it with the GTD methodology.)
--001a11332d1607839004f80671e4--