From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qIyKDr3akGMoGAEAbAwnHQ (envelope-from ) for ; Wed, 07 Dec 2022 19:26:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yCauDb3akGMy/AAAG6o9tA (envelope-from ) for ; Wed, 07 Dec 2022 19:26:05 +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 C04C51D185 for ; Wed, 7 Dec 2022 19:26:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2z6R-0007wN-5N; Wed, 07 Dec 2022 13:25:08 -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 1p2z6J-0007vy-Rt for emacs-orgmode@gnu.org; Wed, 07 Dec 2022 13:24:59 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2z6H-0000vo-Kq for emacs-orgmode@gnu.org; Wed, 07 Dec 2022 13:24:59 -0500 Received: (Authenticated sender: thomas@taingram.org) by mail.gandi.net (Postfix) with ESMTPSA id 5C0D01C0002 for ; Wed, 7 Dec 2022 18:24:50 +0000 (UTC) User-agent: mu4e 1.8.11; emacs 28.1 From: Thomas Ingram To: emacs-orgmode@gnu.org Subject: Prevent files with excluded FILETAGS from being exported Date: Wed, 07 Dec 2022 12:43:11 -0500 Message-ID: <87zgbzrs0t.fsf@taingram.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.197; envelope-from=thomas@taingram.org; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670437564; 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; bh=8z014M73xTrcF4drnQZ9Rj6eph3/cPbF0iVJLnQpCpM=; b=IUOOLBfbLbBDZg13kgcl1YJcT/PXk8xNBCXqNxwvDMO0wZrQ9Os1j8lZjr5T4KPogulasJ J1vW1PqLYbiSOkodmqSo0m61144AGKaj4SvPB7+0prDSbBMOl38f/t7X/Az7ynOYPg4QFo WNZf1Ui11yQqEORzoQCwhPMMFhPXAjf2z91xrlwqDqvJd5ff6rC3Chnws8dnWF8s68c+uz YZz9VsrbpbbYoi5UE3B5cs0e8YHkPhnwBvn+zsw2gTGQ1qBTurZEtQEIZ/wS/hmRgH8DdZ 8K3XdDiPiGQQPO4kHD6iugOjNCt1b934ebXzVpV+p5udAEV2QT/fn/PyyYhGXg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670437564; a=rsa-sha256; cv=none; b=ECqN9XBiB/TKksZteVmEZChukdCNOrB9Un3YR+QtfFIfhFFUFdqRgvn3c/e8F0cb7NlS/h p7q3vgHsI49RkuTk72q/939PaItUrtzbVQ87PcHgT4IYZDqjjwc/+EH2GBH8YvAZkpVzmk MYggtsA9YOJ8znR3Mb0dv990gWVQKgSUaLpxvXCZsbRkUi4NFm256S/bymhNWWp8qRNrlC m5ppR/qY/k9Oar7esJgjOOW3pmvcQ2pZ2CiaQxTkO8AjGA6hMPFIMyUH2k1yIb33LzM9nA fvfKDOVqH0jnCNaTxmn+yvWeki5N1twLpsIz5uE1bslXURB5grjyjSaab2PLgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Spam-Score: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Queue-Id: C04C51D185 X-Spam-Score: -1.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: pysq1dNuBNGA Hello, Currently when trying to export an org file with FILETAGS set to "noexport" (or any value in `org-export-exclude-tags') the file is still exported with the title and top level text. I propose that be changed so files with FILETAGS in `org-export-exclude-tags' are completely skipped by the exporter. This would be extremely useful in combination with ox-publish, as it would allow users to easily exclude files from publishing from within the file. Currently this can only be done by adjusting the ':exclude' value to match the filename in the `org-publish-project-alist' settings. Please let me know your thoughts. I would be happy to try to submit a patch but I would need some pointers on where in the export process this change should be added. Thanks, -- Thomas Ingram https://taingram.org