From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gI/bN3Ncy2ILxgAAbAwnHQ (envelope-from ) for ; Mon, 11 Jul 2022 01:10:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wCrxN3Ncy2J1mAAAauVa8A (envelope-from ) for ; Mon, 11 Jul 2022 01:10:43 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7CF2835E6A for ; Mon, 11 Jul 2022 01:10:43 +0200 (CEST) Received: from localhost ([::1]:41944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAg4Y-00058t-No for larch@yhetil.org; Sun, 10 Jul 2022 19:10:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAg3l-00058h-Vz for emacs-orgmode@gnu.org; Sun, 10 Jul 2022 19:09:54 -0400 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:39819) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAg3k-0005oo-Ej for emacs-orgmode@gnu.org; Sun, 10 Jul 2022 19:09:53 -0400 Received: by mail-lf1-x133.google.com with SMTP id e12so6057153lfr.6 for ; Sun, 10 Jul 2022 16:09:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JXRRDa6ymORp6qsN+hr2nm9D31gZJXmWvtuyIIVYz3E=; b=bR4m1HM4ieVKrayIPmJweMG8VuKdTKRShC6c6S9U0cRO3OEZz1CMNHyVsbkWcUeRL+ un7rZOHqisS22zx3hW24/2YG11ohXf0VJZpYvQjmO++iF54FTSm0Io0hZ0iDlxgyu95x zDC21xNPeskfXXEDnJLm3bG3NowwFEAkmiy3DDQkG4VFvHJABC54J5fqmcLtEux3Tez4 azXJmgg0ebZ2XUuFuWLRJoevKfEaUOc0/6Ozv/mJMPg63Jj4grbJdCdRzqtc2DfXGKjA sI/KQ8F25/66I4Kz9mYNehhhb2eM3T1S39ouP4k/TxUIlzBeHWlMe+/xgiINcKKtCm4j 7y6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JXRRDa6ymORp6qsN+hr2nm9D31gZJXmWvtuyIIVYz3E=; b=OGhPyuvLAmNp/pOQEAFtr0qMJto0r6qb0QWRxkxof1ro8gJLsi1QmKQ4LomQpq5f1i 6LHQqJEGILCy9wIhfcvoVzeeMX68PCAPRGQmAwlisEIqVLb7zbHqHxoZ/9ev/2YQI7Q4 6K9eiYNxRWUQ1AmHQj3xljE6eyQNUjHTw5E+RUucd6Tj4c/Inmez1+Vfe7pscXr+RXXe t9sz2qIT9ZAuMUD9L5XJcnpbtbHS7Adx6YsV2nhys//nmFp0v3Y0Yihv0RH06Yv2audv plOpuFHbcBlNbLpbkigYPkPBCpIMzTrbm+WnqDcRWMPoUBWK/KWYemafxYmBSR0OPV02 HZww== X-Gm-Message-State: AJIora8JIhWDsHDMTIM8eBZXA4WD92apB7nu8BTGIAHKRXpF6BDyGzpx jMwnNlGRU4LXIb+T/uKGJ5JKIdQVUeA+/bIHVdA= X-Google-Smtp-Source: AGRyM1tRCj/SISyJuziglxXGPloBnCtmBa9tVCcAEfKJq6OUxpaV5uk0EZLE1h9BPsIC7VB6peG9YnGLfdQ1dM411e0= X-Received: by 2002:a05:6512:169b:b0:47f:6567:c196 with SMTP id bu27-20020a056512169b00b0047f6567c196mr9659465lfb.589.1657494590588; Sun, 10 Jul 2022 16:09:50 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6520:2432:b0:1f7:d9f7:61a with HTTP; Sun, 10 Jul 2022 16:09:49 -0700 (PDT) In-Reply-To: <87a69huxfm.fsf@localhost> References: <87let42il3.fsf@localhost> <871quv9bpm.fsf@localhost> <87a69huxfm.fsf@localhost> From: Samuel Wales Date: Sun, 10 Jul 2022 16:09:49 -0700 Message-ID: Subject: Re: Alternatives to clocking in/out for reporting time To: Ihor Radchenko Cc: Russell Adams , emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=samologist@gmail.com; helo=mail-lf1-x133.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657494643; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=JXRRDa6ymORp6qsN+hr2nm9D31gZJXmWvtuyIIVYz3E=; b=FSoGEm+/DKA0aheip3H6ia+LPTnzuQdAHBsNt74NFY80ZSML8CBY73PKUJV0Pa58k/UZ7k 1+99oNMjiuX+Myjh0X52/4jmwmnoTnoVYgB19Aj9gUuuGap5gY4sRF2tzdCnJ2XgQ3/sAz jkNEKckv+bmAAekKis472wvphTUYcLPkYCgdX7JjuZfZzjuPDjv+Y/miPr2xqv8OauDwhp mnowAhr1g2uS5H6I+1X3fJOSr+U148hV0qfGyxkr8hqdIIFhIgk9qOEtLQQsY9Orf6CW6G 6bIQICm8yo4C4aMnYGrQWdWUk00pT//7U6jN3tnWGkNRj2vQD5Vq+2QXuJos8g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657494643; a=rsa-sha256; cv=none; b=Sgtncx0XZeYHV4aUwjIOEDEYC42mMmJ5/oSV77RngUzwlPpWUYj3Vhft535HO1GvHaqBHx J8a4Gjeb80+rLVOfPGhgbYCfZj92FiJDv6lIaLXRkfe1Mmb4nkQUuzI96HouGWpCb3NIVN nCtk/wtvQ3Ex0IQrjWu9I87yJYetId6QJs4DbX4bjRpQeI7ZebaQtOvThHVEg4Shax1U7q opkpy/Ssr0RLOk/xCZbwlTN5zSU4PFpDQeKkqGIHMIOUfRV+i82uS/bV4ne5SrewWhPrrT o+QSGBAckTMpy2jFpaKl3+hIaonvbpeTMsE+26coUweeOZ+zhrcN81szggNxjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bR4m1HM4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bR4m1HM4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7CF2835E6A X-Spam-Score: -3.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: YB4anlhtAnq2 On 7/10/22, Ihor Radchenko 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)