From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-columns--compute-spec tries to set CLOCKSUM property [9.4.4 (release_9.4.4-231-gf46925 @ /home/nick/elisp/org-mode/lisp/)]
Date: Wed, 07 Apr 2021 19:52:35 +0200 [thread overview]
Message-ID: <87a6qam17g.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87r1jo5zm9.fsf@alphaville.usersys.redhat.com> (Nick Dokos's message of "Mon, 05 Apr 2021 14:56:46 -0400")
Hello,
Nick Dokos <ndokos@gmail.com> writes:
> The following MWE illustrates:
>
> --8<---------------cut here---------------start------------->8---
> #+COLUMNS: %25ITEM %6CLOCKSUM{:}
>
> * Goal 3
> :PROPERTIES:
> :ID: goal_3
> :END:
>
> #+BEGIN: columnview :hlines 4 :id goal_3 :maxlevel 3
>
> #+END
>
> ** TODO Task 1
> :LOGBOOK:
> CLOCK: [2020-01-26 18:05]--[2020-01-26 Mon 19:16] => 1:11
> :END:
>
> Task body
>
> *** TODO Subtask 1
> :LOGBOOK:
> CLOCK: [2020-01-28 Tue 15:45]--[2020-01-28 Tue 16:45] => 1:00
> :END:
>
> --8<---------------cut here---------------end--------------->8---
>
>
> Starting with `emacs -Q foo.org', place the cursor on the `#+BEGIN:
> columnview' line and type `C-c C-c`. That produces a table (although
> the entries are wrong):
>
> --8<---------------cut here---------------start------------->8---
> #+BEGIN: columnview :hlines 4 :id goal_3 :maxlevel 3
> | ITEM | CLOCKSUM |
> |-----------+----------|
> | Goal 3 | 2:11 |
> |-----------+----------|
> | Task 1 | 2:11 |
> |-----------+----------|
> | Subtask 1 | 1:00 |
> #+END
> --8<---------------cut here---------------end--------------->8---
Why do you say the entries are wrong?
> But then doing it again fails with the following (elided) backtrace:
>
> --8<---------------cut here---------------start------------->8---
> Debugger entered--Lisp error: (error "The CLOCKSUM property cannot be
> set with ‘org-entr...")
I pushed a fix for this error.
It doesn't solve the whole problem, tho. Doing it again will produce
| ITEM | CLOCKSUM |
|-----------+----------|
| Goal 3 | 1:00 |
|-----------+----------|
| Task 1 | 1:00 |
|-----------+----------|
| Subtask 1 | 1:00 |
This looks wrong.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2021-04-07 17:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-05 18:56 Bug: org-columns--compute-spec tries to set CLOCKSUM property [9.4.4 (release_9.4.4-231-gf46925 @ /home/nick/elisp/org-mode/lisp/)] Nick Dokos
2021-04-07 17:52 ` Nicolas Goaziou [this message]
2021-04-09 17:49 ` Nick Dokos
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=87a6qam17g.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
/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).