emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: clocktable :inherit-props does not respect global property sett


From: Jeff Trull
Subject: Re: Bug: clocktable :inherit-props does not respect global property setting [9.4.6 (9.4.6-12-gdcc3a8-elpa @ /home/jet/.config/emacs/elpa/org-20210823/)]
Date: Mon, 17 Oct 2022 22:41:12 -0700

Yes, I can make it work now - but only after reloading it at least one time from disk.

When I type it in for the first time, it doesn't work. I have to save, then (revert-buffer).
In other words, in a fresh buffer, paste all the above, then hit C-c C-c on the BEGIN line.
The global properties don't work. You can save the file, and it still doesn't work. Only after
reading it from disk (either with revert-buffer or loading it for the first time) does it work.

Also, if you change the value (say, from 150 to 210) the old value persists until you
reload the file. Even saving the file doesn't help.

On Mon, Oct 17, 2022 at 9:48 PM Ihor Radchenko <yantar92@posteo.net> wrote:
Jeff Trull <edaskel@att.net> writes:

> I just confirmed that it is still doing this (Emacs 28.2, org 9.5.5). The
> result looks the same as before:
>
> #+BEGIN: clocktable :scope file :maxlevel 2 :properties ("HOURLY_RATE")
> :inherit-props t
> #+CAPTION: Clock summary at [2022-10-17 Mon 16:50]
> ...
> Note that the first column next to "Sub 1A" is empty.

Do note that :inherit-props t must be on the same line with #+BEGIN

> Can you send the result of evaluating the clocktable in your config?

#+BEGIN: clocktable :scope file :maxlevel 2 :properties ("HOURLY_RATE") :inherit-props t
#+CAPTION: Clock summary at [2022-10-18 Tue 12:47]
| HOURLY_RATE | Headline   | Time     |          |
|-------------+------------+----------+----------|
|             | *Total time* | *2h 30min* |          |
|-------------+------------+----------+----------|
|         150 | Top 1      | 1h 0min  |          |
|         150 | \_  Sub 1A |          | 1h 0min  |
|         110 | Top 2      | 1h 30min |          |
|         110 | \_  Sub 2A |          | 1h 0min  |
|          90 | \_  Sub 2B |          | 0h 30min |
#+END:


--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]