From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SA5mEaVAUmP+OQEAbAwnHQ (envelope-from ) for ; Fri, 21 Oct 2022 08:48:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yFS+EKVAUmM0bAEAG6o9tA (envelope-from ) for ; Fri, 21 Oct 2022 08:48:05 +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 E6B9C2B3F7 for ; Fri, 21 Oct 2022 08:48:04 +0200 (CEST) Received: from localhost ([::1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ollp4-0004vQ-LD for larch@yhetil.org; Fri, 21 Oct 2022 02:48:03 -0400 Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ollih-0002rR-Q6 for larch@yhetil.org; Fri, 21 Oct 2022 02:41:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olliX-0002hO-BD for emacs-orgmode@gnu.org; Fri, 21 Oct 2022 02:41:17 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olliV-00044X-CJ for emacs-orgmode@gnu.org; Fri, 21 Oct 2022 02:41:17 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CC5AD240101 for ; Fri, 21 Oct 2022 08:41:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666334472; bh=8d0P2wXiqwA8fHRPup4FJr02nGQzcWZKiQNKG6vSQjA=; h=From:To:Cc:Subject:Date:From; b=E0oKD8X4WjXfd/EBwkf37zP7Zqu0sttsnbBG+emOCBpJ2X4aeeiXUCGd6qIyXAMuP b70v7JnpnMK5qfOVjgn0kk1bw+6LMcE2HqJfoOwfYqQY14oDj6mp5BEYru8EW6yFrh SJ5MmW2XEoSbclB3r88OwhzDs6kH5NMzuNRqx057wRyWLHj3u39zNzdxdw3w0Pze2g 44rn59XhALYuo3iAJgfPwBq08GNCOPrwWczd0OHI5uAJCWakE8YiIwmpVLL6LTmt+D V1q9SbxWnag0+BUk5aHVMe9Ab0SnOOPzq4OtBg6bUipgjzbEi86qR3m0CoTxX2F6M+ PNPxHt2DI2GQQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mtvxf5Cqpz9rxX; Fri, 21 Oct 2022 08:41:10 +0200 (CEST) From: Ihor Radchenko To: Stefan van der Walt Cc: emacs-orgmode@gnu.org Subject: Re: Export of deadline status via ~org-batch-agenda-csv~ In-Reply-To: <3aa1514b-a784-4f79-b1d3-7181c125057a@www.fastmail.com> References: <3aa1514b-a784-4f79-b1d3-7181c125057a@www.fastmail.com> Date: Fri, 21 Oct 2022 06:41:55 +0000 Message-ID: <875ygd65l8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666334885; 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=jYqZO3xoHsHokp+89ohutt0xDt8y4nXHvgCUg78MuUk=; b=hqX0ARl0ik8aLuhUgYT1LcTfRV57ILWgHUrQhpvnuMm0kQky8VvQYx8W55D9tTRj84JGRi 4/1q2d6HS+d2lhG9ufVFr056BZqBOoMG0SZUvbmNdXxFSCNKoCgNHJW+JUI042DTmyo4z8 qGgD/+eGRsi/TvOLmK1Qo4uPCSP2YBta3+6c1m9tw4wg28pL2bgnihkT/yoBDtdm8lAzbz ZdLxQIO3vCyTLqZTdkYws6MRlWrsXX2HLeWWZPrxii79xumASaFuwN7EDmtv6jQzKh16AN gMks5FbvjbAcgxy2che/NXOyVXLydjuA7LBv5AaIHWWIIdaesNuwrQMg7vXkDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666334885; a=rsa-sha256; cv=none; b=XlIr8ELqZ3H0+bnvo0ujCta55bhdNLdYp7MGo76q/2+bgXQTEsI5CPin9sxvS1q4SfadQT nksWCVhIZz7u6q4A+t0hhVvs0usVaF15Z0iM3RZNbUqa3AAd/eOCPkk/KEm2rv9DL9u8Ky /1/lX8IJGJpZeGoyIokZ7mMLByWDBSkWQaVLQ7SNVWGOiWUWxnT0rmYytMI/LIJX09zc7h W0kgzxzfnRR+jaGNJsZJ6WZtEx4OcnciwUbwAFVpVIshhTt5ofnCSv7lzqZDHf00NkJ0bW 9z3ywR5bwRpnIUOHmpb7Q41kWNoVsqIXezoNaHr+QyWrUVOlQCNSSDzre3y7Hw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=E0oKD8X4; dmarc=pass (policy=none) header.from=posteo.net; 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: -6.94 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=E0oKD8X4; dmarc=pass (policy=none) header.from=posteo.net; 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: E6B9C2B3F7 X-Spam-Score: -6.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3pR8g/IzZQml "Stefan van der Walt" writes: > I am trying to process all of my TODOs in a script, and therefore use ~org-batch-agenda-csv~ to export them to CSV. > > I am running into two problems: > > 1. It seems to be impossible to get deadline/schedule information for tasks that have been marked as DONE and > 2. There exists a ~type~ value ~past-scheduled~ for when a task's scheduled date has been missed, but there is no equivalent for ~past-deadline~. > > (See =org-agenda.el=, docstring for ~defmacro org-batch-agenda-csv~). > > I think (2) can be fixed fairly easily by adding a "past-deadline" type. I'm not sure how to address (1). Any thoughts? Sorry for the late reply. Could you please provide more details? It is not very clear for me what you are trying to achieve. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at