From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wExdLJjvhmCNawEAgWs5BA (envelope-from ) for ; Mon, 26 Apr 2021 18:51:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0I8dKJjvhmB4cwAA1q6Kng (envelope-from ) for ; Mon, 26 Apr 2021 16:51:36 +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 076E810EA1 for ; Mon, 26 Apr 2021 18:51:36 +0200 (CEST) Received: from localhost ([::1]:51722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lb4SM-0001Mw-RI for larch@yhetil.org; Mon, 26 Apr 2021 12:51:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lb4R0-0001Lj-Ft for emacs-orgmode@gnu.org; Mon, 26 Apr 2021 12:50:11 -0400 Received: from mail-ej1-f44.google.com ([209.85.218.44]:36416) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lb4Qt-0007Na-44 for emacs-orgmode@gnu.org; Mon, 26 Apr 2021 12:50:09 -0400 Received: by mail-ej1-f44.google.com with SMTP id r9so85470333ejj.3 for ; Mon, 26 Apr 2021 09:50:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3Qg+ym+CVpKVPcRddUGemC6aMcrDMI93WQrdXl8gOB4=; b=JPqVO74uPW96fUOFegLXz4//7Bznx54FVCrQ1c5v/GsIPjEN9qKBTRxSa4+Y1QRx0/ +67XzUMMCnySkZgqT3u39G/GKXuAyM7GRau2B5cNdjG4InDwLu0lGUfcpGmSwn7Uo9Yk SKGfhzGniVof4EamTEJ18KfWAYBgYoyl2QOSW+NHof346FMHXM3FBwW/zzbtVL7j99Fx ogtw/omEOB54dQ2kfkNTK69H8UfLGic4DL8ih0KOV6os9Gd7TCodcLffYpr9PTvsVp+c 6uQu5YrkOFgy7m8dBZ5n+pI7MJWFxMUKUqSE8uJCwIObauv8byIC2+hHzY5M1m2RrTMo SE7g== X-Gm-Message-State: AOAM5336ZlFAYw+X3e0RmwtxeqedGX/ST64mkCOhM8NYIqm6Rf/ga/kI KXtodxo4RZInbOPpcz/YZEaNxe0KUHMgxkrMqotmPYg1 X-Google-Smtp-Source: ABdhPJzXajsSO1wTwRso0fKr3PiVGkjHHdis/q++u52vDvD6nxJCh9FKUEFrIg5ga7pX7VLCv+gJjBECxp/ISXPWX60= X-Received: by 2002:a17:906:b251:: with SMTP id ce17mr19769878ejb.333.1619455799460; Mon, 26 Apr 2021 09:49:59 -0700 (PDT) MIME-Version: 1.0 From: ian martins Date: Mon, 26 Apr 2021 12:49:48 -0400 Message-ID: Subject: Bug: org-plot gives Invalid function error To: Org-Mode mailing list Content-Type: multipart/alternative; boundary="000000000000a8083805c0e2ef29" Received-SPF: pass client-ip=209.85.218.44; envelope-from=ianxm1@gmail.com; helo=mail-ej1-f44.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , 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=1619455896; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=3Qg+ym+CVpKVPcRddUGemC6aMcrDMI93WQrdXl8gOB4=; b=LUtKpb7h17l5XOPEMOmt+i1J/Z1JojaE948lN1tVMT5jOkIZuo5gPJmuTIlQJCntgBVL6r /IawMyfdZ1bCX7LSVnNxpneMXlN/ovSFiajY5OiTsNM8k2IYLRAq05Sl2ZeIs/IScYSb/V 5Yxp4bsG1RrxoU4zvl6lYICddt3HEuOcF2AVaHmXuQNmO2GJ6B0Ou+QvOhUot2vfqz3IuD 5Tdk2YtETzlMHipKF/7XhU8RZvs1aSgHoWo7gfnIe/EBK0uAgqUUZRzLQb2bNFHswvY1x0 2QUOY9ZgrdmGuP9PCVyUtf5xIaJ5uiLV1x5R1aT0ssvLJXYgEmC5Gp5J1fprGg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619455896; a=rsa-sha256; cv=none; b=KPhCvdUInmHwgsIzBCOIWhavOq3krSiNGzxlMNbX7MBR6HkDJ/m6sIxA367wf0i1Lv0fgr TuQfQYm3eOyLU+WgONpEwHILNgmgkq5daGCoZM9g2DoohgvYx3v85DIXLT6i13PkK9TE48 65tl/S+ePJkfwTruX5oZa+U0wpid6n70EGB354FIG+Ipu1G9HCeOkaClJQHASrmJ0jWbL0 wJ+7RNomQUI6VxVnudkG9hYLhwjufGGLa12BjFjqcivmaWDcrL1IJ+8qRnKcoLvC2zS+f5 +UbHujw6H9iUhQp8qsDSwA9VsKV6hjbUBx36PvZ+s0KlqZ5JIxs0I0dkD31vOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -2.35 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=jhu.edu (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: 076E810EA1 X-Spam-Score: -2.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: tZn968axRgBi --000000000000a8083805c0e2ef29 Content-Type: text/plain; charset="UTF-8" I went to test the "Refresh inline" patch [1] and found that org-plot is broken for me. it seems to have broken in 1ac45d76e. I tested with =emacs -Q= (but loaded Org from master and gnuplot.el manually). I was running the example from the doc [2]. I tested on linux and mac, both using emacs 26.3, and got the same result. The error message is: org-plot/gnuplot: Invalid function: (dump-func (plist-get type :data-dump)) But if I manually load =org-plot.el= it doesn't give that error, but still doesn't produce a plot. I'm not sure what manually loading =org-plot.el= does since I'd just done a "make clean; make" and restarted. In the second case (after manually loading =org-plot.el=), this is what is in the *gnuplot* buffer: Terminal type is now 'qt' gnuplot> reset gnuplot> set term GNUTERM Terminal type is now 'qt' Options are '0 font "Sans,9"' gnuplot> gnuplot> set title 'Citas' gnuplot> set yrange [0:] gnuplot> set yrange [0:] gnuplot> set datafile separator "\t" gnuplot> plot '/tmp/org-plotiPs0To' using 1:3 with histograms title 'H-index' warning: Skipping data file with no valid points ^ x range is invalid this is the data file: "Chile" 257.72 21.39 "Leeds" 165.77 19.68 "Sao Paolo" 71.00 11.50 "Stockholm" 134.19 14.33 "Morelia" 257.56 17.67 I'll try to look into it more later. [1] https://orgmode.org/list/87r1j0mg56.fsf@gmail.com/ [2] https://orgmode.org/manual/Org-Plot.html#Org-Plot --000000000000a8083805c0e2ef29 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I went to test the "Refresh inline" patch [= 1] and found that org-plot is broken for me. it
seems to have broken in = 1ac45d76e. I tested with =3Demacs -Q=3D (but loaded
Org from master and = gnuplot.el manually).=C2=A0 I was running the example from
=C2=A0= the doc [2]. I tested on linux and mac, both using emacs 26.3, and got the = same result.

The error message is:

=C2=A0 =C2=A0 org-plot/gnu= plot: Invalid function: (dump-func (plist-get type :data-dump))

But = if I manually load =3Dorg-plot.el=3D it doesn't give that error, butstill doesn't produce a plot.=C2=A0 I'm not sure what manually loa= ding
=3Dorg-plot.el=3D does since I'd just done a "make clean; = make" and restarted.

In the second case (after manually loading= =3Dorg-plot.el=3D), this is what is in
the *gnuplot* buffer= :

=C2=A0 =C2=A0 Terminal type is now 'qt'
=C2=A0 =C2=A0 g= nuplot> reset
=C2=A0 =C2=A0 gnuplot> set term GNUTERM

=C2= =A0 =C2=A0 Terminal type is now 'qt'
=C2=A0 =C2=A0 Options are &= #39;0 font "Sans,9"'
=C2=A0 =C2=A0 gnuplot>
=C2=A0 = =C2=A0 gnuplot> set title 'Citas'
=C2=A0 =C2=A0 gnuplot> s= et yrange [0:]
=C2=A0 =C2=A0 gnuplot> set yrange [0:]
=C2=A0 =C2= =A0 gnuplot> set datafile separator "\t"
=C2=A0 =C2=A0 gnup= lot> plot '/tmp/org-plotiPs0To' using 1:3 with histograms title = 'H-index'
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0warnin= g: Skipping data file with no valid points
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0x range is invalid

this is the data file:

= =C2=A0 =C2=A0 "Chile" 257.72 21.39
=C2=A0 =C2=A0 "Leeds&q= uot; 165.77 19.68
=C2=A0 =C2=A0 "Sao Paolo" 71.00 11.50
=C2= =A0 =C2=A0 "Stockholm" 134.19 14.33
=C2=A0 =C2=A0 "Moreli= a" 257.56 17.67
=C2=A0
I'll try to look into it more = later.

--000000000000a8083805c0e2ef29--