Re: how to remove parentheses from the output of a source code block

2022-09-29 Thread andrés ramírez
Hi. Greg. > "Greg" == Greg Minshall writes: Greg> Andrés, this is maybe more of an e-lisp question, or, at least, here's more of an e-lisp Greg> answer. if you have the useful =s= package [1] installed, then will using =s-join= give Greg> you what you want? [...] Yest that

Re: how to remove parentheses from the output of a source code block

2022-09-28 Thread Greg Minshall
Andrés, sorry -- of course, you can use base e-lisp =string-join= to accomplish the same thing. #+BEGIN_SRC emacs-lisp :var table=source-in-table :results value raw (let ((sqlcode (mapcar (lambda (row) (concat "INSERT or ignore INTO labels_catalog (id, macro, la

Re: how to remove parentheses from the output of a source code block

2022-09-27 Thread Greg Minshall
Andrés, this is maybe more of an e-lisp question, or, at least, here's more of an e-lisp answer. if you have the useful =s= package [1] installed, then will using =s-join= give you what you want? (let ((sqlcode (mapcar (lambda (row) (concat "INSERT or ignore INT

how to remove parentheses from the output of a source code block

2022-09-27 Thread Andrés Ramírez
Hi. I have this file: --8<---cut here---start->8--- * labels table ** work on this file then move the output to the required buffers #+name: source-in-table | ID | MACRO_SRC_CODE_HEADER | LANGUAGE1_HEADER | LANGUAGE2_HEADER | |+---+--