emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Trull <edaskel@att.net>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <CAF_DUeFFJ_EDFwaUkc3ZzZuUGjHf0rJ1jx3xMxxMOhknEakuVw@mail.gmail.com> (raw)
In-Reply-To: <874jw1hh3z.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 2084 bytes --]

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>
>

[-- Attachment #2: Type: text/html, Size: 3017 bytes --]

  reply	other threads:[~2022-10-18  5:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAF_DUeFYPWW8H0YLfB4w83nviU-ygVKfj4pKf3sOS5Z3vqV0dg.ref@mail.gmail.com>
2021-09-27  6:27 ` 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/)] Jeff Trull
2022-10-16 11:00   ` Ihor Radchenko
2022-10-17 23:58     ` Jeff Trull
2022-10-18  4:48       ` Ihor Radchenko
2022-10-18  5:41         ` Jeff Trull [this message]
2022-10-18  6:03           ` Ihor Radchenko
2022-10-19 16:32             ` Jeff Trull

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=CAF_DUeFFJ_EDFwaUkc3ZzZuUGjHf0rJ1jx3xMxxMOhknEakuVw@mail.gmail.com \
    --to=edaskel@att.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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).