emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* managing a work log
@ 2013-06-12 17:34 Adam Spiers
  2013-06-30 21:22 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Spiers @ 2013-06-12 17:34 UTC (permalink / raw)
  To: org-mode mailing list

Hi all,

With `org-archive-mark-done' set to `t', entries will be marked as
done when `org-archive-subtree' is invoked.  However, this does not
honour the expected behaviour when `org-log-done' is set to `'time',
i.e. that a `CLOSED: [timestamp]' line will be inserted just after the
headline.  Is that a bug/feature, or am I missing something?

Thanks,
Adam

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

* Re: managing a work log
  2013-06-12 17:34 managing a work log Adam Spiers
@ 2013-06-30 21:22 ` Bastien
  2013-09-21 22:08   ` Adam Spiers
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2013-06-30 21:22 UTC (permalink / raw)
  To: Adam Spiers; +Cc: org-mode mailing list

Hi Adam,

Adam Spiers <orgmode@adamspiers.org> writes:

> With `org-archive-mark-done' set to `t', entries will be marked as
> done when `org-archive-subtree' is invoked.  However, this does not
> honour the expected behaviour when `org-log-done' is set to `'time',
> i.e. that a `CLOSED: [timestamp]' line will be inserted just after the
> headline.  Is that a bug/feature, or am I missing something?

I get the same behavior but there is a ARCHIVE_TIME property,
which tells you what time the entry was archived-and-marked-done.
Why would you want redundant information with a CLOSED timestamp
here?  Are you handling the CLOSED cookie in a specific way?

Best,

-- 
 Bastien

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

* Re: managing a work log
  2013-06-30 21:22 ` Bastien
@ 2013-09-21 22:08   ` Adam Spiers
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Spiers @ 2013-09-21 22:08 UTC (permalink / raw)
  To: Bastien; +Cc: org-mode mailing list

Hi Bastien,

Sorry for the incredibly delayed response to this ...

On Sun, Jun 30, 2013 at 11:22:41PM +0200, Bastien wrote:
> Adam Spiers <orgmode@adamspiers.org> writes:
> > With `org-archive-mark-done' set to `t', entries will be marked as
> > done when `org-archive-subtree' is invoked.  However, this does not
> > honour the expected behaviour when `org-log-done' is set to `'time',
> > i.e. that a `CLOSED: [timestamp]' line will be inserted just after the
> > headline.  Is that a bug/feature, or am I missing something?
> 
> I get the same behavior but there is a ARCHIVE_TIME property,
> which tells you what time the entry was archived-and-marked-done.
> Why would you want redundant information with a CLOSED timestamp
> here?  Are you handling the CLOSED cookie in a specific way?

ARCHIVE_TIME is not honoured by log-mode.  I have a custom agenda
command which sets org-agenda-start-with-log-mode to '(closed clock)
and org-agenda-entry-types to '(:timestamp :sexp), so that I can
easily create a weekly work report to mail out to my team.  The CLOSED
cookie is required in order for DONE items to appear in this report.

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

end of thread, other threads:[~2013-09-21 22:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-12 17:34 managing a work log Adam Spiers
2013-06-30 21:22 ` Bastien
2013-09-21 22:08   ` Adam Spiers

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).