From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Update from exported agendas? Date: Sun, 27 Apr 2014 16:00:54 +0200 Message-ID: <87vbtukh2h.fsf@gmail.com> References: <87zjj7ja39.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WePds-0005JV-DB for emacs-orgmode@gnu.org; Sun, 27 Apr 2014 10:01:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WePdl-0001nj-Rk for emacs-orgmode@gnu.org; Sun, 27 Apr 2014 10:01:16 -0400 Received: from plane.gmane.org ([80.91.229.3]:34281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WePdl-0001lq-KZ for emacs-orgmode@gnu.org; Sun, 27 Apr 2014 10:01:09 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WePdj-0001vM-Jx for emacs-orgmode@gnu.org; Sun, 27 Apr 2014 16:01:07 +0200 Received: from g231235037.adsl.alicedsl.de ([92.231.235.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Apr 2014 16:01:07 +0200 Received: from tjolitz by g231235037.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Apr 2014 16:01:07 +0200 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: emacs-orgmode@gnu.org Chris Poole 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 > 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 > > > > -- cheers, Thorsten