From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 +F6ABXTtAmRt0gAAbAwnHQ (envelope-from ) for ; Sat, 04 Mar 2023 08:04:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iKCGBXTtAmRPfwEA9RJhRA (envelope-from ) for ; Sat, 04 Mar 2023 08:04:20 +0100 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 C8E16C8D1 for ; Sat, 4 Mar 2023 08:04:19 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WaAN7j1H; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677913459; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sa47KJqR8d4rRIYh6WhXqo9VPOEq3BMlBm1zEM+Tqqo=; b=CpTQuzYhPUOHXqDXRoO38xlg6F3tl3zT+Y3nfrNTG25xcora4s/cCrev4lvXA3dhj1FutF CzRucIHr6+iOrqv2cDUGEySou96w6L5kqHa9UhHiHcZxKu1mCmGtzX5WPAGpy7y8XpErw+ rspoZPeFwU0W7aE0HMPt184L/r4DHAMUJoSvTb0Q4whMfXqSXhw9QbXfU4Yt1Can1SoZ27 w24KnwQV1fHia1qcQSGc9kWk0UeYx8xab7eKHRyYtzQ/5mAKxpIcto1S9mjXT87QqqRJVo J8EvUxHGrWWedlaQdeC0uw2S/Ko+FsLpELArc8YevHHVTjo1AUOpuYPH3qgd5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WaAN7j1H; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677913459; a=rsa-sha256; cv=none; b=gdkUJaBgEwMKey9vxJAs/tTdH+w8DrsV9UvoskAeKVNGqAo4LhMldgMPvCqzwOFl7LdQ2H E6MiDYmAYrzmx22hj1hJYQSZEPR/ZhZPmFy2S2XDDuWIpatnbXjRXuuZzMFfVc6KxYo5cP YiA6gCFKdC7qhZfRCO9S0y0OExLizyLkauztNLmbUzlM3WGiJzzuQbybDVLAyxd5JMOg9j v7498Dd+tcV1svQfjOEsQqTgujqIVEO3mnfdHNv3SCz+zQXrd8CwAs2On1vNUn8OS0DxY8 QcNc5dAgbGulnBr8dIKNFL9RaAPYWFgm5xGP557BQ5leINSifG3OfnJYm9UxaA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYLvi-0006S5-Kd; Sat, 04 Mar 2023 02:03:42 -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 1pYLvX-0006Jx-18 for emacs-orgmode@gnu.org; Sat, 04 Mar 2023 02:03:31 -0500 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYLvS-0001C4-Qb for emacs-orgmode@gnu.org; Sat, 04 Mar 2023 02:03:28 -0500 Received: by mail-lj1-x22e.google.com with SMTP id b10so4583951ljr.0 for ; Fri, 03 Mar 2023 23:03:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677913403; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=sa47KJqR8d4rRIYh6WhXqo9VPOEq3BMlBm1zEM+Tqqo=; b=WaAN7j1HcLCuqga+8On2moIyko1vfyMYYatKw/Rs9OPUDe9rjmGBQHVd0hJVWUh+YF x+gNdW/fp8X7kQLsh7QjDqvTimOXac/IBCTsGmLznuHMuJpUYnVPE0wSaZr5NkhsFsQn 704qOW31NA+wC9pIyyRGDO1k+ZToqHA1p7E+YiYWtOCScI/LOGeRrYcq5/TZm2LqpVxT rcI0MZOkao4nHXBRs0YyxHOR8eFAXmQAbj0MhRADPO8v+VD1ZQx+qHV7GLziTyozM/ER TWrx59WO/jMElJSyU1idszzMf9sfOBJIIQboGTDH2Zi9Qq5O3mjq+A/Md9zuDtgkfx+C 4sng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677913403; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=sa47KJqR8d4rRIYh6WhXqo9VPOEq3BMlBm1zEM+Tqqo=; b=yRxeoQy+9B/qX2dm/kuZQPxlebUL3hmy4bM49EwmqmKQnTdAwXhgQR0iIW1EA9EW4E daZ4HG7LV4lYY1OQCXTgYnonUQINtINCA9FFD66hgftKuHKJ0bwVT7n5AsN0MrRMKZKm PwvfS+XeWPnKU5iOjq8XMOE78siuPJYZV3gX2Wm8XRGrNZzpa/xShdMqdwjW7pVzI7uB /BfpoG8lSuJlSRSL6FDV9PUQQ6fFzRPFsV7yJ2PwBmIJOxRf7j88NFQPLS1QmCoqDKF0 ieKxtj1cvG/73PGBLxVYlYuExan2t0zlAU+6iYnNDeTqO61qNB9H/Jh8ou56ffwCz5Yo ondg== X-Gm-Message-State: AO0yUKXkYSOXpPQFWDbeqPVQlOM1JD6NvL3vzQmipQZlcpe7PYGfS2hT Y61Zfmqr9VnIXSKfHmzzEMlTjp0iXdKRQCFGa5HSzZHipCMrGw== X-Google-Smtp-Source: AK7set9IOPlUl+uB5Iv+gYWtJRDLQ84XuaUX7t/M0BOT4AWzqYSXD3RtFUiaw9xdkVtWLUEcYUo3VfmJ6SMEI+vAiLs= X-Received: by 2002:a05:651c:b9b:b0:295:8ef2:8744 with SMTP id bg27-20020a05651c0b9b00b002958ef28744mr1331011ljb.3.1677913403334; Fri, 03 Mar 2023 23:03:23 -0800 (PST) MIME-Version: 1.0 Received: by 2002:aa6:ca07:0:b0:24f:57d9:a46d with HTTP; Fri, 3 Mar 2023 23:03:22 -0800 (PST) From: Samuel Wales Date: Sat, 4 Mar 2023 00:03:22 -0700 Message-ID: Subject: [fr] allow overriding the likely unintended consequence of org-export-with-tasks To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=samologist@gmail.com; helo=mail-lj1-x22e.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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Spam-Score: -11.73 X-Spam-Score: -11.73 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: C8E16C8D1 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-Country: US X-Migadu-Flow: FLOW_IN X-TUID: mEjsK3nQ5i3H when org-export-with-tasks is set to nil, tasks will not be exported, but non-task entries will. you can make non-exported todo items and notes about your exported text. * REF this is the top level of the subtree *** NOTE this is just a note and should not be exported *** but this i want to export of course you can specify other values for the variable that have a similar effect. let's use nil for this example. this is highly useful, but in my case, there is an unintended consequence. the REF todo kw prevents anything from being exported, for subtree or region export. not exporting is not a useful behavior. i would prefer the top level of the subtree to be exported in all cases, because i have asked org to export. it does not matter what kw it is set to or what the variable is set to. technically, at least for subtree export, org is doing what the variable says on the tin, but it is not useful here. therefore, in order to work around the lack of exporting, i.e. the unintended consequence, you have to temporarily remove the todo kw, export, then restore kw. even exporting a region starting after the REF kw does not work. should it? regardless of the answer, it would be great if it were /possible/ to export the top level despite its having a todo kw.