From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id cEVRDTgiMmaveQAAe85BDQ:P1 (envelope-from ) for ; Wed, 01 May 2024 13:06:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cEVRDTgiMmaveQAAe85BDQ (envelope-from ) for ; Wed, 01 May 2024 13:06:32 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=HR4r47RU; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714561592; 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=sL6w9dCU0QdQ9JEBcXRUg+huTaEMuO6iQz7oaGSBzQ0=; b=f1dCCfbE1Vvn3sI/7naYjUbxpHANWLcdXYNe5R6yW/bjf51jj1zYKAG4dnejM2iGOhGwpo +yWI5Q78B62vi5F9x5yUTvM+4+YuPB3LR6h5JnttSO+34s7auIj+jBDkVGBP6BkisGiNPd 5GjHZT5785pzExIssHYAgYWT/NlVkB80KiADx6F9+/Ozcci4wD055MpsDxbPxwIYm79l5q 9vH3oNWNutJzooK64nOhvZrlcVGzLEq8Bf7BeyUHVIVGgwLiDZHSQEFy0SXeTHhLvOv9Ut PpmMvTt+kW0Qy81Hx6DLbWSv1Dy/ObFh8oL4kMdQ8+lj6GmWJTlJETLC750Qiw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=HR4r47RU; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714561592; a=rsa-sha256; cv=none; b=j70bLz1ABNosf9FzaYvZucCMD5u2ijkbogVAbF5TfZRgmOPDjGQMXdKNM0r62HjCSaVLQt 375iSNZDTz1tCYCVftLWun3kaK2e2cR+YnrRFNZykMQqCOQoi7ERw9hJe3fHz5byeKDEgu p1Ry/v0pfnwz8+cg+yn9ApaGPXyVc/RnG+JDEPN8NHPSlEmy0rWE83UUzQ8XMxqgRou5LZ +CYGas5jt2Ii2w6oZ17J8RLu4nikahLQk75Z175e6YjbtGBLsw85WqoWlIY11m51B16tUB mhsspQ1mP550Pj87o3UGGKoAgzPm6uperwBSVsjh5nGTMOToDf7joH5q4OJBRg== 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 12004740DD for ; Wed, 1 May 2024 13:06:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s27mh-0006Ud-Fm; Wed, 01 May 2024 07:05:59 -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 1s27ma-0006To-2R for emacs-orgmode@gnu.org; Wed, 01 May 2024 07:05:52 -0400 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s27mY-0002Ea-JP for emacs-orgmode@gnu.org; Wed, 01 May 2024 07:05:51 -0400 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2e0b2ddc5d1so31941281fa.3 for ; Wed, 01 May 2024 04:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714561549; x=1715166349; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=sL6w9dCU0QdQ9JEBcXRUg+huTaEMuO6iQz7oaGSBzQ0=; b=HR4r47RU6YMzzmnnCr7E3IZ8mJfLbYp36LJ+4lP2pIvLYHewuLLoIiSGKWf5pmgiL4 ihWx3a3FsvXz2DNnOYIg8vLfzgmPQ0SNFd0j3P2dHNB+bqI3LBtsMLAgQTBB1R5t5vdV U0F1YVt4InlhnCO22qUrCaI/1hEnS9/fk/OqHf7j7assMZ+MBHotuetuLoaZXvd/4FAM IB6P2Q1CDrJwby5oe3hZb/AJYBfXownntOb9TsWwTYRMHuymcp0TGxdhx9tJ7cFbSkS7 bWqoAxhNyMcUFmHAGrG/WG4Dlgj7rDBIbT86+CmbwqXQy2hC49iezLqRhX6SEJ8mZMGh mXxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714561549; x=1715166349; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=sL6w9dCU0QdQ9JEBcXRUg+huTaEMuO6iQz7oaGSBzQ0=; b=iU+vDa/kopCqQokzhBaU/0yw+OchMoKZcNzaxCRj29Wxy90ADWKNlxbUlmtmmiGg2D fFI7ZwQr0FPVdjxzQ0pbrawuHY8Q7PXiLfIE0k9nAGuPDgF/UMSS+kvVCEk5bCQhXblh qBMWa987GyrFS2SrIyf1ha118miw1cO/MyZVIFwrWAQV4+rWvlB/ZxNdJe1c5F42OAja jOY3CsC2Y8UUj1tHkOEFcSJRJzHrpoGg2fb0PAscnl7CG8cZIpB9sCf2npTAwiAoTD6K hGyD5elceTOny/qClsQ5aESuaxCiWwx/jiXIV+nm1w10JGmUL+lAwbNJKnILlVVeU9Th AkTQ== X-Gm-Message-State: AOJu0YyCnjPaqhtSRTZro+a9jYyAkVz/BU8YJgHNpok8kXBxlkBXjamD 4h6L/+WZTFGHfLKHS0WjekDl2O58w5O3IG1JM9tEXTBWU2pwFTwLsb222g== X-Google-Smtp-Source: AGHT+IEtdeMKTCgo0GFOuFSq7qRmeXmda+hM30j2/IdGVDPDt8Ci0/M/roqeweM8YuJvhYLLZwKMBw== X-Received: by 2002:ac2:456a:0:b0:516:d18b:eae8 with SMTP id k10-20020ac2456a000000b00516d18beae8mr1217674lfm.41.1714561547966; Wed, 01 May 2024 04:05:47 -0700 (PDT) Received: from [192.168.0.102] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id w13-20020a05651234cd00b00513c86486b5sm4797295lfr.6.2024.05.01.04.05.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 May 2024 04:05:47 -0700 (PDT) Message-ID: <216278dc-075c-47d1-94dc-f5bde8346b3c@gmail.com> Date: Wed, 1 May 2024 18:05:46 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] ob-lua: Support all types and multiple values in results To: =?UTF-8?Q?Rudolf_Adamkovi=C4=8D?= Cc: emacs-orgmode@gnu.org References: <20240423164458.33702-1-rudolf@adamkovic.org> <8734raewr6.fsf@localhost> <87pluctf6m.fsf@localhost> <87il01k6k1.fsf@localhost> Content-Language: en-US, ru-RU From: Max Nikulin Mail-Followup-To: =?UTF-8?Q?Rudolf_Adamkovi=C4=8D?= , emacs-orgmode@gnu.org In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=manikulin@gmail.com; helo=mail-lj1-x232.google.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, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 2.82 X-Migadu-Queue-Id: 12004740DD X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 2.82 X-TUID: 16KVgAnZ+TvM On 30/04/2024 03:26, Rudolf Adamkovič wrote: > + local value = result[1] > + if string.find(value, '[%%(%%[{]') == 1 then > + return quotes .. value .. quotes Am I wrong that quotes in value may cause issues? I expect some way of escaping " characters.