From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GOiJLzmf2GVnIAAA62LTzQ:P1 (envelope-from ) for ; Fri, 23 Feb 2024 14:35:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id GOiJLzmf2GVnIAAA62LTzQ (envelope-from ) for ; Fri, 23 Feb 2024 14:35:53 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Z6KnU3CW; 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=1708695353; 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=2faskf+Y6Oxq+PpT085Py3ST3aVb9vHeSM71nPsgKkM=; b=f07vt+iZ4zkmev7biSouKXiY4Zer7wh8h4VvEShfnt1a54gfjfd6EGi0BuBAWwV2tjKTtX 16iTDkTMSV6n9fTu/aS4DC9NfyGnM+8hyC/gu0EbiR+23uQki92HkY1+kXuqhHAd9pywPY XfdFJClv3cKjLIYgLeROrrUuOuqwJQphZBqinSWL1JPcrjr8Pc11vo4LePQFyFOC7IHXxA Li2hP9a2wRwxjdLmMDP7KpYLTEWZiHKEaV52Qj2SZq6oHwZ5GOzLjaneCgCm7vT5dseyqJ QUKG7I1gKJctjDp2Ki/pQeVnvB4aejq8eDV83ZwN6fMOvCbCFQTP/49gZILJ/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Z6KnU3CW; 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-Seal: i=1; s=key1; d=yhetil.org; t=1708695353; a=rsa-sha256; cv=none; b=dVMhBi9TLUPeIRar/WOyEf+xfHNualBcn9/Ywlm2iKZ5XoHq9DQJkMnnKQUrTieShwqOuh MCC1sSeiFy7JKQcS+JY4VTpnPO+tnY6IoL8fyuwkzcP2HpYGMme3NmyipJJ/oekzpteKtt AgyyYcX+qSmbzaED2gX4VDndZwFRjgMAm2RSIhqskrLG43f4KCdqEyWYOzQrqBgOtFjLkO 3XbcSTfV0/hGjWyirgLjBoEIWCblIXhThXVUaVK2G1M9diVrGmedatDpa+jKqPtqfL2O+w t3cNuUhAtlWC4YvxIwL7v/r21I3FFzNU3sRSuvxep5IfLmGRcefWL/coSac5/w== 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 7CE615DE8E for ; Fri, 23 Feb 2024 14:35:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdVi2-0007Vo-Oz; Fri, 23 Feb 2024 08:35:26 -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 1rdVh2-0007GS-TA for emacs-orgmode@gnu.org; Fri, 23 Feb 2024 08:34:24 -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 1rdVh0-0005R2-VB for emacs-orgmode@gnu.org; Fri, 23 Feb 2024 08:34:24 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8AD76240101 for ; Fri, 23 Feb 2024 14:34:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1708695260; bh=QPHqQB74JDr9oW6kZJUvYn9STuSUIVgizYci3h6qCaA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Z6KnU3CWaKaopwtPy5ELsqOoIzAeL4CM9jzKkUudh8ieiZKno9Ac8b8ZvdIG77mwq Xk9/xslpnDSiJZ3oCH+5AdzoCJLDcnsY4XpvI1/8ffE8T6BmhOqEyEBwK25Eb6RM1T mFCFnovTEPkWEQ4+NQq4EIVIJhVrPZXKns0EpghVSN1S2YXLq1ML6VPaLgpeIovUjF 1aB1bZV4Z4+WNdVxLSNwPi4c1PGqNojUFJOyWC9B9SbzwODoh9GgI0pOqIzo3k9JQb PgLeLSsSvJ6R9Mkw5rR0b9WIz9Fw5O//Yxevmld7YeZt+ZkRQwdipACjkHMa8sG9mD 0YVDaxRCW6dCQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Th9wC5Jpkz6txT; Fri, 23 Feb 2024 14:34:19 +0100 (CET) From: Ihor Radchenko To: Edgar Lux Cc: Emacs Orgmode Subject: Re: Feature request: exclude sub-trees by backend In-Reply-To: <1008678740.100388.1708624390334@fidget.co-bxl> References: <1008678740.100388.1708624390334@fidget.co-bxl> Date: Fri, 23 Feb 2024 13:38:03 +0000 Message-ID: <87le7bi9ms.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.09 X-Spam-Score: -8.09 X-Migadu-Queue-Id: 7CE615DE8E X-Migadu-Scanner: mx11.migadu.com X-TUID: vCOMCy731nVs Edgar Lux writes: > I am trying to exclude different sub-trees (a.k.a. headings or sections), depending on the exporter backend. I am familiar with =:noexport:= to exclude selected sections (disregarding the backend). I found a solution, but it is only intended for a specific backend: > > https://emacs.stackexchange.com/a/76454 For arbitrary backend, you can try (defun exclude-from-latex-export-hook (backend) (setq org-export-exclude-tags (cons (format "noexport_%s" backend) org-export-exclude-tags))) > I would like to recommend that such a thing is implemented for any backend. So that :noexport_X: (where X is a backend) is excluded. Something like: > > * Not for html :noexport_html: > > * For HTML :noexport_latex: This is not a feature request I see often in the forums. It is also easy to implement. I think that it would be ok to add such feature if multiple users are interested. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at