From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avery Chan Subject: Re: OReanalyzing archived TO-DOs Date: Tue, 9 Aug 2016 11:10:01 +0800 Message-ID: References: <87zionyoxc.fsf@fastmail.fm> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_A0E9B6EE-9910-4C0D-8F94-85748228D150" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWxQu-0003lu-UL for emacs-orgmode@gnu.org; Mon, 08 Aug 2016 23:10:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWxQr-000889-Kr for emacs-orgmode@gnu.org; Mon, 08 Aug 2016 23:10:24 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:42050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWxQp-00085Y-8F for emacs-orgmode@gnu.org; Mon, 08 Aug 2016 23:10:21 -0400 In-Reply-To: <87zionyoxc.fsf@fastmail.fm> 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" To: Matt Lundin Cc: emacs-orgmode@gnu.org --Apple-Mail=_A0E9B6EE-9910-4C0D-8F94-85748228D150 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Matt, Thanks for your reply. In trying to build the MinEx I found the solution = to my problem: 1) In my archive file, I did not have the correct column-definition = layout that I had in my original TODO.org file: `#+COLUMNS: %40ITEM(Task) %17Effort(Estimated Effort){:} %CLOCKSUM` 2) In my archive file, if I had archived the item in my original file = (i.e. tagged it as archived) and then sent the sub-tree to the actual = archive, it would be marked as =E2=80=98ARCHIVED=E2=80=99 in the archive = file. To achieve what I described below, the proper action would be to = just archive it directly into the archive file instead of tagging it. = Org-mode ignores any items that are tagged as =E2=80=98ARCHIVED=E2=80=99 = when you try use column-view. I do have a follow-up questions. I noticed that sometimes Org-mode = wouldn=E2=80=99t pick up my column definition. Is there a way to tell = org-mode to reload the file with the column-defintion layout? To get it = to work, I saved the org file, quit emacs and then ran emacs again with = the org file; then org-mode picked up my column-definition layout. This = is very easy to replicate. I=E2=80=99ve included an org-mode file here. = Just run column view and quit column view. Then delete the = column-definition layout line at the top and re-run column view. (see = below). Avery =E2=80=94=E2=80=94=E2=80=94 # -*- mode: org -*- #+PROPERTY: Effort_ALL 0 0:10 0:30 1:00 2:00 3:00 4:00 5:00 6:00 7:00 #+COLUMNS: %40ITEM(Task) %17Effort(Estimated Effort){:} %CLOCKSUM Archived entries from file /Users/avery/test-archive.org * Feed dinosaur :PROPERTIES: :Effort: 0:30 :ARCHIVE_TIME: 2016-08-09 Tue 10:50 :ARCHIVE_FILE: ~/test-archive.org :ARCHIVE_OLPATH: List :ARCHIVE_CATEGORY: test-archive :END: <2016-08-09 Tue 8:00-08:30> * DONE Polish steel rocket pack CLOSED: [2016-08-09 Tue 11:02] :PROPERTIES: :Effort: 1:00 :ARCHIVE_TIME: 2016-08-09 Tue 11:03 :ARCHIVE_FILE: ~/test-archive.org :ARCHIVE_OLPATH: List :ARCHIVE_CATEGORY: test-archive :ARCHIVE_TODO: DONE :END: :LOGBOOK: CLOCK: [2016-08-09 Tue 11:02]--[2016-08-10 Wed 11:02] =3D> 24:00 :END: <2016-08-09 Tue 23:00-00:00> > On Aug 9, 2016, at 4:40 AM, Matt Lundin wrote: >=20 > Hi Avery, >=20 > Avery Chan writes: >=20 >> One problem is what to do with completed tasks. They clutter up my >> todo list so I usually archive them to another file. My problem is >> that after archiving them, I can't compare the 'effort' with the >> actual 'clock time' easily (i.e. using `C-c C-x C-c =20 >> (org-agenda-columns)` doesn't return the same results in my original >> org file as it does in the archived file.) >=20 > I can't replicate this. Could you provide an minimal example that > demonstrates the problem? >=20 >> **What's a workflow that will allow me to open up my archived TO-DOs >> to evaluate them?** >=20 > I would probably do the same thing you did: i.e., use column view in = the > archive file. You could also try including archive files in the agenda > ("v A") and then using column view in the agenda. That would have the > effect of merging archived and non-archived tasks into a single view. >=20 > Best, > Matt --Apple-Mail=_A0E9B6EE-9910-4C0D-8F94-85748228D150 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi Matt,

