From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IHSANv7hOGcsVgEA62LTzQ:P1 (envelope-from ) for ; Sat, 16 Nov 2024 18:18:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id IHSANv7hOGcsVgEA62LTzQ (envelope-from ) for ; Sat, 16 Nov 2024 19:18:39 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FW6VR7nI; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731781118; 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=Ra2kAz4kY7dMVfc+k97wJpUXsq7VLsriRd6uoEmuoHM=; b=F6ewd1GEUYI6C6YN55++48bct2JY83TnKuJJUiDECiUD0Wwt5/yvZA8FVKtZr3att5B63t 4TDls1cdWglEAt7raaPdmi4IYdW0KKCnjxwkJzlOiH3tQdVI6QZTqA69Nq7peCR2k0sBov AcOztG0pCsdg4lzrMF/A/ezWVfxc45/GdAWDskhgXcbnj0ZZ9qnIRZ3+MJVI/kuTkn1E9T qoKmXLUwHF0Uy+PiYLH+hqP/T/ecvhTzox3/KBQNts/+SFJBfRw68E3B0dz56eVfVgcbDB m0aLHAmA5SyfYx62uouhBkWJwbe9faAAelaL/UGsqpZWb6ZQ4wgj4n9CZWCPfQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731781118; a=rsa-sha256; cv=none; b=mpSwCgazTe8LlUvrtmncVmOvD2b0fMRoS0QJK3D6vlZF9gXsJ3c7Td3oSQwo4+stZgX9ln Yf666nG11TbUMMkBJV/t5vaNBwONPPwHmsftCRGKkczUkT3/h3WKgvHJpY3x+18QtK3dGW njaYIXnl0z7wsYq+dX4jCpp/9kMwR40ZhnX3kQo9dh4XI0efxdMxU5ApdFJl4seuqW5ftk G05bv3vYm41lms7xJQNK+/IWwllDpueIe33MrWSi7IkIykSmf/yLdCqiMNa+1msYRf3J0G xNGwP7cfs0sqRL94hx9R9LZALIIb6w9tPbWufRni34kGCkTlEbww7VbZVn/PTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FW6VR7nI; 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"; dmarc=pass (policy=none) header.from=posteo.net 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 4BD447B624 for ; Sat, 16 Nov 2024 19:18:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCNMf-0003lJ-Qr; Sat, 16 Nov 2024 13:17:45 -0500 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 1tCNMd-0003kz-0G for emacs-orgmode@gnu.org; Sat, 16 Nov 2024 13:17:43 -0500 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 1tCNMa-0001wS-SE for emacs-orgmode@gnu.org; Sat, 16 Nov 2024 13:17:42 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B0EFA240101 for ; Sat, 16 Nov 2024 19:17:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1731781054; bh=Dz0yvVCAV89fqkkau7uVMS4J9wKVnIjM1QfMBxciT6Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=FW6VR7nI8ELbOObog7C3Fwvywd+QE4g7P5gbCfUHsvHbUEZAHZxtx/oLsnZd18qzH 2BPKVTLRxQddYL1MxvkgkRJKoT5act5GtlkWhxaIXAZdJMn5Pnw3mpA1qZDcycV08Z VbOiCjF57X8zxtIRg8YNRASs9rO+bvX7EE75HcQZ3eTTiE8rKvkmzCGn+PZ9YUcoDU IONw9RV/5qhTalxPLM9WVJNF+VDIh0FjUTgQJrVwyXGUNHeOJ/f+NNZftL2cTyzL65 h3gDTuXr4+ct4LXMjECFDdmYDpqbDxHqLnWje4OJaqlJYKWpyaJFwyH2dty0KV1pCU csI3UQl3DBjIg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XrMYn590nz6tw6; Sat, 16 Nov 2024 19:17:33 +0100 (CET) From: Ihor Radchenko To: Samuel Wales Cc: Daniel Radetsky , emacs-orgmode@gnu.org Subject: Re: plain list noexport In-Reply-To: References: <87seujpc7p.fsf@localhost> <87zfogpx65.fsf@localhost> <87ed3kfpgo.fsf@localhost> Date: Sat, 16 Nov 2024 18:19:09 +0000 Message-ID: <87zflzqbxe.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: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.96 X-Spam-Score: -7.96 X-Migadu-Queue-Id: 4BD447B624 X-Migadu-Scanner: mx13.migadu.com X-TUID: MBUCsW7tvXEV Samuel Wales writes: > i need to export a plain list with a noexport feature per item. > the list is a timeline with some items having timestamps. > > one design idea was that i would specify this with [X] (checkbox > checked). > > exported: > 1) i left msg for A > 2) [2024-11-09 Sat 13:22] i left msg for A > 3) [ ] i left msg for A > 4) [ ] [2024-11-09 Sat 13:22] i left msg for A > not exported: > 1) [X] i left msg for A > 2) [X] [2024-11-09 Sat 13:15] i left msg for A > > so it could be used for only exporting not yet done items, or > items that should be exported depending on audience. (add-hook 'org-export-filter-parse-tree-functions #'yant/filter-checked-items) (defun yant/filter-checked-items (data _backend info) "Remove items with checked checkbox from DATA." (org-element-map data 'item (lambda (item) (when (eq 'on (org-element-property :checkbox item)) (org-element-extract-element item))) info) ;; return modified data data) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at