Re: clock-table and hooking that into org-capture file+olp+datetree

2021-02-01 Thread Kyle Meyer
Christopher Causer writes: > One snag I hit that I feel I should mention is what I believe to be a > mistake in the documentation[1]. I was scratching my head as why > org-clocktable-defaults wasn't working, but it was only when I brought > up the inline documentation that I see that this probably

clock-table and hooking that into org-capture file+olp+datetree

2021-01-30 Thread Christopher Causer
Hello everyone! Here's a reasonably easy (I think) question because I'm quite new to Emacs and org-mode. I have an org-capture template using file+olp+datetree[1], which works great at filing my thoughts for the day. Separately I know I can generate clock tables[2] based on dynamic blocks to sh

Re: clock-table and hooking that into org-capture file+olp+datetree

2021-01-30 Thread Christopher Causer
Thanks again Richard. I now have a working solution which I share below, warts and all. One snag I hit that I feel I should mention is what I believe to be a mistake in the documentation[1]. I was scratching my head as why org-clocktable-defaults wasn't working, but it was only when I brought u

Re: clock-table and hooking that into org-capture file+olp+datetree

2021-01-30 Thread Richard Lawrence
Hi Christopher and all, "Christopher Causer" writes: >> Note that org-datetree-find-date has a slightly annoying interface, in >> that you need to provide a list of three integers representing a >> calendar date. > > Yes, that is a little awkward. What I did think of using was substrings to >

Re: clock-table and hooking that into org-capture file+olp+datetree

2021-01-30 Thread Christopher Causer
On Sat, 30 Jan 2021, at 12:53, Richard Lawrence wrote: > #+begin_src emacs-lisp > (defun org-update-clocktable-on-date (date) > (save-excursion > ;; open the file containing the datetree: > (find-file (concat org-directory "/diary.org")) > ;; jump to the subtree for the given date: >

Re: clock-table and hooking that into org-capture file+olp+datetree

2021-01-30 Thread Richard Lawrence
Hi Christopher, "Christopher Causer" writes: > Hello everyone! Here's a reasonably easy (I think) question because I'm quite > new to Emacs and org-mode. > > I have an org-capture template using file+olp+datetree[1], which works great > at filing my thoughts for the day. Separately I know I ca

clock-table and hooking that into org-capture file+olp+datetree

2021-01-30 Thread Christopher Causer
Hello everyone! Here's a reasonably easy (I think) question because I'm quite new to Emacs and org-mode. I have an org-capture template using file+olp+datetree[1], which works great at filing my thoughts for the day. Separately I know I can generate clock tables[2] based on dynamic blocks to sh