From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ANbyLGftuGCgEwEAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 16:55:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eN6yKGftuGCUWwAAbx9fmQ (envelope-from ) for ; Thu, 03 Jun 2021 14:55:35 +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 3C2C724C7B for ; Thu, 3 Jun 2021 16:55:35 +0200 (CEST) Received: from localhost ([::1]:56958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lookv-0008Ox-EC for larch@yhetil.org; Thu, 03 Jun 2021 10:55:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lookE-0008MN-Ui for emacs-orgmode@gnu.org; Thu, 03 Jun 2021 10:54:50 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40461) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lookC-0001iU-VS for emacs-orgmode@gnu.org; Thu, 03 Jun 2021 10:54:50 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 04EBE240027 for ; Thu, 3 Jun 2021 16:54:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1622732084; bh=zGiSqarkHkczOafHL2xApMxeqEqhy5C2JNKYzPVtRvo=; h=From:To:Subject:Date:From; b=PMsqOxGCnvVIozX2BrGSy5hfFgpgRgw1JfQIQkndXAkR/JAZvQngotvxCw9lN7Ck7 bknbu+hIfJKc8s43SC/FtcRCJvVZajwr8gvHofc2WratY29rn+G8INf6kZBHRU3NM0 AoEzc4mbHdgMqhxO7256if/sAwuamqlrhfXUz4EF8mRo7HKnovdezz6JdW4OdbkCMu oIhivxxrQcE8Ehm13le/bQO7IMzz+taw3ngZL7SHcoMyZyAwqSDfnxSE3iKW0/q9v+ KRbSv+7+o9lHceT8AFkYFg6aiMRaQOk8iXKwmRd9o8lO0p7/vjDO4oalBBsIYZcWcN dNC1Zrs4hedJA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FwppC3gymz9rxK for ; Thu, 3 Jun 2021 16:54:43 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: orgmode Subject: Remove all Org metadata with header argument `:comments org' Date: Thu, 03 Jun 2021 14:54:41 +0000 Message-ID: <87mts7j8we.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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.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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622732135; 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=fWktI4p/O6TP//R4ckFMclagbGd/bikoxd9xXr76JN4=; b=Yb+1LPvCqEzpqRhyswN3XouIH1KHCflxKDSsxGc9+cWR5kiROl1GJZzXTxxkefm8EZwczk fkH2NtEOUQxrJ1kcrXGh6XLdWlO9qcL24jZwTMU8FhjFDz+4Wu9UtXdFTExLuoU/SFhB+s Muv/MsfAleu/Pczuwnrn2sJz0W69AvdK1fLt0vZX90mbpFhPqsJFp5gnA6LWU15nk4v5Ac 1BBY2ehVvl/y8xRU3K0tjt5icDkDH/mjMQfunV2FpJJZ8M7A9oeTvC4/8ja2FKpwb6mjBo qsIot935uTkTI1G8G8Wu1bQN0xkAGcwOkStReJejkJbUo2noWDmXPAwRsMqizg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622732135; a=rsa-sha256; cv=none; b=bddLCj7IJPv5DsUd/BYqEmG68MIsolUPmcSaSsW50cglF3j7pE4Kw8PmfQ2IsQ5KXJ8EEI O2/Aps8W6p67Y0iNjFhYzjFbv/iYihpU3VPKUrMEBVwLS2MAgKM5HH5mrwkOYWNG3JAUgz 4A3XbwYAekxT0DwEUXcSXztOp3dapPrS5w4CCOIcxQNmgzUBtro3PL3vRJOdg2xE59HVpz AXy9Vcx7ivkkPIhOJ6nCMlqx9on6kBOeUY9+RU6XgghcT8HOo+fLIce6HE2szsNz6X0omT z3hfgdhvPvlLfew9cY3t3YmuhJkmX9h+YVAQ1v5k6MyIjj7tqio4GVkHe3qoEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PMsqOxGC; 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-Spam-Score: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PMsqOxGC; dmarc=pass (policy=none) header.from=posteo.net; 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: 3C2C724C7B X-Spam-Score: -2.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: KKEZh+RwEhTV I am writing an *.el file from an *.org file (and then I run org-babel-tangle). With the header argument `:comments org' not only the text in my org file is converted to comments (my desired goal) but also the drawers, keywords and other Org metadata. Since I don't see that all that stuff is necessary in a source file, wouldn't it be better to get rid of it during the tangle process, leaving only pure content as comment strings? Maybe converting the Org file content to plain text with ox-ascii, or something like that? What do you think? Best regards, Juan Manuel