From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id IKPEGFXCM2ZFjQAAqHPOHw:P1 (envelope-from ) for ; Thu, 02 May 2024 18:41:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IKPEGFXCM2ZFjQAAqHPOHw (envelope-from ) for ; Thu, 02 May 2024 18:41:57 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=p3r0IoLZ; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714668117; 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=MKtnsMPIExktQs2wEEaVqeW7VwvQjHXvk6PTCeGwXhY=; b=Y5ZaohihvBYU0CgkKSabzlUQJ0MN7miGs1SewiSwOclbLR3GePTA81g7XeMw+DPlRt0PY2 HRb/Xe04BRjTJG/egws+uaVFNsMn0ZlBlWIw1dsvIP46BL+whr+t36BZ0GLi6uQAMbhMBe 0tiju3peShwOEQ5/vyl/uIcoeO1a2tK27SyzDEnpmkQa2c6FGn41dnbuqz4BLbE7LqBGvy VBfZ8kOAV+zftinkuZnuBfZMgy120FX/eobDeLXwZL7udyG8eE4gEslqt+bb2QcNzg4cbW FVXUVPD1j2NUH3TVZBXX7dC91rhS8tTY1DxqudQn7Z52shqzFQKi3uOA8gIl4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714668117; a=rsa-sha256; cv=none; b=I4ZLb8FaXQUz5TwQ2XDIVbb/rVgt2Nug+G/zQ44rEAuxt0NzPrqRxImfQF33NI4/5HgunQ JsjskCtSvaGitCk9ecta5AcJ2ctvXua6uP/imPeDQse2ghv5QnENxVLpcQ4h5tVO36vYGK pJw9McWAvnGU9ggFtjOEW+TKld6yLDJyA5ueH3mGGqw2JRh682vdRZ4gPrVuoWwx+M2xiD QxOmroBR+uRzVvkfqpA7gwYqIdVnHOLpWweRApAkXl0NiEpweZkRg0xDKXR5shF/L+0tXA 51OOf3DIeWh0MmWWKlx8YM1nyTqhnVIhd76O5uYfQ8GnXcmULrAKlCLPxuQkhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=p3r0IoLZ; dmarc=pass (policy=none) header.from=posteo.net; 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" 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 2D9673E022 for ; Thu, 02 May 2024 18:41:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2ZUR-0002cn-3Q; Thu, 02 May 2024 12:41:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2ZUE-0002c1-7m for emacs-orgmode@gnu.org; Thu, 02 May 2024 12:40:46 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2ZUB-0003H3-FE for emacs-orgmode@gnu.org; Thu, 02 May 2024 12:40:45 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 1D10D240103 for ; Thu, 2 May 2024 18:40:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714668039; bh=ndK4WnN3YRbbtGcG2fcWfA4Yxy4KctQHVWjJ5CqvTck=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=p3r0IoLZLEn/lI9VVydKiEJy4J8BcQBMzJQXqLCLPz6xdt1d/MPtSAyChjuwAtM7B 15Zxxuer8Py6/d/hbnxEZPIULClZqcOVpt9nPTjP+kTwClQE+x/N/zMSJ7SjrlvlWH XzKjw1Q/9u6DHYKW2aPZtlSGqYqVgKuA0Sta4YpzC4XlC55AwrNE7F+VTcB7n8+Wta xfV5qdV+hODgz3h6uY9PDHJZjeJUeo2zfrum+Z1gg5pJqI/Fh/YDsN/17Rrk/lMOD7 XrxTO76+Z6HC14j4viLJh6R0rNq8gS9Dd3AZWKtgOc7g0H3L7ffFY2LPpqqDzHb04l ZrJX/lNd2YNtA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VVfnL0grFz6tvJ; Thu, 2 May 2024 18:40:37 +0200 (CEST) From: Ihor Radchenko To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: Max Nikulin , emacs-orgmode@gnu.org Subject: Re: [PATCH] ob-lua: Support all types and multiple values in results In-Reply-To: References: <20240423164458.33702-1-rudolf@adamkovic.org> <8734raewr6.fsf@localhost> <87pluctf6m.fsf@localhost> <87il01k6k1.fsf@localhost> <216278dc-075c-47d1-94dc-f5bde8346b3c@gmail.com> Date: Thu, 02 May 2024 16:41:49 +0000 Message-ID: <877cgc9nea.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.60 X-Spam-Score: -6.60 X-Migadu-Queue-Id: 2D9673E022 X-Migadu-Scanner: mx11.migadu.com X-TUID: nB/WmMKjbrzd Rudolf Adamkovi=C4=8D writes: > Max Nikulin writes: > >> On 30/04/2024 03:26, Rudolf Adamkovi=C4=8D wrote: >>> + local value =3D result[1] >>> + if string.find(value, '[%%(%%[{]') =3D=3D 1 then >>> + return quotes .. value .. quotes >> >> Am I wrong that quotes in value may cause issues? I expect some way of >> escaping " characters. > > What would the reproduction steps look like? I guess #+begin_src lua return '"hello " world"' #+end_src --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at