From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id iGzyLLHGMGY7yAAA62LTzQ:P1 (envelope-from ) for ; Tue, 30 Apr 2024 12:23:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id iGzyLLHGMGY7yAAA62LTzQ (envelope-from ) for ; Tue, 30 Apr 2024 12:23:45 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FgHVtstK; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714472625; 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=V3SFMAavI/dL+Bvy1QRAUbIU7UuK4NfdyEaTMRK6QKs=; b=SwfV1bnuplTuHmjTQTTKL3TxmSS4ItjHhCUuWHncrgoEx64y+FbiWiEbsg2xl13blZEKgO TOvyiyrXm9joA3EhR58ckGZidSRT0/eL7sbU2UDpyVu3iPflIZ+ldPVey/wObQDonfXodc x6QPKEqH/GLIsWdijaph1c+sqKiDLOnnqg7p4z5q0eqCqlcHA9VMC2LVmHnMYhJSa8OyGr EFAs7ktMieSrBISuDLVxA33WXcTJ1xQqC/qE/NEse45c1uHsXpOI97WdXX6fQGVjscBVf1 ft/XO1hOj++VjYH3lf2Ue+84JJgzXMixbstNXlqwfAZxTBt3AsauRVrFDvQVoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FgHVtstK; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714472625; a=rsa-sha256; cv=none; b=rQFB9Z9VNcXs5VXshhfximVjhTzxupZtJatN54HSsJBufFU01Oyiea+SZTilBN6SPfAUpW 50tCiU0ZpUuoM8fKPXSlJx/5qzd769FwunsWui/AAq3AsnHtNjVAnFwcFCqYstoxFpCOuP g5ZkckOsMqsSnyN0iBrU/X1wv9Ba/6tMXF4/C48e6JEVZNZOcEGAkJ5h/luKG0P4K6InHS 2+Vy01eYxsymmkL4MR9ndZ0vxTi7ZvqO0i6KksZPoqwkgra/Y2eC7CDnuDz/6JPeemmOK6 xc90wc8E3n2JAI8th5nTeorSMmfnQiblP+IZk/OAD1la2RKU79bPQljl6m85LQ== 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 A6A6A53758 for ; Tue, 30 Apr 2024 12:23:45 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1kdu-0002GT-Uh; Tue, 30 Apr 2024 06:23:22 -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 1s1kdt-0002G0-0w for emacs-orgmode@gnu.org; Tue, 30 Apr 2024 06:23:21 -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 1s1kdr-0004J7-0I for emacs-orgmode@gnu.org; Tue, 30 Apr 2024 06:23:20 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 666FD240101 for ; Tue, 30 Apr 2024 12:23:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714472596; bh=j/4q5Cw0vlScsUbKhc1yhs+E2o0grTURfexUaifB1ZM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=FgHVtstKvzJbRbwjVMvn/J7UPD78k/O6ZLUaWb8VgZBEg2aULtpY6hYpD+4vS5ENP mbeNw8orsZWAmgTV1dF3YaT8w1n2DSIS53+1EXnbibOV6GFZxBiRJE6U0EBVgBKspS cBMHInuU9NbBKEOb5+ZWQUE5OkGAdl2/NU2WEEfVvjLoF8G4LS59lnxPI2iGeq1L+h 7OOBlKKgQJ1qRHzjmnooRtqeNOVGvk5/+GRVP6rGBuB0mvXQUvUNJUBIjKVVEENFlz oZ34afZxWOMcTBdfqQP3NA10rquE81LZL+70GMUXy5d9JFfPlqZ//Hr75RC9MqbsQR R8cyfp3cVtoVw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VTGVp6gdDz9rxW; Tue, 30 Apr 2024 12:23:14 +0200 (CEST) From: Ihor Radchenko To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: 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> Date: Tue, 30 Apr 2024 10:24:20 +0000 Message-ID: <874jbjywq3.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: -8.78 X-Spam-Score: -8.78 X-Migadu-Queue-Id: A6A6A53758 X-Migadu-Scanner: mx13.migadu.com X-TUID: U3FDEzG95R1L Rudolf Adamkovi=C4=8D writes: > Rudolf Adamkovi=C4=8D writes: > >> Definitely! I am on it. Thanks! > All right, how about the attached patch? > ... > * lisp/ob-lua.el (org-babel-lua-multiple-values-separator): Change the > default value from ", " to "|" to avoid '\\,' appearing in strings. May you please elaborate why this breaking change is going to lead to significant improvement? How is using "," worse than using "|"? Either way, strings containing the separator will become problematic and need to be escaped. Moreover, using "|" may lead to interpreting the output as Org tables, which may be surprising to users. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at