emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Axel Kielhorn <org-mode@axelkielhorn.de>
Cc: Org-Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: Updating column view dynamic block does not work with {est+}
Date: Thu, 20 May 2021 19:58:28 +0200	[thread overview]
Message-ID: <877djt1e4b.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20DC75FD-5757-4F9C-8AD1-3B64FE4ECF3C@axelkielhorn.de> (Axel Kielhorn's message of "Thu, 20 May 2021 19:12:07 +0200")

Hello,

Axel Kielhorn <org-mode@axelkielhorn.de> writes:

> In columnview mode the estimate is calculated[1] but the dynamic block doesn’t get updated.
>
> I did some bisecting and the last version where both column view and dynamic block were working is:
>
> Merge branch 'maint'	1aeb958e5	Marco Wahl <marcowahlsoft@gmail.com>	12.02.2017, 09:19
>
> In
>
> Use Org duration library	7e8cf5f4c	Nicolas Goaziou <mail@nicolasgoaziou.fr>	13.02.2017, 14:41
>
> neither column view nor dynamic block is working.
>
>
>
> For the column view this was fixed in:
>
> Merge branch 'maint'	2f200f50d	Bastien <bzg@gnu.org>	03.05.2021, 15:59
>
> (But I don’t understand how this fixes the problem.)
>
> For the dynamic block the updating does not work.
> Since this was broken for 4 years I think no-one uses it.
>
> [1] The „est+“  function only adds integers and doesn’t work with times like 0:15.
> This is to be expected since it is a „+“ function, otherwise it would be „est:“.
> One could argue that an „est:“ function would be more appropriate, 
> but since no-one seems to use this feature, I’m not the one to argue that.
>
> Maybe a note in the documentation would be sufficient:
>
> Note that this is a =+= function that adds numbers, not a =:= which handles times.
>
> Do you want a patch for that?

I think the issue is different. 

Org Duration is strict about what it is fed with (which is good). Effort
property expects a duration as value. But "3-8" is not a valid duration.
However, "3" is a valid duration; it means 3 minutes.

Maybe Effort property should simply accept a duration or a duration
range.

Regards,
-- 
Nicolas Goaziou


  reply	other threads:[~2021-05-20 18:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-16  5:51 Axel Kielhorn
2021-05-20 17:12 ` Axel Kielhorn
2021-05-20 17:58   ` Nicolas Goaziou [this message]
2021-05-20 19:10     ` Axel Kielhorn
2021-05-20 20:15       ` Nicolas Goaziou

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=877djt1e4b.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=org-mode@axelkielhorn.de \
    --subject='Re: Updating column view dynamic block does not work with {est+}' \
    /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

Code repositories for project(s) associated with this 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).