From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id KH1EBya5M2YVAAAAqHPOHw:P1 (envelope-from ) for ; Thu, 02 May 2024 18:02:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KH1EBya5M2YVAAAAqHPOHw (envelope-from ) for ; Thu, 02 May 2024 18:02:46 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm1 header.b=Y5ajJdpt; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="I 0XRnvA"; dmarc=pass (policy=none) header.from=adamkovic.org; 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-Seal: i=1; s=key1; d=yhetil.org; t=1714665766; a=rsa-sha256; cv=none; b=Z5J0rvAo4vF53OAPgm1A1No3Bruh+GuafCQgSqMvkwwe0C2gWy1L3rXll6FJtkLHnxSv3k F8qpJ51ucFUSlnXkBbdWqvafSOYtrYyJNPNzq8nVBYhVpKVlm7M0y5k+/SeFyl6oovyjRR lsIeggNktvzF0oePN5V01sQfNyMd2vfec12Jp311WCxsMvZtaHbFdItDL5FdbT+r7XrcmU Fy0JDoavimGbzL8ZiHywnaUQstT6EsGCsR1xeUzW60fGCJ8FCEbuU9NNp15FDyYRogPVJx 40qvTiSBHYKnNpV55RFOAnOe+alrqKK2QIHn5/8lxgGN1VhcloalomhdzqFcOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm1 header.b=Y5ajJdpt; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="I 0XRnvA"; dmarc=pass (policy=none) header.from=adamkovic.org; 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=1714665766; 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=Ua+9km9AaG6wEwW6w4V1shPIZ2G+4sqcEa6kZPkhiWA=; b=uSALXaH3aiEO8qClEusVarJMO1RrlRs13aUViZIiNNh1iLi8pv4JX7FR/GLc3bYfjG5XvE 4NhmJqUpbHV8xbYUSFrBCJ+wSVuklqjaRC+EevhSdWe0E8xKxKp9ymofpEe4neyrztHqKv Ck2wsoN0EK3jYDAEQWVZNyGLEgG8MBGATOZA57mtNldrcsWmYpckQL28sdeYIZc7aQzlsU 7XZyakQdMYO84XCjEDg+2YCO4BI1RXO1tb3KtbTvOL0IgiCschsFjA2up9LAKF9Qob6Pj+ EWgiGA8p+GL/AGU34r2rpBWUAvVvVCZzgSRokM0LSfVh+4fGd11n+5YovjjmSw== 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 0C8EE352AE for ; Thu, 2 May 2024 18:02:46 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2Ys3-0004Hg-QK; Thu, 02 May 2024 12:01:26 -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 1s2YrP-00048k-7D for emacs-orgmode@gnu.org; Thu, 02 May 2024 12:00:40 -0400 Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2YrJ-0003pI-QZ for emacs-orgmode@gnu.org; Thu, 02 May 2024 12:00:38 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 633401140159; Thu, 2 May 2024 12:00:32 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 02 May 2024 12:00:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamkovic.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm1; t=1714665632; x=1714752032; bh=Ua+9km9AaG6wEwW6w4V1shPIZ2G+4sqc Ea6kZPkhiWA=; b=Y5ajJdptH5vcYx4YbpAwblKznsdVQhpFY2Achp9Xg63su+VS XUjsuUCQ6IO7hbSmJq+M6XvmvpxmRkSwhWoRtpz9XwLtY3SMk8icYOi3yo6vbuW5 CBhZXNPyPsBfa4Eq2u8Jdn8yU4brUjsbIwHDyFCJiEZ/Wi0YA8yprYsC7Amp2BuR OPW4+Q8zSV1n0NPMRR/hInGdzGfCUSeOjZy+4jNnRsjVAaAPdnpL00ECfoFkFOwX IqoN9zemfmVvSePTk27wwyKqtaBrEbK6fSBhiSFVoBddoeLcQoY+1D//o0qDPYhc WmJAY3JzI7Qip5KOWH0S7VSgnejPZUGI2k97Zw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1714665632; x= 1714752032; bh=Ua+9km9AaG6wEwW6w4V1shPIZ2G+4sqcEa6kZPkhiWA=; b=I 0XRnvAqVfZvcQHE6zPUOHgS2RrOzd+wSQxNCT8gEtuP14hUymUiDanq4PKYBwoIF zb6agSEGGpg1CTAoJZ1lACX5sOZfP5WL2UgDK23Vsqam8fcQR1c05zAnwNZ/oXeq 6bAhiYC6yiApeo2BmBbD9E+AiG4O1vMY0pzQQu0TuShLPmyuOE9BzFQnNM+6G9DO 7rT+DKR8luRnzU7JMqxKjxGUjzHOX9gWQbmH7fDRcbvblqhMFT3vHqN9EfRcQYAh YZaxB9MXTaK4YbnwjLTB1D0KeZQLZW7Qdzon89l32oHc2FB7VjSC8ii6+3VgDacX UYdfT58dLmVeWWqMBMXMQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddukedgleejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkgggtgfesthhqredttddtjeenucfhrhhomheptfhuugho lhhfucetuggrmhhkohhvihgtuceorhhuugholhhfsegruggrmhhkohhvihgtrdhorhhgqe enucggtffrrghtthgvrhhnpeekgefftddtudevvddtuedvueeguefgfeefvdfhhfevkeej tefftdefieegteetgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehruhguohhlfhesrggurghmkhhovhhitgdrohhrgh X-ME-Proxy: Feedback-ID: i88214938:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 May 2024 12:00:31 -0400 (EDT) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] ob-lua: Support all types and multiple values in results In-Reply-To: <216278dc-075c-47d1-94dc-f5bde8346b3c@gmail.com> 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 18:00:30 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=103.168.172.156; envelope-from=rudolf@adamkovic.org; helo=fhigh5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 0C8EE352AE X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -10.19 X-Spam-Score: -10.19 X-TUID: KLTq286ar7AZ 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? Rudy --=20 "It is far better to have a question that can't be answered than an answer = that can't be questioned." --- Carl Sagan Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25, 84103 Bratislava, Slovakia, European Union