From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0OdWIx2RR2FUUgAAgWs5BA (envelope-from ) for ; Sun, 19 Sep 2021 21:35:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MF3HHh2RR2G8ZgAAbx9fmQ (envelope-from ) for ; Sun, 19 Sep 2021 19:35:57 +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 aspmx1.migadu.com (Postfix) with ESMTPS id ABF7119ACB for ; Sun, 19 Sep 2021 21:35:56 +0200 (CEST) Received: from localhost ([::1]:55990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mS2bS-0001FO-5d for larch@yhetil.org; Sun, 19 Sep 2021 15:35:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mS2aN-0001Dx-WF for emacs-orgmode@gnu.org; Sun, 19 Sep 2021 15:34:48 -0400 Received: from sonic301-35.consmr.mail.ne1.yahoo.com ([66.163.184.204]:45384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mS2aM-0002KR-5F for emacs-orgmode@gnu.org; Sun, 19 Sep 2021 15:34:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pacbell.net; s=s2048; t=1632080082; bh=sT2b4x1Znc+kbBYQMSKagtgqfeb6ukbxvnt2Q677O8Y=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=hJJ0kuL4yCnU36CU1CWkT5izj8r+hkChmfwLlOlacI2IrACvgALsWQMvwFr20Fh4aZTL64sZRNDnXt6ohHjPOwczcvl+ppVPYB/jC0GXCSqBFKMC6wfzA2kr7TCYzidD1M6Pxo2uiX/JICXDlk63C4ntblaMI3KIloniS528sjHSk6rHNivrqUQoL27LEoaJC343Qxb58JHP9B1IVE30v0Ux8zerEqO9TOLT0ouWFQvQMe/uWLqy2+6x8mOtPfShjMhTQj55NZnQKBuz5PwVNiBi3PAxyoSE/l/NAMG4k1YgW1AA7Gb8+19eT+HXa8BZsg7gczxrp+FUd+hvbXfTOA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1632080082; bh=0MmTaAI0TsfeEHooal50VZ+1dUSnbgrBNjnoOHewCZI=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=VCIfdAJmoNqKRzJjkXKnvweSOmnfsHgDVLt9aA6+i2ykVp4EMfx+RmZCskD/Lxpyzbzxf30o83bHmQdrve25HBSy30fW/gS8MKHHoTtK3Bs3wYoBJcDYJbJlCcdA04iTP4aa0yowFN6eYyJcoKQ8GiX+SxX0pYhuXBppiQd1xC0LFYu9CnN/htKLhjm706Qsj9xTclnb6jpwfwlmKGcvazCxtqsoEzmOLyCsx+qbDJKNjDxIkGzmvflqHQ0ua+m7wtUR8h0oEolAI9QC/xuJ2ZVqRl/BhpsdEYscctnZ2rHBhYe3VqHx97fRldgn9ZTA+BKIfcAA9wZgkiI1b4wsWg== X-YMail-OSG: AONHmHUVM1nFIa5tsScWflK1gNBSedMlFHwQL.P6SX9lkDyQyLQl46hOBbDkApV ORiH7ib4BnrU.kFD2T4nrC2tgrUifAFMooGEz6W8lGYhwYoIvIJsAwRRkMcpLwuaH5HqiYCeJnDk rLplNCLK2t4ZT.3G7voY_nZ8d4t94EtLHBBZVSYdkeEeOzbyHTMmMj9Oste6SCOGJVJXjOGYw8SY j0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Rf9Af7qzMviLkAMZXw8LHzdLcH2L17Q1wCsq0JtmvtftzT5ynTp uFEyEy6_Vrb8vSNrEfjYCYfJhHATzN9dTGA15tDwwsX_6uzhdRvXP_h43ccJjVe2_UueS3FTmCtl QH9M.hzmngzbfM2DaPpd8FgnYrZYrPQiyQba9B26.F5csFSNG5_SC_f0GR7NuPybvccW.eqM4jjJ JTgUI7BImu73fAd9hAFZM5_g4X6nJGJRRos_1bLY503OhtLdt4HjOQEJ.lDIJhvCuFGgIUkCHMBF G3Ah37uGu_3_yh2qfAMncM29jt.Py4YysSg.N9AX3Zk5NSXHHhkXNXkrAEGu01_jJe5vU9AovphZ OiZ2HOYYNrtMhg.lXGKl0IVLVs5y.YlKbCIXcivbXiXrSSKAUAskTTTqvzNfWA0C0npic7DrM4iA xFtYrK5IMAmJqQnsio3eOFsnoWxaKRJS4T7Q9UqJQoC9tCcf7IujLrxJzacOBYqkjTdjIqe0suz7 vqgh1x48sSSGGG7XWo14pDFcYfl_uUjl.X7E0LU7Gy.KMQmn2mZVvqOmIL6UgYx0vDqXAadKJf0F HFtwZvduFMICEQrXfbgeri3gmFgCyFW5KMlRO9US4ndO.NVeUZc7rGw8OxcM0H564iwYazfqGbap 7iCbof5PVYQBNK1HWiscRy5kNu2tXClP3_K1CVWIDHu4XBJDZyxxojlcfNfY6mQiH0PoOvTvatrw JIUNkFnhv8k_emG_L3lhyeIpqevOS1aQCLKyGLuCJFxNOIC0j.VgDVrkgYOFtE_NWXdeU0jpRH7v .DbQh64djmRlw18XlUsSb3mP_KSqM04pRsFGW9gn3romhMkx4tOiQRlA8flx1.2AL9qYHXxenk4k Xiwh5L2rdWIm6ishhm2Q.fxtqbJN46y39Bze1Hgfq0g0xKbRQvn1qNw4DV5oOk7j5qczbIPt84xH tDfrK5q.bQU.NGN8vaUPt7Swh7109sWq9XucvjwO8tROnKQ-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Sun, 19 Sep 2021 19:34:42 +0000 Received: by kubenode510.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 664be08071d76efcc04c1be353e2abd0; Sun, 19 Sep 2021 19:34:39 +0000 (UTC) User-agent: mu4e 1.7.0; emacs 28.0.50 From: JG To: emacs-orgmode@gnu.org Subject: Extending org-batch-agenda-csv to include location property Date: Sun, 19 Sep 2021 11:50:09 -0700 Message-ID: <87pmt4cqb5.fsf@pacbell.net> MIME-Version: 1.0 Content-Type: text/plain References: <87pmt4cqb5.fsf.ref@pacbell.net> X-Mailer: WebService/1.1.19013 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: none client-ip=66.163.184.204; envelope-from=jerzor@pacbell.net; helo=sonic301-35.consmr.mail.ne1.yahoo.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632080157; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=sT2b4x1Znc+kbBYQMSKagtgqfeb6ukbxvnt2Q677O8Y=; b=OeKYpHYY3Iw/a56s51ndZ0HQN3Jl40b7akDYPFzQfOdtvI36ENigupSIaK1feg2QvhEaU4 Pfn98O88BwggHbL9pzWbOKim2tozhDJe3M9GSsm6jChzqes9Fed0HsH2YpatDQNgra+52l uA1LvF8o+6yclZzvKtmmrlo/rmXasDt/3STzQ6834JMDOeVEe1zNvxukOCM52VVAwNJ/T6 pheTsGdHZExLKFak5qRWc9CcbiWcURDC2EDHPQ6lMn/9Utu2v4qhHl7flh9jaApTGBKb73 tpx1B2q94fjwVUKadfbKAlWR9LzWwQGxYQglJo/l/qw9Yi09jWeFh2Re71molA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632080157; a=rsa-sha256; cv=none; b=OqWdgQKCHQyFxe1o+SVMGKz3OUbHWYB608rCJpMSvk4jcZqBWzPLfnYfH2qdtLWOTW0h8w odOPzuVXDFu62+7Fk3rfHSe7lo/A5lsb4GGHvtGeYLN1yxIBU/oDKzF+cO/up1Qth7EEQO tUmRTCl6T13N87zlohgybOBlyBkQS8iVl3s6LEe0S8useypjP471MM5YipZLltpmMwWPLb nZNinmg4h1LWnin/Mv/cMaPWZemuC7qc0n6ss54uVrZ+Zh34gguz3f5RUbJx4NIxHdMbwF x8i4eOkuJz8dpvmzk39TjRp/LK3CVfzX90FI8GK+BAWAkNTiVB5+WPCfQdiI3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=pacbell.net header.s=s2048 header.b=hJJ0kuL4; spf=pass (aspmx1.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-Migadu-Spam-Score: -2.59 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pacbell.net header.s=s2048 header.b=hJJ0kuL4; dmarc=none; spf=pass (aspmx1.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-Migadu-Queue-Id: ABF7119ACB X-Spam-Score: -2.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: uNOPQFDOALEd Hi, I've been researching a way to extend the org-batch-agenda-csv command to include a location property from the properties drawer. From what I see in the source code, the fields it creates are all hard-coded: https://github.com/tkf/org-mode/blob/master/lisp/org-agenda.el#L2984-L2985 and I don't see a straight-forward way to include things that are in the properties drawer, namely the location property. In doing some broader research, I came across the org-agenda-property package which extracts information in the property drawer, by default including the location property, and appends it to the full view of the agenda. It appears this extraction occurs in the package in these lines: https://github.com/Malabarba/org-agenda-property/blob/master/org-agenda-property.el#L165-L170 If someone could point me in the right direction about extending the org-batch-agenda-csv function to include the location property from the property drawer, perhaps by somehow incorporating the procedure in the org-agenda-property package, I would appreciate it.