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: Wed, 19 Oct 2022 09:32:21 -0700 [thread overview]
Message-ID: <CAF_DUeHZwR4GkYar3nWG1RSG7H8M6a3PMYNC1Ch_bdwO01AYRA@mail.gmail.com> (raw)
In-Reply-To: <87h701fz22.fsf@localhost>
[-- Attachment #1: Type: text/plain, Size: 1466 bytes --]
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 HOURLY_RATE <enter> 150 <enter>
and then HOURLY_RATE is immediately usable in my table, without even having
to save the file.
On Mon, Oct 17, 2022 at 11:03 PM Ihor Radchenko <yantar92@posteo.net> wrote:
> Jeff Trull <edaskel@att.net> 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
> > until you
> > reload the file. Even saving the file doesn't help.
>
> It is expected and documented.
> See 17.8 Summary of In-Buffer Settings section of the manual.
> Basically, you need to press C-c C-c on the property line to make Org
> refresh the settings.
>
> Alternatively, you can use document property drawer. It is updated
> automatically on the latest development version of Org.
>
> --
> 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: 2274 bytes --]
prev parent reply other threads:[~2022-10-19 16:36 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
2022-10-18 6:03 ` Ihor Radchenko
2022-10-19 16:32 ` Jeff Trull [this message]
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_DUeHZwR4GkYar3nWG1RSG7H8M6a3PMYNC1Ch_bdwO01AYRA@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).