6

在 Emacs 的 Org 模式中,我如何制作一个时钟表来显示所有具有Effort 估计值的项目,而不仅仅是那些已经计时的项目?

提前致谢。

4

2 回答 2

3

尽管不完全是您想要的,但我在邮件列表中找到了此解决方案:

#+TITLE: BIRD
#+COLUMNS: %50ITEM(Task) %Effort(Estimated){:} %CLOCKSUM(Clocked) %5TODO(State)

* Effort
#+BEGIN: columnview :hlines 2 :id "756fcb74-2e46-4757-82b8-461ed30a5f11"
| Task                                                | Estimated | Clocked | State |
|-----------------------------------------------------+-----------+---------+-------|
| User Stories                                        |     54:00 |    1:24 |       |
|-----------------------------------------------------+-----------+---------+-------|
| UI                                                  |        48 |    1:24 | DONE  |
| Remove Company, Street, Place, Country again        |           |    1:24 | DONE  |
|-----------------------------------------------------+-----------+---------+-------|
| Check preconditions                                 |         6 |         |       |
| Check hw preconditions: hard disk, core memory, etc |           |         | DONE  |
#+END:

* User Stories
  :PROPERTIES:
  :ID:       756fcb74-2e46-4757-82b8-461ed30a5f11
  :END:

** DONE UI [11/11]
   :PROPERTIES:
   :Effort:   48
   :END:

The user wants to have a familiar UI. Should look like xxxx,
etc. The user wants to be entertained within his or her monkey time.

[2012-06-25 Mon] Extended: Show every parameter on its own page.

*** DONE Remove Company, Street, Place, Country again
    - State "DONE"       from "OPEN"       [2012-07-17 Tue 09:51]
    - State "OPEN"       from "TODO"       [2012-07-17 Tue 08:27]
    CLOCK: [2012-07-17 Tue 08:27]--[2012-07-17 Tue 09:51] =>  1:24
    [2012-07-16 Mon]

- Am [2012-07-16 Mon] so mit xx besprochen

** Check preconditions [4/4]
   :PROPERTIES:
   :Effort:   6
   :END:

The admin wants only certain user classes in certain circumstances to
be allowed to trigger reinstallations. The admin wants the user to
migrate only clients, that she is logged in into. If the
reinstallation is not allowed, inform the user in an approbiate way
and abort. 

- Check dispersion of load
- Check user class (FF, XX, TT, etc) if allowed to reinstall
- Check if computer is allowed for reinstall 

*** DONE Check hw preconditions: hard disk, core memory, etc
    - State "DONE"       from "TODO"       [2012-07-17 Tue 09:21]
    [2012-07-09 Mon]

- Escript periodically retrieves values on client and sets computer property
- user.ps1 check computer property

它在一个具有 Effort、Clocked 和 State 列的块中使用列视图。ID 用于定义列视图应捕获的子树。您还可以指定global或最适合您的。

于 2019-01-02T14:40:44.713 回答
0

您可以使用:properties(更多信息在这里)。

所以,它会是这样的:

#+BEGIN: clocktable :scope file :maxlevel 2 :properties ("Effort")
#+END:

您会注意到“努力”将出现在时钟表的第一列。如果这是一个问题,您可以使用此处描述的解决方案(也可以使用:formatter

于 2021-09-03T17:28:19.203 回答