From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UJIcFeaL8l/nPwAA0tVLHw (envelope-from ) for ; Mon, 04 Jan 2021 03:30:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4KfuEOaL8l/meAAA1q6Kng (envelope-from ) for ; Mon, 04 Jan 2021 03:30:46 +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 AE4BB9403D5 for ; Mon, 4 Jan 2021 03:30:45 +0000 (UTC) Received: from localhost ([::1]:43406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwGZw-0002di-Bg for larch@yhetil.org; Sun, 03 Jan 2021 22:30:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwGZL-0002cc-9E for emacs-orgmode@gnu.org; Sun, 03 Jan 2021 22:30:07 -0500 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:35042) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwGZG-00074M-Ki for emacs-orgmode@gnu.org; Sun, 03 Jan 2021 22:30:07 -0500 Received: by mail-lf1-x134.google.com with SMTP id h22so61341360lfu.2 for ; Sun, 03 Jan 2021 19:30:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=oEZluwpJvjHsNGPU8qQ1wgNXnbJZwnJs/GlvDqMuY0E=; b=d7n3K6+pmABwk6ZOqSG3vlHjSk9J4zPHdZEffbYeE7+ssfHsviBOvrISiOokUgpN60 90ziYJZx1OpIhTCvxUymbgGgBnxQ9MCvXgoOXnEbyLvLgVoypXgml0upamZlIEzYYNIz V/4qyfbBVFOOnyFYeagz74llXSwgYTa9mdY0t7lh0gXlnh04PIwudm2zlzHEQwhZolQS jhao7yazXAge8lieQp/m1cFHhcwABUiSQKWjoVPJrH5PAwQxTfiSKR33kT7dcX6wf3CU ELsinHzyJTzoiFdSXvt4HeqfRyLoElVAC+lIY0V1yocQUxVR3wmp/40JNNuLLBJKOi4z ioPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=oEZluwpJvjHsNGPU8qQ1wgNXnbJZwnJs/GlvDqMuY0E=; b=OQR+5EOZ+iyPVxecTlzb0Gg3tgdkkQ9nylJu1MHdZ+k/cdBqJhJNV7F1vVNPQhRUOt cD7mqu028JLZtgtI6CBXeq6QM7ERABqJl+YkHE+2n+s1WxLjgKcIb9A02eVxsn8lZ7sm VW9jQNH7xhbGFsoFM8asrYsQQgCmGup+3BeCoo4yN+2AT+BwgqFk5oQ+XmrWewmpESde juGrwqUUrUQVP7jm+6259+F0+4alkp9PHucsjkdNrHoXzMbnqr5UuKYMbcXwJeeoDIEM DDkZrglCNINLvoBxmHzU9oSjvfDu0i5aohQRhJAgMfxGbUmm3rYmKJWaFK3HWT+wYAmT G+OQ== X-Gm-Message-State: AOAM5311Nu8GTfUCbQjPHMAiasmq4rAx3fiWBG4AfEko2tuem9l7gq7f WvgcHtSwd2fT1bl5/ShaF3bDcwFmYYP8z3ng/g9knRyl+x6ksw== X-Google-Smtp-Source: ABdhPJzN1CQuyuYLMaHmGkURkZdJVg6ZfRRGZKr/9jZ4S+3yBjInYKfgqp2IwZHhGyhlgw419gSHRCK+Yrc163oy/bk= X-Received: by 2002:ac2:5f68:: with SMTP id c8mr17013968lfc.140.1609730999254; Sun, 03 Jan 2021 19:29:59 -0800 (PST) MIME-Version: 1.0 Received: by 2002:ab3:4a02:0:0:0:0:0 with HTTP; Sun, 3 Jan 2021 19:29:58 -0800 (PST) From: Samuel Wales Date: Sun, 3 Jan 2021 20:29:58 -0700 Message-ID: Subject: org-export-with-tasks stops top level subtree export To: emacs-orgmode Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=samologist@gmail.com; helo=mail-lf1-x134.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 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 X-Migadu-Spam-Score: -3.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=d7n3K6+p; dmarc=pass (policy=none) header.from=gmail.com; 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: AE4BB9403D5 X-Spam-Score: -3.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7K7mEx5du7mR org-export-with-tasks is a great setting. i set it to nil to make notes that will not be exported. === * REF ^A poem * NEXT fix this, or else keep it as is * Poem In Xanadu Kubla Khan did In a crass Ozymandian bid A huge dome decree That washed out to sea And was home to a tentacled squid === If - point is at ^ - the variable is set to nil - i export the SUBTREE, then it exports nothing. which is not particularly useful. i want REF to be there. i expected org to know i wanted to export, so it took me a long time to figure out why it did not. surprising. on the other hand, i have to admit the variable does what it says. and so would also be surprising if it did export something. so should SUBTREE exporting pointlessly export nothing in this case, or should it usefully export something? for me, it should violate consistency for just the top level. is there some filter magic to do that? -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html