[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Support for whitespace prefix for :noweb-prefix
From: |
Doerthous |
Subject: |
Support for whitespace prefix for :noweb-prefix |
Date: |
Tue, 26 Mar 2024 20:44:03 +0800 |
Hi
Can we add a support for whitespace prefix such that the prefix of a
noweb-ref replaced by whitespace characters?
Here is a use case,
#+begin_src elisp :noweb-ref varable-bindings
(a 0)
(b 1)
#+end_src
#+begin_src elisp :noweb-ref do-something
`(,a ,b)
#+end_src
#+name: a-fragment
#+begin_src elisp :noweb yes :noweb-prefix whitespace
(let (<<varable-bindings>>)
<<do-something>>)
#+end_src
using whitespace :noweb-prefix, the above code will expand to
#+begin_src elisp
(let ((a 0)
(b 1))
`(,a ,b))
#+end_src
Best regards,
D
- Support for whitespace prefix for :noweb-prefix,
Doerthous <=
- Re: Support for whitespace prefix for :noweb-prefix, Ihor Radchenko, 2024/03/28
- Re: Support for whitespace prefix for :noweb-prefix, Doerthous, 2024/03/28
- Re: Support for whitespace prefix for :noweb-prefix, Ihor Radchenko, 2024/03/29
- Re: Support for whitespace prefix for :noweb-prefix, Doerthous, 2024/03/29
- Re: Support for whitespace prefix for :noweb-prefix, Ihor Radchenko, 2024/03/29
- Re: Support for whitespace prefix for :noweb-prefix, Doerthous, 2024/03/29
- Re: Support for whitespace prefix for :noweb-prefix, Ihor Radchenko, 2024/03/29
- Re: Support for whitespace prefix for :noweb-prefix, Doerthous, 2024/03/29