From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WKUqCjt3qGLUGwAAbAwnHQ (envelope-from ) for ; Tue, 14 Jun 2022 13:55:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CIQVCTt3qGLLyQAAG6o9tA (envelope-from ) for ; Tue, 14 Jun 2022 13:55:39 +0200 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 B58EABBB7 for ; Tue, 14 Jun 2022 13:55:38 +0200 (CEST) Received: from localhost ([::1]:51828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o158z-0006K7-RA for larch@yhetil.org; Tue, 14 Jun 2022 07:55:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o158E-0006Jo-Bz for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 07:54:50 -0400 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:35413) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o158C-0002A4-O9 for emacs-orgmode@gnu.org; Tue, 14 Jun 2022 07:54:50 -0400 Received: by mail-pl1-x630.google.com with SMTP id o6so7583747plg.2 for ; Tue, 14 Jun 2022 04:54:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=Eb1RoiUQtcw5H3DEnKhPTsBGKnbYiliG2LAj0JL4GE8=; b=fbfVZxsDOimSvqDHP+G0EDpZbt9jxLLhbc8oMdA59HQB5FX4BOfJqJUqwoB2xYS3S9 NBiO8U0Vg2pVBm2AD1yLt6hSiJwR2eAOITYmnAiTxZjU9Q1JKIu4xGxweZR5Ti3UJhKa DslrTTYYt23qCaAD+n4FOFwAX7aNr52uAsAqeyoaotVUtKJ+KLn1+qCSAh81i0iNoVCg DApaUU3Sy9stUELzYU7xBfkVOa4twscgx1Ia5P4AOoQdOjod+CSscYLWp9eUjrg8xIkh ygEXi/woxxxzgXxGck2kugD/UMKq+RHWIwmUWVmrErObChVErAZgG/VXU9fjEFunrCnr gnUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=Eb1RoiUQtcw5H3DEnKhPTsBGKnbYiliG2LAj0JL4GE8=; b=QGHg92fCqajO8JxS4q/JpwQfnceEElcmN5lPEo+aiz9N5PJF1Z+6dNwPZVkH5iwEUd nQrcqzItS7jyUTwjq82z7N16YNnPj0GlgRpI1QrbiG6ixF9LpopUXsZ6PWkB+lC008JE 068mGQ1X7ldYIwGB8Ca6ES7Nxqijkww+7RFLni36J0PT+kdXjj6VWPwFCSndx7HdClT2 gMTVJP3FwWqIa+lf7ff4QODkzKaGzwnNXobReYHrif45cXt6e7PeL+u4QRxxy7jwZe8F CkWfS29R4NJpnfeQ4QHWiqivkzTFqF/pkbE6F1JOGR1vdaXGf0KrGr8BNrEjdQvfR8BE iXSg== X-Gm-Message-State: AJIora8BdpbHV7j2iqJvHE9N3UKYUNtFJ/0ImtF132oDQpjL9iZ1l6OG YyIoRrFdBJ1QB9sLvMWDHtE= X-Google-Smtp-Source: ABdhPJwJ9cAcirmZdP+UldYAs5DyOoehSO+W27loLDmXWnav9jTonccsoNKu9KkiWaY3hmXF1Ui4hQ== X-Received: by 2002:a17:903:244a:b0:167:74f3:7463 with SMTP id l10-20020a170903244a00b0016774f37463mr4091026pls.44.1655207687042; Tue, 14 Jun 2022 04:54:47 -0700 (PDT) Received: from localhost ([155.94.207.39]) by smtp.gmail.com with ESMTPSA id ik3-20020a170902ab0300b0015e8d4eb246sm7091877plb.144.2022.06.14.04.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 04:54:46 -0700 (PDT) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: orgmode Subject: Re: [Patch] ob-tangle.el: New value 'ascii' for the header argument ':comments' In-Reply-To: <87o7yvlctx.fsf@posteo.net> References: <87o7z0tltj.fsf@posteo.net> <87bkuzdahc.fsf@localhost> <87wndna1lp.fsf@posteo.net> <87y1xzq4k9.fsf@localhost> <87o7yvlctx.fsf@posteo.net> Date: Tue, 14 Jun 2022 19:55:56 +0800 Message-ID: <87y1xzwjar.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=yantar92@gmail.com; helo=mail-pl1-x630.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655207738; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Eb1RoiUQtcw5H3DEnKhPTsBGKnbYiliG2LAj0JL4GE8=; b=VCQiuhFOfYPUI9soKHTj5f7p3yu29aWVP/rB2Qk0qoinzT9NIHa087Sv88BNR4n1AUo2AG DRmdMoayHUig412wtd7MzN1owxgbGLkC+P7GfghWJunX6q5awZQsn6FvJJrNJ82xeil6OI ZjqwZLnUsWHgUzoaSOnbCcddtdQ4CrKtukzrDWelNdyLiQVkVCT05xHuYaXRAmJ01dotaZ dsKyoG0a2kiztlwFfAtZ0dWB0srZQ5xGfbGfHkThMYKyJTgaa2aaD6PQvQofGblL9pSv8b RbDMJGGV2ZHsh4UKEGM4nc6A87DQfzbX6LjXmZcuJJUGheRbIcoj1IsDLofHIA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655207738; a=rsa-sha256; cv=none; b=jcmzs9pXaQKZaHToVG7urE0ImpcgfwEbbURvzxnqONmyxQpsVgT8PgqRHsVI5qoZ7ouVll tQDreUppAFwBl4ApFPR46bag2cJGDBr4fbGl09GFm0hhPP9gXBE5MgTNeMK3985kAQOQsO 6sjrqX1xyRlwLURszSBnc650ltEIhBpNizAYQuQXNwBLF10cRFG/YjPatkkXIoKDUy0lAj p64FMRYd3rfOwWyr2ek6tWK8SOCVNN1p416SUfMPUQl3Jl/JpmeaFGpNQ+hx7xCa1iva7o cbF1pQ5LoDl1fHQRXnwq8VaOU1wBW3WYtLQwIPVxyy8m8YwEkRcp9ySlfyr3og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fbfVZxsD; dmarc=pass (policy=none) header.from=gmail.com; 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: -4.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fbfVZxsD; dmarc=pass (policy=none) header.from=gmail.com; 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: B58EABBB7 X-Spam-Score: -4.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: b6ydmtK77dFx Juan Manuel Mac=C3=ADas writes: > On the other hand, I have a curiosity. I understand that the behavior of > the `:comments org' option should be left intact to ensure backwards > compatibility. But I've always wondered if there is any use case where > this value, as it behaves, might be practical. I don't quite understand > how useful all the Org metadata in the comments of the tangled file can > be. The expectation with `:comments org' is that only the content of the > Org document will be rendered (as comments), but not its metadata, that > all they do is unnecessarily fatten up the source file. I'm thinking, > for example, of headers with lots of properties. or comment blocks, > which would be visible in the tangled source file: The original proposal by Eric Schulte: https://list.orgmode.org/4BFFEE4F.5010608@ccbr.umn.edu/ >>> Maybe we should allow either exporting just the headlines of the >>> org-mode file or exporting the entire org-mode file -- possibly after an >>> ASCII export -- this would have the effect of prefixing every line in >>> the org-mode file behind a comment *except* for the tangled source-code >>> blocks. Clearly, the "possible after an ASCII export" dropped somewhere in the middle. Best, Ihor