emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: andrés ramírez
Subject: Re: how to remove parentheses from the output of a source code block
Date: Thu, 29 Sep 2022 17:52:23 +0000

Hi. Greg.

>>>>> "Greg" == Greg Minshall <minshall@umich.edu> 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 elisp snippet help me. And It gave me what I was looking
for. I just did:
s/(s-join " " sqlcode)/(with-temp-buffer (insert (format "%s" sqlcode)) 
(delete-rectangle (point-min) (point-max)) (buffer-string))/

Best Regards



reply via email to

[Prev in Thread] Current Thread [Next in Thread]