Thanks for your reply. In trying to build the MinEx I found = the solution to my problem:

1) In my archive file, I did not have the correct = column-definition layout that I had in my original TODO.org file:
`#+COLUMNS: %40ITEM(Task) %17Effort(Estimated Effort){:} = %CLOCKSUM`

2) = In my archive file, if I had archived the item in my original file (i.e. = tagged it as archived) and then sent the sub-tree to the actual archive, = it would be marked as =E2=80=98ARCHIVED=E2=80=99 in the archive file. To = achieve what I described below, the proper action would be to just = archive it directly into the archive file instead of tagging it. = Org-mode ignores any items that are tagged as =E2=80=98ARCHIVED=E2=80=99 = when you try use column-view.

I do have a follow-up questions. I = noticed that sometimes Org-mode wouldn=E2=80=99t pick up my column = definition. Is there a way to tell org-mode to reload the file with the = column-defintion layout? To get it to work, I saved the org file, quit = emacs and then ran emacs again with the org file; then org-mode picked = up my column-definition layout. This is very easy to replicate. I=E2=80=99= ve included an org-mode file here. Just run column view and quit column = view. Then delete the column-definition layout line at the top and = re-run column view. (see below).

Avery

=E2=80=94=E2=80=94=E2=80=94
#    -*- mode: org -*-
#+PROPERTY: Effort_ALL 0 0:10 0:30 1:00 2:00 3:00 4:00 5:00 = 6:00 7:00
#+COLUMNS: %40ITEM(Task) = %17Effort(Estimated Effort){:} %CLOCKSUM

Archived entries from file = /Users/avery/test-archive.org


* = Feed dinosaur
:PROPERTIES:
:Effort:   0:30
:ARCHIVE_TIME: = 2016-08-09 Tue 10:50
:ARCHIVE_FILE: ~/test-archive.org
:ARCHIVE_OLPATH: List
:ARCHIVE_CATEGORY: = test-archive
:END:
<2016-08-09 Tue 8:00-08:30>

* DONE Polish steel rocket = pack
CLOSED: [2016-08-09 Tue 11:02]
:PROPERTIES:
:Effort:   = 1:00
:ARCHIVE_TIME: 2016-08-09 Tue 11:03
:ARCHIVE_FILE: ~/test-archive.org
:ARCHIVE_OLPATH: = List
:ARCHIVE_CATEGORY: test-archive
:ARCHIVE_TODO: DONE
:END:
:LOGBOOK:
CLOCK: [2016-08-09 Tue = 11:02]--[2016-08-10 Wed 11:02] =3D> 24:00
:END:
<2016-08-09 Tue = 23:00-00:00>

On Aug 9, 2016, at 4:40 AM, = Matt Lundin <mdl@imapmail.org> wrote:

Hi Avery,

Avery Chan <avery@avericity.com>= writes:

One problem is what to do with completed tasks. They clutter = up my
todo list so I usually archive them to another file. = My problem is
that after archiving them, I can't compare = the 'effort' with the
actual 'clock time' easily (i.e. = using `C-c C-x C-c    
(org-agenda-columns)` = doesn't return the same results in my original
org file as = it does in the archived file.)

I= can't replicate this. Could you provide an minimal example that
demonstrates the problem?

**What's a workflow that = will allow me to open up my archived TO-DOs
to evaluate = them?**

I would probably do = the same thing you did: i.e., use column view in the
archive= file. You could also try including archive files in the agenda
("v A") and then using column view in the agenda. That would = have the
effect of merging archived and non-archived tasks = into a single view.

Best,
Matt

= --Apple-Mail=_A0E9B6EE-9910-4C0D-8F94-85748228D150--