org-archive-subtree with ":action" works only the first heading
未關閉
discussion
help wanted
- 主要語言
- Emacs Lisp
- 星號
- 1.6k
- 分支
- 120
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hello,
I'm trying to do the following: find the headings that have passed (no matter the conditions to find them, just make a query that returns two different headings to do the test)
Once these headings are found, I want to archive them. So I have a command that looks like this (with ":action"):
```
(org-ql-select (org-agenda-files)
'(and
(rifle "heading to test")
(scheduled :to today)
(ts-active :to today))
:action '(org-archive-subtree)
;; try this too, same result
;; :action #'org-archive-subtree
)
```
Unfortunately, only the first heading is archived, and I don't understand why.
Thanks in advance for your future answers
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。