Re: org-babel-expand-call-block

2023-06-14 Thread Ihor Radchenko
Samuel Culpepper  writes:

>> Do I understand correctly that you are trying to get #+calls to LOB
>> blocks expanded as usual via org-babel-expand-src-block?
>
> Sure, uniformity in "expansion" is the ideal case.
>
> I use LOB pretty extensively, so this hack allows such uniformity along
> the "kill-expanded-SRC".
>
> Would you consider a patch to org-babel-expand-src-block which
> generalizes in this manner?

We can generalize `org-babel-expand-src-block' and
`org-babel-expand-src-block-maybe'.

I am not sure about killing. We need to ask if other users are
interested in such functionality.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: org-babel-expand-call-block

2023-06-14 Thread Samuel Culpepper

> Do I understand correctly that you are trying to get #+calls to LOB
> blocks expanded as usual via org-babel-expand-src-block?

Sure, uniformity in "expansion" is the ideal case.

I use LOB pretty extensively, so this hack allows such uniformity along
the "kill-expanded-SRC".

Would you consider a patch to org-babel-expand-src-block which
generalizes in this manner?

-- 
Best regards,
Samuel Culpepper


signature.asc
Description: PGP signature


Re: org-babel-expand-call-block

2023-05-08 Thread Ihor Radchenko
Samuel Culpepper  writes:

> Hi orgmode, I thought it would be nice share a little excursion into
> babel's code expansion; nothing groundbreaking, and nobody asked, but it
> may address a more comprehensive tangling, or maybe just some ergonomics
> for copying code.

Do I understand correctly that you are trying to get #+calls to LOB
blocks expanded as usual via org-babel-expand-src-block?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at