From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IB/nAaQ0lV4dCAAA0tVLHw (envelope-from ) for ; Tue, 14 Apr 2020 03:57:24 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id EDwpA6c0lV7CZwAAbx9fmQ (envelope-from ) for ; Tue, 14 Apr 2020 03:57:27 +0000 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 aspmx2.migadu.com (Postfix) with ESMTPS id 0C4D0681D0D for ; Tue, 14 Apr 2020 03:57:24 +0000 (UTC) Received: from localhost ([::1]:52182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOChP-0007GN-6X for larch@yhetil.org; Mon, 13 Apr 2020 23:57:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34881) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNieN-000109-D1 for emacs-orgmode@gnu.org; Sun, 12 Apr 2020 15:52:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNieM-0002Uo-E4 for emacs-orgmode@gnu.org; Sun, 12 Apr 2020 15:52:15 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:41048) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNieM-0002Tq-8d for emacs-orgmode@gnu.org; Sun, 12 Apr 2020 15:52:14 -0400 Received: by mail-pg1-x52c.google.com with SMTP id h69so1047305pgc.8 for ; Sun, 12 Apr 2020 12:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=/UhoqKpvGI/o4+hapQfmVR5aZihH4Wh5HrITyvKzT38=; b=upBMjPKbdjVSMGnRmTD9XcFuS5PEX7AJ+fLs/KL11xnxLU3sJb7CspIz4ZPuBtOCbs kTxC8xaaLZf/V2FUSvUodQmcTU2d/fvV3VZpKJMcQgRIA2TNTHRdXZmt9mIo5hAHy3hU cOOQU73ZLhSytvbwRl9J7eR7loS5LvCTCnlVDCX/87BPFj+khO30Rplk2u0A61vBCKH7 q1eGmeW0oGLzIptSos/czN3vI+jGCEMvAklVPTVkPXBX76fP+etnpjhftVVoKr7zJy8Y XgntE/WmTKDW1Bv74kOoz+isG1KNddWnByWS0n9H0UFVepivBYU94TqVFvz+MMZVWSbg edSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=/UhoqKpvGI/o4+hapQfmVR5aZihH4Wh5HrITyvKzT38=; b=Wn58tCGTCCRoGMUu/pUJut8pYzuftyqbl+Qf5cQqAHDWi2IuDINCOUgut5YUhSAdbM g2SJmPG9gsovVh3X1/JYdcZPHAgedTG/kStdR0kNokatR/HaPgWYA92WBFsGZHOikc3a GBBdf3bPnQB/F+y+dEUiptk6XbxW85mqL76XekYhU9o1ZLzTq1XPregXEl8gD28dgdWO StS28EwP3DvMjA+WKdiF1kiS4CJDkjtN/gwPA3RNofw05N/BKX7cvWV2F3KxtW4Bw4XJ UO/nXuUrka55VX/wDrzZJDylFU+ZMeP0IM/JXwBLTQKAyTfSZvJg8KB/6Dtf7T9EyhOL qQlQ== X-Gm-Message-State: AGi0PubaNVFYigtNHGcjD8H1MfvH8RVtxqGvpLhJHKpZ2e350kO81vc3 V8GXmrD7YwW6qh0Dq5SuDxDBM4wO X-Google-Smtp-Source: APiQypI7GXOr60sqH0JqrNQVNLmntk0hgQGJZgw2x1kSIX53jzseKeVj5z3uesMgnqNJ52RZf5YszQ== X-Received: by 2002:a63:8642:: with SMTP id x63mr11279791pgd.338.1586721132802; Sun, 12 Apr 2020 12:52:12 -0700 (PDT) Received: from ?IPv6:2601:600:c480:b2a:98ca:4708:5267:d82b? ([2601:600:c480:b2a:98ca:4708:5267:d82b]) by smtp.gmail.com with ESMTPSA id x4sm6860438pfa.191.2020.04.12.12.52.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Apr 2020 12:52:12 -0700 (PDT) To: emacs-orgmode@gnu.org From: Samuel Maynard Subject: custom props in `org-agenda-get-scheduled` Message-ID: Date: Sun, 12 Apr 2020 12:52:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52c X-Mailman-Approved-At: Mon, 13 Apr 2020 23:56:52 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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-Scanner: scn0 X-Spam-Score: -0.71 Authentication-Results: aspmx2.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=upBMjPKb; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx2.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-0.71 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.57644282188479]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.28), country: US(-0.01), ip: 209.51.188.17(-0.58)]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; DATE_IN_PAST(1.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_NEQ_ENVFROM(0.00)[samwmaynard@gmail.com,emacs-orgmode-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[emacs-orgmode@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_SEVEN(0.00)[7]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: H0wD7QO8mkxZ Hi all, First time on the mailing list. Been using org-mode for about half a year. I'm trying to add a custom display to the agenda view, similar to org-habit. I'm want to pull information from a task's `:LOGBOOK:` drawer and display some stats next to the item in the agenda view. I've written the code that parses the stats I'm interested in, but I can't seem to figure out how to show them in the agenda. Looking through the org-habit code it seems I need to first use `org-add-props` (or `add-text-properties`) to add a custom `text-property`, which I can then process in an `org-finalize-hook`. The problem is that there doesn't seem to be any hook available for me to add a prop during the agenda creation process. Am I missing something? Or do I just need to modify `org-agenda-get-scheduled` directly? Thanks, Sam