New answers tagged


Have a look at org-clock-remove-empty-clock-drawer. It uses org-map-tree and a regular expression based on org-clock-drawer-name to find the :LOGBOOK: drawers. You can use the same logic to get point to the start of :LOGBOOK: and then handle all CLOCK: entries on a line-by-line basis. To parse the timestamps, you can use org-ts-regexp-both and org-element-...

Top 50 recent answers are included