From: "andrés ramírez" <rrandresf@hotmail.com>
To: Greg Minshall <minshall@umich.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to remove parentheses from the output of a source code block
Date: Thu, 29 Sep 2022 17:52:23 +0000 [thread overview]
Message-ID: <SJ1PR12MB6363DE8108C60B86CBE6524FA6579@SJ1PR12MB6363.namprd12.prod.outlook.com> (raw)
In-Reply-To: <537987.1664337716@archlinux>
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
prev parent reply other threads:[~2022-09-29 18:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-28 3:17 how to remove parentheses from the output of a source code block Andrés Ramírez
2022-09-28 4:01 ` Greg Minshall
2022-09-28 6:42 ` Greg Minshall
2022-09-29 17:52 ` andrés ramírez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SJ1PR12MB6363DE8108C60B86CBE6524FA6579@SJ1PR12MB6363.namprd12.prod.outlook.com \
--to=rrandresf@hotmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=minshall@umich.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).