[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Alternatives to clocking in/out for reporting time
From: |
Samuel Wales |
Subject: |
Re: Alternatives to clocking in/out for reporting time |
Date: |
Sun, 10 Jul 2022 16:09:49 -0700 |
On 7/10/22, Ihor Radchenko <yantar92@gmail.com> wrote:
> Every agenda line, which corresponds to a headline contains a non-nil
> 'org-hd-marker text property. In log mode, there will also be non-nil
> 'date and 'time-of-day text properties. You can examine the full list
idk if this is helpful but at one point long ago i /seemed/ to
occasionally need to do the following.
(or (get-text-property 0 'org-marker s)
(get-text-property 0 'org-hd-marker s))))
;;do this to get to the org outline buffer from the
;;agenda buffer if you need other data that org-entry-get
;;cannot extract
;;
;;(b (and m (marker-buffer m))))
;;; (if b
;;; (with-current-buffer b
;;; (goto-char m)