OK, got it now, thanks! I confirmed everything you said.
My takeaway is that instead of using global properties as a single property
at the top level,
I should create a top-level properties drawer, which will have immediate
usability.
In the case of my example that would be:
C-u C-c C-x d
Jeff Trull writes:
> 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).
> ...
> Also, if you change the value (say, from 150 to 210) the old value persists
>
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
Jeff Trull 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
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]
| HOURLY_RATE | Headline | Time | |
Jeff Trull writes:
> :inherit-props seems to not consider global properties.
>
> Testcase:
I am unable to reproduce on the latest main.
The inherited properties are displayed as expected on my side.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at
> Jeff Trull writes:
> Confirmed, after updating org it now works! Thanks for your help.
> On Tue, Nov 30, 2021 at 1:07 AM Colin Baxter wrote:
>> Hello Jeff
>>
>> You clock table works for me, including your missing rate of
>> 150. I attach a screen shot.
>>
Confirmed, after updating org it now works! Thanks for your help.
On Tue, Nov 30, 2021 at 1:07 AM Colin Baxter wrote:
> Hello Jeff
>
> You clock table works for me, including your missing rate of 150. I
> attach a screen shot.
>
> By the way, you have a ":inherit-props t" which is not on the
Hello Jeff
You clock table works for me, including your missing rate of 150. I
attach a screen shot.
By the way, you have a ":inherit-props t" which is not on the #+BEGIN:
clocktable line. I assume that has been corrupted in the email
formatting.
Best wishes
:inherit-props seems to not consider global properties.
Testcase:
# Create a global property
#+PROPERTY: HOURLY_RATE 150
* Top 1
** Sub 1A
# here we should get the global property, but do not
:LOGBOOK:
CLOCK: [2021-09-26 Sun 12:25]--[2021-09-26 Sun 13:25] => 1:00
- I did some tasks
:inherit-props seems to not consider global properties.
Testcase:
# Create a global property
#+PROPERTY: HOURLY_RATE 150
* Top 1
** Sub 1A
# here we should get the global property, but do not
:LOGBOOK:
CLOCK: [2021-09-26 Sun 12:25]--[2021-09-26 Sun 13:25] => 1:00
- I did some tasks
11 matches
Mail list logo