all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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/)]
@ 2020-05-05 18:38 Alois Janíček
  2020-05-16 18:44 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Alois Janíček @ 2020-05-05 18:38 UTC (permalink / raw)
  To: emacs-orgmode

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))
(current-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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-25 20:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-05 18:38 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/)] Alois Janíček
2020-05-16 18:44 ` Nicolas Goaziou
2020-05-25 20:54   ` Alois Janíček

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.