org-agenda 时钟表省略“0:00”条目

发布于 2025-01-09 05:44:52 字数 2148 浏览 0 评论 0原文

由于我拥有大量组织模式文件,议程视图中显示的默认时钟表对于没有记录时间的文件有很多行,即它们显示为 *0:00*

如何我将时钟表配置为在该文件中没有记录时间时省略表行? 例如,而不是

| File                                      | Headline                                     | Time   |      |
|-------------------------------------------+----------------------------------------------+--------+------|
|                                           | ALL *Total time*                             | *5:14* |      |
|-------------------------------------------+----------------------------------------------+--------+------|
| OrgTutorial.org                           | *File time*                                  | *0:00* |      |
|-------------------------------------------+----------------------------------------------+--------+------|
| bills.org                                 | *File time*                                  | *0:00* |      |
|-------------------------------------------+----------------------------------------------+--------+------|
| books.org                                 | *File time*                                  | *0:00* |      |
|-------------------------------------------+----------------------------------------------+--------+------|
| home.org                                  | *File time*                                  | *0:05* |      |
|-------------------------------------------+----------------------------------------------+--------+------|
 :

仅显示

| File                                      | Headline                                     | Time   |      |
|-------------------------------------------+----------------------------------------------+--------+------|
|                                           | ALL *Total time*                             | *5:14* |      |
|-------------------------------------------+----------------------------------------------+--------+------|
| home.org                                  | *File time*                                  | *0:05* |      |
|-------------------------------------------+----------------------------------------------+--------+------|
  :

Due to the large number of org-mode files I have, the default clocktable shown in agenda views has a many lines for files where there's no logged time, ie they show as *0:00*

How can I configure the clocktable to omit the table lines when no time is logged in that file?
eg, rather than

| File                                      | Headline                                     | Time   |      |
|-------------------------------------------+----------------------------------------------+--------+------|
|                                           | ALL *Total time*                             | *5:14* |      |
|-------------------------------------------+----------------------------------------------+--------+------|
| OrgTutorial.org                           | *File time*                                  | *0:00* |      |
|-------------------------------------------+----------------------------------------------+--------+------|
| bills.org                                 | *File time*                                  | *0:00* |      |
|-------------------------------------------+----------------------------------------------+--------+------|
| books.org                                 | *File time*                                  | *0:00* |      |
|-------------------------------------------+----------------------------------------------+--------+------|
| home.org                                  | *File time*                                  | *0:05* |      |
|-------------------------------------------+----------------------------------------------+--------+------|
 :

Only show

| File                                      | Headline                                     | Time   |      |
|-------------------------------------------+----------------------------------------------+--------+------|
|                                           | ALL *Total time*                             | *5:14* |      |
|-------------------------------------------+----------------------------------------------+--------+------|
| home.org                                  | *File time*                                  | *0:05* |      |
|-------------------------------------------+----------------------------------------------+--------+------|
  :

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

尹雨沫 2025-01-16 05:44:52

这应该可以使用 :fileskip0 t

此处提到更多选项:https://orgmode。 org/manual/The-clock-table.html

This should be possible with :fileskip0 t

More options are mentioned here: https://orgmode.org/manual/The-clock-table.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文