From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 wwM5Fz2+M2PUUgAAbAwnHQ (envelope-from ) for ; Wed, 28 Sep 2022 05:23:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IKlYFT2+M2MwEQAAG6o9tA (envelope-from ) for ; Wed, 28 Sep 2022 05:23:41 +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 A78E52A296 for ; Wed, 28 Sep 2022 05:23:40 +0200 (CEST) Received: from localhost ([::1]:41848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odNff-0005Mz-Cm for larch@yhetil.org; Tue, 27 Sep 2022 23:23:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odNf6-0005Mj-RA for emacs-orgmode@gnu.org; Tue, 27 Sep 2022 23:23:04 -0400 Received: from mail-bn8nam12olkn20824.outbound.protection.outlook.com ([2a01:111:f400:fe5b::824]:54848 helo=NAM12-BN8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odNf5-0005iQ-0h for emacs-orgmode@gnu.org; Tue, 27 Sep 2022 23:23:04 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZHXurnTwt1585JkTLmhIDQYQuGXK/FG3wDaiDk/oKeH2QU1clt62PDB+Lb2dDT79s5hWHCMjlX9XTAGQDoBhsgwWVYCzeSqGaYMA2rt5c7JsA21eJnNiHRcxRVMgISr3FzP7+Tx5Li5SxrO7sbXOxzAAG5NHBhzJ2UiL0r1IHdDowGR/eaZEdQrk88DJ39fNdDUK4HVVJtQCfJZTmuH5BLrlpXRdXDeshabYUyRfCIChEpUShdzK8E/FhL8JIncaLy2hy3d6AngV8o7zv85Zgc0JDP9uVwNdpJDa52ZCIqr8EeHruW8zBSt2KsxgLfauHh5CrX7R1X9XeuLhvvKyaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OYRU4VRu8X7nOdPYO7Nn+OiFkW4pnHYxpBJW4X3C4I0=; b=U6GWgrZY+bghHS1bD2IK+0iaj/gYKa390U43v87FojQfQ0/uzJ4R4XLUNHG5vR9OL0ukWCLsecoWurnGepMREY5LmGd+58nvyz7dEdRMJcnSrWxD5C/YLC1Tvl9wZK87Dvyz3HkF2Gn80ekrUsFc0fgj/CTmRMX0zWDTINfL44CEMsMiBku0c1feYvXCwq2cLm1EyKBCWqLqlmLZXopbkrNWjDSBH7ikAx6bW8i/U9mleVcFG7zwCm+cz4C6J4kAV/8yjOBPNnA7YHUEkP8EtPl4WKhaNlAmIDx4uMk9W0FdGJsTJfIE/Iy7AAb4mPXcQSVc/6rh7vctpuLxzj9d/Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OYRU4VRu8X7nOdPYO7Nn+OiFkW4pnHYxpBJW4X3C4I0=; b=NJOTtrN4S4XoB3SlzvjtwMi/vwoQb+OvWuhnxZP0p2K2DRaGY2Yq6irWqgmPUv4hw4E1+3s6dVY2Jw7cRHk1AvXVmGXX/3owUPQdAcX0EiuifrBX81ZnUU3SIrjyGIDSB/Mo4bXGokf+DIJ53HxwAzn+ewLrR6Jp1LQ21waek3SueWfqNnmqIfwgoPaBdIO8CdlUPQ0AZgpVoTvYvo6flsa4lbvbhdrNBQYjI87ezrf/MOf4gtWz9HfRdPE2/ejwy62qDPq5QMyk0yjnZPlseK7NQddKknhCL5B7gw9CBQIooSlqxw+vbXFmva4c33wHKEvnm1TponKgewTHBqrySQ== Received: from SJ1PR12MB6363.namprd12.prod.outlook.com (2603:10b6:a03:453::9) by DS7PR12MB5815.namprd12.prod.outlook.com (2603:10b6:8:77::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.26; Wed, 28 Sep 2022 03:17:59 +0000 Received: from SJ1PR12MB6363.namprd12.prod.outlook.com ([fe80::4062:e58f:a3d5:17a8]) by SJ1PR12MB6363.namprd12.prod.outlook.com ([fe80::4062:e58f:a3d5:17a8%4]) with mapi id 15.20.5654.025; Wed, 28 Sep 2022 03:17:59 +0000 From: =?utf-8?Q?Andr=C3=A9s_Ram=C3=ADrez?= To: emacs-orgmode@gnu.org Subject: how to remove parentheses from the output of a source code block Date: Wed, 28 Sep 2022 03:17:52 +0000 Message-ID: Content-Type: text/plain X-TMN: [TSnI92rbuP/hN9HUfNLg0WJBc7GeeZkx] X-ClientProxiedBy: SC1PR80CA0148.lamprd80.prod.outlook.com (2603:10d6:4:7c::29) To SJ1PR12MB6363.namprd12.prod.outlook.com (2603:10b6:a03:453::9) X-Microsoft-Original-Message-ID: <86czbgp4pr.fsf@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PR12MB6363:EE_|DS7PR12MB5815:EE_ X-MS-Office365-Filtering-Correlation-Id: e1134040-e198-41bf-331b-08daa1000b5c X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CrStlIsyVCHFnaSFDGBp+OXRhT+YGd8DhVHtqQ/NI6E4nYrJeTLrktwuOMGou88qgpZVpWCBQavDeKHSthxuuuaS3Am9kFVJ7aEGVLHzaBLo0SfdpRb/9ekGWOwZNueELDw/5sFDSjMl9uZPQ9CG6igWd6jYFDS3DMCOCXWOTYYrUv/xizXO6azpAlQSDIF2SF71dqCBTL+m+1zmWcoU1KN67wU59JxFKV7cH8sEfV4+X/2EGcELeD6kp0d6yrjdHzG5DYsCN3tf5uPsnLOTcvzRHL6V6ydCGk5+O6lCBZ/dIF7bSJJZB7jY/PsSNlfjS5kBk6yyNIWtY5M0K+ctVonwCFGP1eOhb2Pvdo+O9OIpmYAnmmIAfvA7mikvPPDWGrEme7/LQ4+6YiXLun5oksQSNXY4ZIcePNPVW6gebUF+h/ib2a/uawdqg27ra92V+DidnfDjRlOhAtwP+D2s+EfrIJ2J1A9WeQRbVb0ztFj3TuAV6jEnxmNRmLdT3UfP8Olu8WHJIdxXSIOFJ1SGYy3UBDwSkU9x9dtsoMZdAl/Iek/skzVRyoGCUVyTxpCq/3YajFBxqVVfpj3nCMEflp5ef7gALFG/vra7a8uxlHiAxGaEhqh09FW0BU8ZGlo35HOURyMCSKvNGPTgPLVD0w== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?vhwTEyFe2FxoGUc0fPkAh/2nA0RmcfdzCe1CRqHB2J+VRay3hossnYDS2fde?= =?us-ascii?Q?b4uEL+Jju4R1hokbn0kVLTJhZf3fQD5eJ1R9G13HvWE70cRu5mOyTu0FHenu?= =?us-ascii?Q?/DTyLptzc5ySUPjoT8R8tgzoaRrQ6PniD5nmkhIWhpxaps+ScZqeuK/Tbke3?= =?us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N5Xbrz3O8r+jSLt2bcvKR0RrJmP?= =?us-ascii?Q?toD1qJ7ETxqb1Qy6fBePCtiUXagPd3DUpGyRnVXeU4bTu+CgaVaR/FyPravd?= =?us-ascii?Q?SZIyX1vaV7pQiosjvtcK1q5V9Jsbes3O30bSWLkZlVzmTA/WU7Gwlq86P5hI?= =?us-ascii?Q?7EsbxjYczExHyWtN0ljdfyePnLdpAIr+IK7Hxw2bZBvwN0IUUUmBo43FK9C1?= =?us-ascii?Q?8xCQX2ONoVlO7M7EZ0lAuqQLUSYt04Bnr6ClCkUOkg=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-71ea3.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: e1134040-e198-41bf-331b-08daa1000b5c X-MS-Exchange-CrossTenant-AuthSource: SJ1PR12MB6363.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2022 03:17:59.1053 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5815 Received-SPF: pass client-ip=2a01:111:f400:fe5b::824; envelope-from=rrandresf@hotmail.com; helo=NAM12-BN8-obe.outbound.protection.outlook.com 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, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664335420; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OYRU4VRu8X7nOdPYO7Nn+OiFkW4pnHYxpBJW4X3C4I0=; b=n08hcxbwVOr15+PfDvSX6ECBnbj7vjukATL09uNPsdKWrnpLgNKilTyRvRTYWnS38PcXP5 4v+07eDJOi7LS3bmGGIdqJSvpct3mEjExqnLVS65BQQ/rvyl8vGjlaj1UhwnFmby8XDLsf VCYqNX+lpMAdfJkaU4L4BxK7ntxQ7xRsjKrCMArSITJ0xxdsLvxJUOSkloOL8qi3hYxVIX t/kKEXp+uOhDJDbGoIfRgawcISZbjGwKSeStyXsSwxAK3F6E8c+1IL6cmZ2CVlEYyS7JRo GeeDlF4nnTwgXTzb4ZooCxRoPF73bUSHE2NXJCfAiaCFJ6ys+MrlIeLBDp8FhQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1664335420; a=rsa-sha256; cv=pass; b=GhyNmtlbPt0Y1AAsW2lc+sPodUfQZxLwmckoWRYJ+RmaNAHYM/2lrgsi9sIY/x8XJBVsW0 sOESIYszTeMbvn+C6ayDvyIZBUt2PvQNfFNMBc1NCUVwdSr1W3LAG3l0WZzkeKw5kK2JBO cl4I8bh++CuRFl0d9uYlqltNo361xD1ySRZjqlpu43Ex8BQpWnHkfr/EeCSbkPvk91bAM0 6YvxjGmD1cfN8AqtVlnWTY+LH2TIWu7xxwtrEdsnL0nc0NDd/CTXsNaf/k1Ug7+OTLfKv8 jPcK5yVX2rxIKXNb+h9KBK37tL+syYQJoSgLe2J3GOOgpy3sbUDhUIjFX+Lc1w== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=hotmail.com header.s=selector1 header.b=NJOTtrN4; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=hotmail.com; 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: -4.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=hotmail.com header.s=selector1 header.b=NJOTtrN4; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=hotmail.com; 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: A78E52A296 X-Spam-Score: -4.84 X-Migadu-Scanner: scn1.migadu.com X-TUID: kKEb2X9wfOf1 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 | |----+-----------------------+------------------+------------------| | 1 | LABEL_YES | Si | Yes | | 2 | LABEL_NO | No | No | ** generate sql #+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, language1, language2) VALUES (" (number-to-string (nth 0 row)) ", '" (nth 1 row) "', '" (nth 2 row) "', '" (nth 3 row) "');\n") ) table))) sqlcode) #+END_SRC --8<---------------cut here---------------end--------------->8--- The above file generates this output: --8<---------------cut here---------------start------------->8--- #+RESULTS: (INSERT or ignore INTO labels_catalog (id, macro, language1, language2) VALUES (1, 'LABEL_YES', 'Si', 'Yes'); INSERT or ignore INTO labels_catalog (id, macro, language1, language2) VALUES (2, 'LABEL_NO', 'No', 'No'); ) --8<---------------cut here---------------end--------------->8--- How could be removed the parentheses from the output? Best Regards