emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* dynamic block :block thismonth seems not correct
@ 2018-11-02  6:58 stardiviner
  2018-11-04  7:27 ` [SOLVED] " stardiviner
  0 siblings, 1 reply; 2+ messages in thread
From: stardiviner @ 2018-11-02  6:58 UTC (permalink / raw)
  To: org-mode

I have this two dynamic block:

```
** REPEAT Weekly Org-Agenda Review                     :fragment:
SCHEDULED: <2018-11-03 Sat .+1w>
:PROPERTIES:
:LAST_REPEAT: [2018-10-27 Sat 16:09]
:END:
:LOGBOOK:
- State "DONE"       from "REPEAT"     [2018-10-27 Sat 16:09]
- State "DONE"       from "REPEAT"     [2018-10-04 Thu 18:10]
- State "DONE"       from "REPEAT"     [2018-05-23 Wed 12:49]
- State "DONE"       from "REPEAT"     [2018-05-03 Thu 18:53]
- State "DONE"       from "REPEAT"     [2018-02-19 Mon 20:24]
- State "DONE"       from "REPEAT"     [2018-01-26 Fri 19:15]
- State "DONE"       from "REPEAT"     [2018-01-13 Sat 10:23]
:END:

#+BEGIN: clocktable :maxlevel 5 :scope agenda-with-archives :block thisweek :fileskip0 t :indent t
#+CAPTION: Clock summary at [2018-11-02 Fri 14:17], for week 2018-W44.
| File                       | Headline                                         |    Time |       |      |
|----------------------------+--------------------------------------------------+---------+-------+------|
|                            | ALL *Total time*                                   | *1d 6:43* |       |      |
|----------------------------+--------------------------------------------------+---------+-------+------|
| Computer Todos.org         | *File time*                                        |      ** |       |      |
|                            | Computer Todos [8/24]                            |    0:07 |       |      |
|                            | \_  Setup database for Backup Disk...            |         |  0:07 |      |
|                            | Downloads [6/62]                                 |    1:24 |       |      |
|                            | \_  Download E-Book [2/36]                       |         |  1:24 |      |
|                            | \_    record to Org all issues "OFFLINE" 离线... |         |       | 1:24 |
|----------------------------+--------------------------------------------------+---------+-------+------|
| Code.org                   | *File time*                                        |      ** |       |      |
|                            | Config [15/42]                                   |    0:12 |       |      |
|                            | \_  Firefox can't input Chinese [3/3]            |         |  0:12 |      |
|                            | Code [20/69]                                     |    0:59 |       |      |
|                            | \_  parse my accounting (随手记) data [11/21]    |         |  0:59 |      |
|                            | Issues [14/49]                                   | 1d 1:31 |       |      |
|                            | \_  Org export to iPad Clojure...                |         | 23:20 |      |
|                            | \_    ox-epub export inline image error [1/1]    |         |       | 2:28 |
|                            | \_    ox-epub exported source block has big...   |         |       | 4:51 |
|                            | \_  Elpy can't get code completion on...         |         |  0:05 |      |
|                            | \_  hl-sexp is disabled when in Edebug [7/8]     |         |  0:02 |      |
|                            | \_  org coderef does not support use file...     |         |  2:00 |      |
|                            | \_  Conky invalid file or directory [7/8]        |         |  0:04 |      |
|                            | Features [30/138]                                |    0:07 |       |      |
|                            | \_  company-sclang: configure sclang for...      |         |  0:07 |      |
|----------------------------+--------------------------------------------------+---------+-------+------|
| Learn Programming Plan.org | *File time*                                        |      ** |       |      |
|                            | Crack                                            |    2:23 |       |      |
|                            | \_  Reverse Engineering [0/0]                    |         |  2:23 |      |
|                            | \_    Binary/Hex Editor parsing binary file...   |         |       | 2:23 |
#+END:

** REPEAT Monthly Org-Agenda Review
SCHEDULED: <2018-11-04 Sun .+1m>
:PROPERTIES:
:LAST_REPEAT: [2018-10-04 Thu 18:10]
:END:
:LOGBOOK:
- State "DONE"       from "REPEAT"     [2018-10-04 Thu 18:10]
- State "DONE"       from "REPEAT"     [2018-05-04 Fri 11:38]
- State "DONE"       from "REPEAT"     [2018-02-19 Mon 20:28]
- State "REPEAT"     from "TODO"       [2017-12-21 Thu 15:29]
- State "DONE"       from "REPEAT"     [2017-12-02 Sat 21:01]
:END:

#+BEGIN: clocktable :maxlevel 5 :scope agenda-with-archives :block thismonth :fileskip0 t :indent t
#+CAPTION: Clock summary at [2018-11-02 Fri 14:41], for November 2018.
| File                     | Headline                                       | Time |      |      |
|--------------------------+------------------------------------------------+------+------+------|
|                          | ALL *Total time*                                 | *8:18* |      |      |
|--------------------------+------------------------------------------------+------+------+------|
| Code.org                 | *File time*                                      | **   |      |      |
|                          | Config [15/42]                                 | 0:11 |      |      |
|                          | \_  Firefox can't input Chinese [3/3]          |      | 0:11 |      |
|                          | Issues [14/49]                                 | 7:43 |      |      |
|                          | \_  Org export to iPad Clojure...              |      | 5:43 |      |
|                          | \_    ox-epub export inline image error [1/1]  |      |      | 0:52 |
|                          | \_    ox-epub exported source block has big... |      |      | 4:51 |
|                          | \_  org coderef does not support use file...   |      | 2:00 |      |
|--------------------------+------------------------------------------------+------+------+------|
| Programming Projects.org | *File time*                                      | **   |      |      |
|                          | Web Scraping (Crawler) [5/30]                  | 0:24 |      |      |
#+END:
```

But don't know why the second month clocktable `:block thismonth` is not correct. Obvious the first week dynamic block is much more than second month dynamic block. So I think there is problem here.

-- 
[ stardiviner ]
       I try to make every word tell the meaning what I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
      

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

* [SOLVED] Re: dynamic block :block thismonth seems not correct
  2018-11-02  6:58 dynamic block :block thismonth seems not correct stardiviner
@ 2018-11-04  7:27 ` stardiviner
  0 siblings, 0 replies; 2+ messages in thread
From: stardiviner @ 2018-11-04  7:27 UTC (permalink / raw)
  To: org-mode


This is because my today limited scope in :block thismonth.

-- 
[ stardiviner ]
       I try to make every word tell the meaning what I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
      

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

end of thread, other threads:[~2018-11-04  7:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-02  6:58 dynamic block :block thismonth seems not correct stardiviner
2018-11-04  7:27 ` [SOLVED] " stardiviner

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