From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Joe Bloggs" Subject: org-plot.el bugfix/patch Date: Thu, 28 Sep 2017 22:53:22 +0100 Message-ID: <874lrmcwx9.fsf@it.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxgnh-00063x-LN for emacs-orgmode@gnu.org; Thu, 28 Sep 2017 17:56:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxgne-0003Pz-GL for emacs-orgmode@gnu.org; Thu, 28 Sep 2017 17:56:57 -0400 Received: from nm33.bullet.mail.gq1.yahoo.com ([98.136.217.16]:53243) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxgne-0003P1-5b for emacs-orgmode@gnu.org; Thu, 28 Sep 2017 17:56:54 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain The grid examples in org-plot.el don't work for me because the org-plot sets datafile separator to "\t", so gnuplot can't read the data file properly. Leaving datafile separator at its default value (whitespace) fixes the problem. Regards, Joe -- --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-set-datafile-separator-to-default-whitespace-value.patch >From fafb16f2409a049861fbdd5be8ca95304da01359 Mon Sep 17 00:00:00 2001 From: Joe Bloggs Date: Thu, 28 Sep 2017 22:30:31 +0100 Subject: [PATCH] set datafile separator to default (whitespace) value * lisp/org-plot.el (org-plot/gnuplot-script): Set datafile separator to default (whitespace) value instead of "\t" so that it works with grid example. Using "\t" for datafile separator doesn't work with the grid example in org-plot.org. Using the default whitespace value works. TINYCHANGE --- lisp/org-plot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-plot.el b/lisp/org-plot.el index a8028324b..2818b88df 100644 --- a/lisp/org-plot.el +++ b/lisp/org-plot.el @@ -219,7 +219,7 @@ manner suitable for prepending to a user-specified script." (dolist (el sets) (funcall ats (format "set %s" el))) ; set ;; Unless specified otherwise, values are TAB separated. (unless (string-match-p "^set datafile separator" script) - (funcall ats "set datafile separator \"\\t\"")) + (funcall ats "set datafile separator")) (when x-labels ; x labels (xtics) (funcall ats (format "set xtics (%s)" -- 2.14.1 --=-=-=--