From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cL6xC+THM2OcxAAAbAwnHQ (envelope-from ) for ; Wed, 28 Sep 2022 06:04:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MN7lC+THM2MYrQAA9RJhRA (envelope-from ) for ; Wed, 28 Sep 2022 06:04:52 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E2DB82ACA1 for ; Wed, 28 Sep 2022 06:04:51 +0200 (CEST) Received: from localhost ([::1]:58672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odOJW-0001iw-FI for larch@yhetil.org; Wed, 28 Sep 2022 00:04:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odOGs-0001in-9E for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 00:02:06 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([18.219.209.13]:38428 helo=chummy-culhwch.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odOGq-0004TI-Fj for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 00:02:06 -0400 Received: from handsome-kitsune.authn-relay.a.mail.umich.edu (ip-10-0-72-38.us-east-2.compute.internal [10.0.72.38]) by chummy-culhwch.relay-egress.a.mail.umich.edu with ESMTPS id 6333C73A.14A03E8C.5C20D739.1390591; Wed, 28 Sep 2022 00:02:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1664337721; bh=T90i/gVraFNEIeC3xTcheDBMkHOYs6GUSTFg9cyEWpo=; h=To:cc:From:Subject:In-reply-to:References:Date; b=sbClmMdMGPhJ5q0HA1Ubgn/NSOOIAxhNRwAina84cmJiZ52R3zZALDcY+CsSaNqeS W9Gh17Oe+BUqfme2Jf9bn+cA/jRT8XXtQeRKxAAk6aFb+G/T4MRNeJEn5ykn/aUZBn B+j87YO0PqaatjG/g6jUJpvq+7bt2b+XnsJ6WtULK80+UJse5dnbkVEE0G6MTcjJ41 OvfbZwvbGOMq7jjPoZZ5uldIzo8T5v2HdIZHMAFnn+gGcdO78W8KaQFD0l8AnrF7hP MLp7GHajUC8X8LqfOxTCX1z1uWKqrXJnKvvQKTMRJ2PPXkeNzMEgHUm9DPsRbqVudx NMQ7NJ0vWY3og== Received: from localhost (Mismatch [85.103.37.149]) by handsome-kitsune.authn-relay.a.mail.umich.edu with ESMTPSA id 6333C738.2099FEEA.7A798A62.2113434; Wed, 28 Sep 2022 00:02:01 -0400 To: =?us-ascii?Q?=3D=3Futf-8=3FQ=3FAndr=3DC3=3DA9s=5FRam=3DC3=3DADrez=3F?= =?us-ascii?Q?=3D?= cc: emacs-orgmode@gnu.org From: Greg Minshall Subject: Re: how to remove parentheses from the output of a source code block In-reply-to: References: Comments: In-reply-to =?us-ascii?Q?=3D=3Futf-8=3FQ=3FAndr=3DC3=3DA9s=5FRam?= =?us-ascii?Q?=3DC3=3DADrez=3F=3D?= message dated "Wed, 28 Sep 2022 03:17:52 +0000." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 28.1.91 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 28 Sep 2022 07:01:56 +0300 Message-ID: <537987.1664337716@archlinux> Received-SPF: pass client-ip=18.219.209.13; envelope-from=minshall@umich.edu; helo=chummy-culhwch.relay-egress.a.mail.umich.edu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664337891; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=T90i/gVraFNEIeC3xTcheDBMkHOYs6GUSTFg9cyEWpo=; b=EiM3PcvRJT2mcuw7fG7QE/3RQeq86sg8PM2+DNefNjhqQ1Slc0Aokw3cUg2mZJDxew7hVx dbTewVvllutRe27xQoOdxaBXBREL2Rjw9YyCuMlAqrIAXyTsBaiKodDTJWH69//aZVda/E SHC8bjFX158/Jl+fVCnum1kfC6C0uGP6V6Ptw9kEgmyRsMYU+vgqHDjF+b0RRnEGzVl3AB QE0+E8kx0Xaovo8ttAbOvnBF1FmSSeq4CneVTy+KoaGAMogBzhw26vn3WeKsY8DB/28PZx fav3sY91m6DQVIJZIT2/9BXK1d79JwEzvct87FNZSnQ94m8zC3OuJnbDm7yMfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664337891; a=rsa-sha256; cv=none; b=OCVX7ymVquuygPwi3d77f3iNyeDcKglGSqePHe7NmxVIvwEx2jl5CkRqG0hphOSZAiUGyC SA/AkA1TlvVgbMT6yRC/UtIomP156ZSP9cEa/6tsPu8sIeqne/KTg9ff0NHc1MEMzpH1hQ iJPqfdVuiCPayoE5phF2zI2KB/XhEVwhuuqa3WDUShVVx3sTfHWGIDZR/4GeOKBi2i69d3 XY0B1nU9nn02oYIxG5ryJYxY/kOgQ9u+CRvawAT8YQjal5Fgj/Nk+INmFgZehxe1YkPTgs REVPAdd4BYQugb2bCfsNalhwhC93s9igsYtTGL4cnZUJUD90vo5U6mFbP7rZhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=sbClmMdM; dmarc=pass (policy=none) header.from=umich.edu; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.94 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=sbClmMdM; dmarc=pass (policy=none) header.from=umich.edu; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E2DB82ACA1 X-Spam-Score: -5.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: OC4Es8rOeXeA Andr=C3=A9s, 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 =3Ds=3D package [1] installed, then will using =3Ds-join=3D give you what you want? ---- (let ((sqlcode (mapcar (lambda (row)=20 (concat "INSERT or ignore INTO labels_catalog (i= d, macro, language1, language2) VALUES (" (number-to-string (nth 0 row)) ", '" (nt= h 1 row) "', '" (nth 2 row) "', '" (nth 3 row) "');\n") ) table))) (s-join " " sqlcode)) ---- give you what you are looking for? cheers, Greg [1] https://github.com/magnars/s.el