1.1 KiB
1.1 KiB
TODO Update Emacs package count
DEADLINE: <2023-01-04 Wed .+1m>
- State "DONE" from "TODO" [2022-11-26 Sat 07:57]
A small org file to keep track of some metric in a table, see 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 this function.
Press C-c C-c
inside the code block to add a new entry to the table below.
(with-temp-buffer
(insert-file-contents user-init-file)
(list (format-time-string "%F")
(count-matches (rx (seq "(" (? "elpaca-") "use-package" space)))))
2022-11-25 | 140 |
2022-11-26 | 140 |