From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QCj1C16Kh2BCOgAAgWs5BA (envelope-from ) for ; Tue, 27 Apr 2021 05:51:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id FBySB16Kh2DzYAAAB5/wlQ (envelope-from ) for ; Tue, 27 Apr 2021 03:51:58 +0000 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 1627A1D1D0 for ; Tue, 27 Apr 2021 05:51:57 +0200 (CEST) Received: from localhost ([::1]:34296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbElP-0000e0-OP for larch@yhetil.org; Mon, 26 Apr 2021 23:51:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbEkR-0000bl-28 for emacs-orgmode@gnu.org; Mon, 26 Apr 2021 23:50:55 -0400 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:39737) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbEkO-0003rM-Jl for emacs-orgmode@gnu.org; Mon, 26 Apr 2021 23:50:54 -0400 Received: by mail-pg1-x534.google.com with SMTP id s22so20324709pgk.6 for ; Mon, 26 Apr 2021 20:50:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=bPziyyvjqI37W75opRyolV3xtNsN7skvmqgFZqrPfEg=; b=bfD+zRnmjehQVUzS83Efe9VhUVe4LjaBaHHWon3g97kq4q7qCBcR9ht+ITYa1d+Vsb O0ohqAetSYLvk5AH+HNJ6HxqpNL6ggzRTIyGHeSpG/xZyvso1N6S/N30NS4R9A4OOIKr fVtkHsaUIqj0ww5m01MHcVNyFx8/26emibzNhiknhZiZgThCp7+vXo7pD0Vcx4OKTe0x vDmH1XTgvoEvdtkQDUItti8LEql7yu9eK9U2ooBxS8uizeyx6dMvd1IKgASsz9PIW8R0 7rqLXUmEEFsQAi2YQcEHWnf0STDdfpejQMVGdDC7O48XEK1v8mfBvQcA+Io5yiEghOqh aq+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=bPziyyvjqI37W75opRyolV3xtNsN7skvmqgFZqrPfEg=; b=DresySK59FqeP0Td/cyh2ggOVjbsuD75rqPGJ1o9DaKvOLK5/ypuEJCZmHcy7owrsW 3wK48J4cSxyWCT7F01pQ1H7GJvHZzts3aNdOqqJRUBWJin9VhpZlHmQZb10kkLtSAUXW Wafzdc8PagROMsRxh+FdKJclz09EC8dcjL3wb5Rl24ZH4RjPwnT8He5NalDzwE5OM/+o xKdWL4VmsXak2L2+xSgQeLhBhvxyRd+fvoy3cmTDleut3+ULu+L4Ma5CRJs7qgNM8ssx /C0Dui6bzRSEchEu1qAOuvKVUHb5Wty0Pulj4mBk1oobMiu7yfmiQB10hEC4a/D8H5v4 BB3Q== X-Gm-Message-State: AOAM53106wkIbm0/ebfYs+rBWFXDwRkyGee2K5JRg/lyrWKVecjh9dKT RUpM29Bto9LFAg5lLNtRX/Q= X-Google-Smtp-Source: ABdhPJzPi2il0mV1JyYjxc5CuCizrUSQGKJh+dJyEZ59KEvEcm/tLBWRLchPdhSltwQv0rQr1nOgmA== X-Received: by 2002:aa7:8001:0:b029:272:7347:9b58 with SMTP id j1-20020aa780010000b029027273479b58mr14043556pfi.1.1619495451275; Mon, 26 Apr 2021 20:50:51 -0700 (PDT) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id j123sm1005423pfg.111.2021.04.26.20.50.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Apr 2021 20:50:50 -0700 (PDT) References: <87r1ix565x.fsf@gmail.com> <87zgxkmmf4.fsf@localhost> User-agent: mu4e 1.4.15; emacs 28.0.50 From: Timothy To: Ihor Radchenko Subject: Re: Bug: org-plot gives Invalid function error In-reply-to: <87zgxkmmf4.fsf@localhost> Message-ID: <87czug5qsp.fsf@gmail.com> Date: Tue, 27 Apr 2021 11:50:47 +0800 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::534; envelope-from=tecosaur@gmail.com; helo=mail-pg1-x534.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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619495517; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bPziyyvjqI37W75opRyolV3xtNsN7skvmqgFZqrPfEg=; b=a8oSOQWcqjKFLtbYfLeYfH/DbUbbAY/YINkXZYa5a0PTR2hapJxhmGaVXJnjw/Sl6orvmc bkhJfQwiqR7iuKnjo17Vof8BA0zzpghxCw6SbXii0CHQUGUBE/hVF6ddbJd+x/kYPMYl9q WNESsnOyPzUwOB8BsKH5tyYAvOC4tGYxn6UAxKSU4K+AG77Ztjd4FwQyXZhkN7RL6JwHrs WryoL/G6GdpBUHZCATVy6TmSJ+jKuRfVtX6V2QbMSuXQrdXo+TSVpvFFhLpQnLndnR4DkZ 6JcgcpKaq7nAIrJSY+MK/Tt7kmm2tBKzE0lJkYKXUkDj9/Tn+/5HmUlMsJ7gJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619495517; a=rsa-sha256; cv=none; b=Nt4A+AfIjyTJUMWvPZyvZHhbfQwO46/1LaSd/rsM8eQi5j0ateRrds4K6zDRV2fstlSnM0 28MWjLyIjE1E6BaJWNRPswl1VHJAeiUEohPQ54a/Z12cwH0yxNdIqyyB48SVal3u/BT0W8 OcNguPmx58cJ8bXdcckHZh/b0l2sj3sNs58jD57d+6CrZ/Bkk5/xnnm7UH+oCphz6ep3WI tErxR8/9MtvSzzkifdcCA41zEUwvbntRnIw4+WJhmgx629uC9GK0qYC/DjYmZKiArP1P2+ S73rpj7oJKOtQ4/TxdaXipB8zttUBIHHTrDEXZoTxJro8Bg3mEY2nWI5oRhh+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=bfD+zRnm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=bfD+zRnm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 1627A1D1D0 X-Spam-Score: -1.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: aM/QGvDygSZ1 Ihor Radchenko writes: > ob-gnuplot does not refresh gnuplot session. > > A quick look through org-plot code shows that gnuplot session is also > preserved: That's why the reset command is run: https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-plot.el#L560 >From the docs: > The reset command causes all graph-related options that can be set > with the set command to take on their default values. This command is > useful, e.g., to restore the default graph settings at the end of a > command file, or to return to a defined state after lots of settings > have been changed within a command file. Please refer to the set > command to see the default values that the various options take. > > The following set commands do not change the graph status and are thus > left unchanged: the terminal set with set term, the output file set > with set output and directory paths set with set loadpath and set > fontpath. Wouldn't this be sufficient? -- Timothy