Add remark for returning lists
This commit is contained in:
parent
6c90fdce02
commit
d7f897c89d
|
@ -55,16 +55,16 @@ Using the idea of evaluating code on state changes [[id:3be8333e-7a47-4251-8ee4-
|
|||
|
||||
#+begin_src org :tangle gists/track-use-package-over-time.org
|
||||
,* TODO Update Emacs package count
|
||||
DEADLINE: <2022-12-26 Mon .+1m>
|
||||
DEADLINE: <2023-01-04 Wed .+1m>
|
||||
:PROPERTIES:
|
||||
:LAST_REPEAT: [2022-11-26 Sat 07:57]
|
||||
:LAST_REPEAT: [2022-12-04 Sun 10:56]
|
||||
:ON_DONE: (org-babel-execute-subtree)
|
||||
:END:
|
||||
:LOGBOOK:
|
||||
- State "DONE" from "TODO" [2022-11-26 Sat 07:57]
|
||||
:END:
|
||||
|
||||
A small org file to keep track of some metric in a table, see [[https://orgmode.org/manual/Results-of-Evaluation.html][Results of Evaluation]] in the Org mode manual for more information.
|
||||
A small org file to keep track of some metric in a table, see [[https://orgmode.org/manual/Results-of-Evaluation.html][Results of Evaluation]] in the Org mode manual for more information. It's important that the function is supposed to return a list in order to record the result as a table row.
|
||||
|
||||
In this case, count the number of packages in my Emacs init file. It is executed automatically when the task is marked as done, using [[https://apps.bram85.nl/gitea/bram/gists/src/branch/main/gists/evaluate-code-on-task-state-change.org][this function]].
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
* TODO Update Emacs package count
|
||||
DEADLINE: <2022-12-26 Mon .+1m>
|
||||
DEADLINE: <2023-01-04 Wed .+1m>
|
||||
:PROPERTIES:
|
||||
:LAST_REPEAT: [2022-11-26 Sat 07:57]
|
||||
:LAST_REPEAT: [2022-12-04 Sun 10:56]
|
||||
:ON_DONE: (org-babel-execute-subtree)
|
||||
:END:
|
||||
:LOGBOOK:
|
||||
- State "DONE" from "TODO" [2022-11-26 Sat 07:57]
|
||||
:END:
|
||||
|
||||
A small org file to keep track of some metric in a table, see [[https://orgmode.org/manual/Results-of-Evaluation.html][Results of Evaluation]] in the Org mode manual for more information.
|
||||
A small org file to keep track of some metric in a table, see [[https://orgmode.org/manual/Results-of-Evaluation.html][Results of Evaluation]] in the Org mode manual for more information. It's important that the function is supposed to return a list in order to record the result as a table row.
|
||||
|
||||
In this case, count the number of packages in my Emacs init file. It is executed automatically when the task is marked as done, using [[https://apps.bram85.nl/gitea/bram/gists/src/branch/main/gists/evaluate-code-on-task-state-change.org][this function]].
|
||||
|
||||
|
|
Loading…
Reference in a new issue