[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Allow tangling to a list of files
From: |
Jacopo De Simoi |
Subject: |
Re: [PATCH] Allow tangling to a list of files |
Date: |
Fri, 09 Jul 2021 13:39:06 +0000 |
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, July 9th, 2021 at 8:26 AM, Vladimir Lomov <lomov.vl@yandex.ru> wrote:
> Hello,
>
> ** Greg Minshall minshall@umich.edu [2021-07-07 09:56:06 +0300]:
>
> > Vladimir,
>
> > > I couldn't find in Org manual how tangling should work if there are
> > >
> > > several source code blocks with the same file name for ':tangle'. The
> > >
> > > Org manual section "15.8 Extracting Source Code" is a bit
> > >
> > > obscure. There are these two sentences
>
> > i think what Tim answered is correct. but, i believe the "desired"
> >
> > approach is to put all those blocks to be tangled to the same file under
> >
> > a headline with a property drawer containing something like:
> > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> >
> > :header-args+: :tangle "submsim.jl"
> >
>
> Hmm, the more I read the manual and your answers the less I understand. As I
>
> said I didn't find in the manual any mention of feature you and Tim referring
>
> to. Besides I didn't find definition of [source] code block. If Org document
>
> has several #+BEGIN/END_SRC constructions is this the one "code block" or not?
>
> May be they are different if they use different "language" identifier? Again,
>
> I didn't find any definition or explanation in the manual. This is either lack
>
> of documentation or feature of how Org deals with source blocks. In my
>
> opinion, this is undocumented feature.
+1 for clarifying the docs. My point is that there is even a unit test designed
to check in which order different source blocks are tangled to the same file.
Hence it is a desired feature.
If the documentation lacks the description of this feature, then the
documentation needs to be updated.
>
> > i believe this is for performance of tangling, but possibly the
> >
> > "multiple source blocks to same :tangle'd file" feature may disappear?
>
> > cheers, Greg
>
> WBR, Vladimir Lomov
>
> --------------------
>
> How do I get HOME?
- Re: [PATCH] Allow tangling to a list of files, (continued)
- Re: [PATCH] Allow tangling to a list of files, Greg Minshall, 2021/07/06
- Re: [PATCH] Allow tangling to a list of files, Jacopo De Simoi, 2021/07/06
- Re: [PATCH] Allow tangling to a list of files, Vladimir Lomov, 2021/07/06
- Re: [PATCH] Allow tangling to a list of files, Jacopo De Simoi, 2021/07/06
- Re: [PATCH] Allow tangling to a list of files, Vladimir Lomov, 2021/07/06
- Re: [PATCH] Allow tangling to a list of files, Tim Cross, 2021/07/07
- Re: [PATCH] Allow tangling to a list of files, Jacopo De Simoi, 2021/07/07
- Re: [PATCH] Allow tangling to a list of files, Greg Minshall, 2021/07/07
- Re: [PATCH] Allow tangling to a list of files, Jacopo De Simoi, 2021/07/07
- Re: [PATCH] Allow tangling to a list of files, Vladimir Lomov, 2021/07/09
- Re: [PATCH] Allow tangling to a list of files,
Jacopo De Simoi <=
- Re: [PATCH] Allow tangling to a list of files, Tim Cross, 2021/07/09
- Re: [PATCH] Allow tangling to a list of files, Tim Cross, 2021/07/06
- Re: [PATCH] Allow tangling to a list of files, Jacopo De Simoi, 2021/07/07
- Re: [PATCH] Allow tangling to a list of files, Tim Cross, 2021/07/07
- Re: [PATCH] Allow tangling to a list of files, Jacopo De Simoi, 2021/07/07
- Re: [PATCH] Allow tangling to a list of files, Tom Gillespie, 2021/07/07
- Re: [PATCH] Allow tangling to a list of files, Trust me I am a Doctor, 2021/07/08
- Re: [PATCH] Allow tangling to a list of files, Jacopo De Simoi, 2021/07/08