[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch] ob-tangle.el: New value 'ascii' for the header argument ':co
From: |
Juan Manuel Macías |
Subject: |
Re: [Patch] ob-tangle.el: New value 'ascii' for the header argument ':comments' |
Date: |
Wed, 15 Jun 2022 10:30:47 +0000 |
Ihor Radchenko writes:
> 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.
I see... Thanks for the clarification! So it seems that the current
behavior of ':comments org' is no more than a fluke, rather than
intentional. One possibility that occurs to me, instead of adding a new
value to ':comments', would be to 'return' ASCII export for the
:comments org value, and leave it that way by default. And add an
option, of course, for recover the old value. It could be done from
org-babel-process-comment-text, and then redo some lines in
org-babel-tangle-single-block, as we discussed in the other mail. I
think it would be cleaner that way, but I don't know if this would be
too groundbreaking...
Best regards,
Juan Manuel
Re: [Patch] ob-tangle.el: New value 'ascii' for the header argument ':comments', Rudolf Adamkovič, 2022/06/12