emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James TD Smith <ahktenzero@mohorovi.cc>
To: Norbert Zeh <nzeh@cs.dal.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Bug with time summary in column view?
Date: Wed, 25 Nov 2009 16:34:53 +0000	[thread overview]
Message-ID: <20091125163453.GD2013@yog-sothoth.mohorovi.cc> (raw)
In-Reply-To: <20091125122508.GF7194@cs.dal.ca>

Hi Norbert,

On 2009-11-25 08:25:08(-0400), Norbert Zeh wrote:
> Norbert Zeh [2009.11.25  543 -0400]:
> Alright, while we're at it ;), here's another somewhat unexpected
> behaviour.  I'm not even sure this should be considered a bug, but it's
> more a matter of defining what the right behaviour should be.

It seems like a bug to me, in that the effort summary for the day will be wrong.

> If I have an entry with an effort estimate of, say, 1:00 and it is shown
> in today's agenda because it is scheduled today and the deadline is in 2
> days, the 1:00 time effort is counted twice in the effort summary for
> the day.  To me, this doesn't make much sense, as it's only one task,
> not two.  So, if I were to choose how to treat this situation, I would
> simply say that all entries shown because of their deadline should not
> be listed in this summary.  Then, of course, this may not be the right
> rule in all situations.
> 
> Any ideas how one could let the user specify on a per-column basis
> whether entries shown because of a deadline should be included in the
> summary or not?

I think this will be quite complicated to fix. There are multiple reasons an
item can appear in the agenda: active timestamps, deadlines, scheduling, and in
log mode clocked time and inactive timestamps, so any solution would need to
handle all of those. As far as column view is concerned each line in the agenda
is a different item.

If we attach a property to each line in the agenda indicating where it came from
(using org ids or similar), the summary calculation code for the agenda could
skip entries it had already seen, though I'm not sure it's the right thing to do
for all summary types.

James

--
|-<James TD Smith>-<email/ahktenzero@mohorovi.cc>-|

  reply	other threads:[~2009-11-25 16:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 20:56 Bug with time summary in column view? Norbert Zeh
2009-11-24 21:51 ` James TD Smith
2009-11-24 23:34   ` Norbert Zeh
2009-11-25  0:00   ` Matt Lundin
2009-11-25  2:05     ` James TD Smith
2009-11-25 12:12       ` Norbert Zeh
2009-11-25 12:15       ` Matthew Lundin
     [not found]       ` <20091125094324.GC7194@cs.dal.ca>
2009-11-25 12:25         ` Norbert Zeh
2009-11-25 16:34           ` James TD Smith [this message]
2009-11-26  6:18           ` Carsten Dominik
2009-11-25 12:25       ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091125163453.GD2013@yog-sothoth.mohorovi.cc \
    --to=ahktenzero@mohorovi.cc \
    --cc=emacs-orgmode@gnu.org \
    --cc=nzeh@cs.dal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).