emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Alois Janíček" <janicek.dev@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Subject: Bug: org-clock and indirect org buffer: unable to generate report with :scope file-with-archives [9.4 (nil @ /home/user/.emacs.d/.local/straight/build/org-mode/)]
Date: Tue, 5 May 2020 20:38:55 +0200	[thread overview]
Message-ID: <CAEsjyEcb1gDzYpf_O1V000DQavMYGeNnGFmx7UED0HRQ+bHkXQ@mail.gmail.com> (raw)

When attempting to generate clock-report using ":scope
file-with-archives" from indirect org buffer, operation fails because
function `org-dblock-write:clocktable` builds list of files based on
`buffer-file-name` variable which is `nil` in indirect buffers.

As user I am expecting org-clock to generate clock-report for current
indirect org buffer as if it was direct buffer, which is default behavior
in case of ":scope file" where `org-dblock-write:clocktable` does:

(or (buffer-file-name (buffer-base-buffer))

Emacs  : GNU Emacs 27.0.91 (build 3, x86_64-pc-linux-gnu, GTK+ Version
3.24.20, cairo version 1.17.3)
 of 2020-05-03
Package: Org mode version 9.4

             reply	other threads:[~2020-05-16 15:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-05 18:38 Alois Janíček [this message]
2020-05-16 18:44 ` Nicolas Goaziou
2020-05-25 20:54   ` Alois Janíček

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:

  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=CAEsjyEcb1gDzYpf_O1V000DQavMYGeNnGFmx7UED0HRQ+bHkXQ@mail.gmail.com \
    --to=janicek.dev@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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