From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 WGHcCuoR5GPMWgAAbAwnHQ (envelope-from ) for ; Wed, 08 Feb 2023 22:19:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uJnQCuoR5GNULAEAauVa8A (envelope-from ) for ; Wed, 08 Feb 2023 22:19:38 +0100 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 A27D5A88A for ; Wed, 8 Feb 2023 22:19:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPrq5-00087w-Vl; Wed, 08 Feb 2023 16:18:50 -0500 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 1pPrq4-00087k-Cn for emacs-orgmode@gnu.org; Wed, 08 Feb 2023 16:18:48 -0500 Received: from mail-am6eur05on20628.outbound.protection.outlook.com ([2a01:111:f400:7e1b::628] helo=EUR05-AM6-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 1pPrq1-0004i5-KN for emacs-orgmode@gnu.org; Wed, 08 Feb 2023 16:18:47 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B/BWgbRvN4dJUqJew0b9wiLVpouH3JAcd0n9DxgNIyLqgsV4WMlB5c6auwvSoH69YUPJlRag2/ejlptJpac163LCVBpcpE8pJGXM3mYkWPNfjSZL2detEEy3bsWBekndN6a3z1n7IhJReQ3iErUSPCdrYDP8SHBMZbxcThYmr2ohtW8BhgTOHiyPRYh06nY/E7/3moi8NIDQWhPnnUAZUzxT96albtbHHO3ZmopXxmS2O1tiDvRTXEEBI1MP0xakyck+RxysEXQ2Atf+XDwnNmax9y2f0FmrZDQ77IN4I1LAvghgbthvg3FkmEYQ90WW6bF5+oMFQ6yslWWEw7DQ3w== 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=i05yuRNaWVnVLBOXsGZfwyob54bRTWip63FTMqkza/0=; b=FMsMW7l5N7tbQP+EvWqDyLWli1wbO7FIoCRBO4UmcYUmOXDrAUunxExMgz6o19I+YViBu1+k+9H+L4urs4TwyEwDw5sSYvtkxp2PpjRjEy8mnIJ8t30i1YuIXqV9cbI1VM4GsK25STM6v6MvNB8iSG6U/5Ty/58RnVmWoQAyI0bo4v8cDSBwpdNzqbcnWKy8drh1ZicW1jCkHLd88sm/B212oyoBnAlPey1El5Hdk/eYYcEfs7kTsbb8OOQPLTLGZiZIpobMdBWIO7kEMzRYm64vN5wOHY1ujw8TsTKyjHvYe5SspSikzGLzAtPrSWri/3sOun3H/9Q1PScUDdiW1w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cosector.com; dmarc=pass action=none header.from=cosector.com; dkim=pass header.d=cosector.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cosector.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i05yuRNaWVnVLBOXsGZfwyob54bRTWip63FTMqkza/0=; b=aVvvIE109PNebYjUBtiMQEoJcjPJjjXe3cdBdjSl7wPD+fPHqb8m2/N0VkGk7XM71IAjauZZjj2ZLy6ql/vHAUlF32/J2/PEmR4PUVgy07kt5BjBqpKnjGavhaJdNo0JPUy5SswD+gg+hwcpFt4lxhhLEqyeqsaUM0BHMyMLGPvHqVbkgot8vtIU+kiKMCO3pw3quA7V3Etb/9DhEDEOS+Um84FQ4eWq2IvyGJBWLTjhrdZ9mhoTGXQemIq5xkn26yCB2qrgh+bG42GMq1lyaXjNiSGrhkB2kexSrlvWf1TdkYiVZQjFdT+9WZJ0qjUuMy9Lr/NryvELwSZU3iBIfQ== Received: from LO2P123MB6213.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:270::9) by LO0P123MB7296.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:331::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.17; Wed, 8 Feb 2023 21:13:38 +0000 Received: from LO2P123MB6213.GBRP123.PROD.OUTLOOK.COM ([fe80::6b47:c662:572a:422a]) by LO2P123MB6213.GBRP123.PROD.OUTLOOK.COM ([fe80::6b47:c662:572a:422a%7]) with mapi id 15.20.6086.017; Wed, 8 Feb 2023 21:13:38 +0000 From: Thomas Worthington To: Ihor Radchenko CC: "emacs-orgmode@gnu.org" Subject: Re: [BUG] ob-gnuplot.el can't handle importing more than one table from the current file [9.6.1 ( @ /home/thomas/.emacs.d/elpa/org-9.6.1/)] Thread-Topic: [BUG] ob-gnuplot.el can't handle importing more than one table from the current file [9.6.1 ( @ /home/thomas/.emacs.d/elpa/org-9.6.1/)] Thread-Index: AQHZOxtyT33OXbtdmkGxNal/cyNAt67FDbOAgAB/dwA= Date: Wed, 8 Feb 2023 21:13:37 +0000 Message-ID: <87a61nvp1c.fsf@london.ac.uk> References: <87edr1v0dj.fsf@london.ac.uk> <87r0v0cmdm.fsf@localhost> In-Reply-To: <87r0v0cmdm.fsf@localhost> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: mu4e 1.8.14; emacs 27.1 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: LO2P123MB6213:EE_|LO0P123MB7296:EE_ x-ms-office365-filtering-correlation-id: 214bf7ca-3801-46ea-7173-08db0a1958a0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PMx5rXvDEi5o4bXk//jfd0y0MbIN0rOIjH2cf98wvQj/uWNlP73+Hd9awEz/6Zsg0SQmdOpKeARi4a2uD09h6LFPh4dcycOgxkirQ57/uq/ZJjm+13i+6kRbdhzNKko90XppWQ+qMMTMCCEavAxkcE2Ofx98SaaX1fDCbtDQl41gYd4AOCl3d16ye/O6LJ0QT4YY11qsnOJc7e6M2CW1eZK98K6RnHqhdYIDWk1FoieFEpQWwZaLDfJTT90bfHscWGWxtHqP0FLe2Cm600VqAfBUkOgDs1lZ7vJ6AJmtZKGpkyLQcpVGN2SFEhZVE5nfW6kDGDPbFFpDzH5/J/R91nUcbNQ75zp9eOo7as4OE/K5FevZIJdos+UzLF7n+pQ8pdOwoACUEy0pNuaJP/N6oaxDRFqLHHab2O7v+nFQ1SZAI0mfjlg0G8Jn5inx6j+6fmDz1xt455HyKEPXZ1fDy8suCVbLzjnoTsSDKVAX8Vy8AT754NqBfHiFpVbagm21d8IVtJV9QPXUk/089LEU6TdqCjtsfB0PZ4F2AHQq71rijEYOTDHgidHJ205yi3TVQ51wJ9K469QPBiLU0Lt/qUGTYu59YGhwH2tycQzXfdm3X2XonhAvvb2xT2uI4wLt3utU8cGt7OyuFZgh5ceHBGaV3RQnCFRyqDZewrSqRlUKpVQKTqWBbnZYTaw+ATcZoIgtTImbsAReTLk3bGyuQg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:LO2P123MB6213.GBRP123.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230025)(4636009)(396003)(376002)(39860400002)(366004)(136003)(346002)(451199018)(5660300002)(36756003)(2906002)(44832011)(83380400001)(38100700002)(38070700005)(76116006)(8676002)(122000001)(4326008)(66946007)(786003)(6916009)(66476007)(8936002)(26005)(64756008)(66556008)(41300700001)(186003)(66446008)(6512007)(9686003)(71200400001)(6506007)(316002)(478600001)(86362001)(6486002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?4xqZSdb4QiVAxbUP7MvTmW44ddwTJZ6DKPJMZ4he7MoxLmF5dDhD8qRgaP?= =?iso-8859-1?Q?XqOHOxtoj2+3uGGdtoOt4BJTkPBv91hAcwN30ZF1nIWyrooMMGM+YrKAp9?= =?iso-8859-1?Q?LLgADmafxhvsYzrc/L3boNcTXoe3meCOH2rczSmYYK++nNtaTRcNip5ibi?= =?iso-8859-1?Q?JsJWA7TpN8pMQinCpGKBI3dik9PhS9rD5Lk69K+E5Z96TUH76B1iaO2KnQ?= =?iso-8859-1?Q?M21fXzRRSZBTaGxZvJECz+v6JEcf6Y4Nq+PZwiwseFRGnFdo9SS2vaTRfH?= =?iso-8859-1?Q?ke/rYLzSUITdi5uzS/4DsfsxLUFz+D3QJp/uYFd3ckkv6NdaId/Lza/tHu?= =?iso-8859-1?Q?8xathkRrEXUBLwbjx2+VBsOEdnX53Z7OOiuGixV4xMAXL8MDbU92beKXVz?= =?iso-8859-1?Q?kV8KYpX7E8CTSYbAr1YLDoDUY+5iRE2RoCkdhgaavs0AVFDurPRRyc2R+G?= =?iso-8859-1?Q?LynZ1bo+GLvGl4zpRBpM4AMXLxDxhFIKC9S4GWgGpOpftnyI9cUmg/nZP9?= =?iso-8859-1?Q?4PtmSZgm7wM5emZVosZjQrujuXsJB1NOn5AC0ZTKDBfEBkTOOPLVy4owtA?= =?iso-8859-1?Q?2w6N5qYcw6AIos33wSgZ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?= =?iso-8859-1?Q?cZfLSs3jUwIPzhr8/Xc2wgc7bUCTo4Mz82YBrDZ/AF3V8UrF0fzlSG1IWE?= =?iso-8859-1?Q?fC+CbPeK8yEBVPhmEM/EDJtEJiVLR9xpJuaV9vctQ9J8NwEr8NfLZyjTzG?= =?iso-8859-1?Q?hefyKYDRWok4orjmLhlWepNrfgMoKP6xPPcgzmeztdovLQPRuhLiFb1VM9?= =?iso-8859-1?Q?3bcGU/FZYaUk4vUI1pA=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: cosector.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: LO2P123MB6213.GBRP123.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 214bf7ca-3801-46ea-7173-08db0a1958a0 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Feb 2023 21:13:38.0114 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 185280ba-7a00-42ea-9408-19eafd13552e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 8RJ6hzgdDoLSkzP6mFtgjWoRpSfoEwG3pXGFoczyy5sP+ICQIUfXBs1FutwdBf0rCweZM8FTV55ZrGLYMK9DnDOCK0jaZqh+JxrIWLZ9HQw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO0P123MB7296 Received-SPF: pass client-ip=2a01:111:f400:7e1b::628; envelope-from=thomas.worthington@cosector.com; helo=EUR05-AM6-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, RCVD_IN_DNSWL_NONE=-0.0001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675891177; 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=i05yuRNaWVnVLBOXsGZfwyob54bRTWip63FTMqkza/0=; b=aruNv2R5Lqs8vUF3/2Vd2UmHkM68igjD0bi04gQZozKLR6SzQYi6CnUqd1OVEx2y4mQ6vm MfB25XoH852D5D+7k3RIfcVdBcAeyDbBOcDK0I/jn7xdGJPPWcL6icv4v2exmgMFE42x+f wf+YZ2ZtZY7jGRQuzRSISeBr7DKT2+18HbwsaoSWNG9alYkpmNQPUiGY+UtNvvc8QGqDuK OFPfxdWx+0UlQrXXmhpZu8y2pADtZg7Dbr+eKmR2jk/b25cNNdw/jfhlzkVAjWvd2Hn+Ah 1Bna+bPfOXhAHLOzPku1gNSOImUg7cO2mzRAHhL96Hroc5rRD+aoxweXFs947Q== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=cosector.com header.s=selector2 header.b=aVvvIE10; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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=cosector.com ARC-Seal: i=2; s=key1; d=yhetil.org; t=1675891177; a=rsa-sha256; cv=pass; b=PUafmBH4gJ+N3YLpUUJt0YTcvmQpOuP+Hx/AYvtKujwW+VnV5XZ9ittBmK9vvQRf52GsJ/ VNX2+KHeOe4NCNjVdXoBg/9qxJbnqB7pOCYnuQFcc6ldKTQ1+gUc0PYKIgpEhMT+Vz2TbJ hsyfkVY2LI/nAhgC6P76xgJSn2cXohlQr+g+4HinZnDq8o8To07xzfA1twBWactXavigH8 +qFXVtc0NAFZ3QE4DvVyd0/qJ9p26VyteUmmV0XPBvU0PZOqlqSjOMNt6IsmeV77SZgOHz Y/DgErvUKw0FbQ322e6NKf9X2QsH359r93gh4812leJmjYHD4TJyru4ulvWlkw== X-Spam-Score: -10.60 X-Migadu-Queue-Id: A27D5A88A X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=cosector.com header.s=selector2 header.b=aVvvIE10; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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=cosector.com X-Migadu-Spam-Score: -10.60 X-TUID: +ALxdbjNj7sY Well, bloody hell. I can't replicate now. It was about four weeks ago I tripped over=20 this and I absolutely saw it in action repeatedly - I could see=20 gnuplot loading the same file in its process buffer, and only one=20 file being created on-disc too. Maybe I updated org since then, but I didn't think so. Sorry to have wasted your time. If it comes back I'll let you=20 know. Computers! Who'd have 'em? Thomas On Wed, Feb 08 2023, Ihor Radchenko wrote: > Thomas Worthington writes: > >> org-babel-gnuplot-process-vars in ob-gnuplot.el makes a=20 >> temporary file to store a table imported from the current org=20 >> file using :var >> >> However, the name of this file does not include the name of the >> variable or any similar field unique to the data. This means=20 >> that if >> you want to plot data from two tables, they both get the same >> filename and consequently the second overwrites the first and=20 >> the >> data is incorrect. > > May you provide an example of such problem? > > I just tried > > #+name: table1 > | 1 | 1 | > > | 2 | 2 | > | 3 | 3 | > | 4 | 4 | > | 5 | 5 | > > #+name: table2 > | 1 | -1 | > > | 2 | -2 | > | 3 | -3 | > | 4 | -4 | > | 5 | -5 | > > #+begin_src gnuplot :var x=3Dtable1 y=3Dtable2 :cache no > plot x, y w l > #+end_src > > And both the tables are correctly plotted.