emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals-release/org d19660b: ob-gnuplot: Honour :missing argume


From: ELPA Syncer
Subject: [elpa] externals-release/org d19660b: ob-gnuplot: Honour :missing argument
Date: Thu, 30 Sep 2021 23:57:16 -0400 (EDT)

branch: externals-release/org
commit d19660b05b0bda66e8ae5ec64e25a3e06c77eafa
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    ob-gnuplot: Honour :missing argument
    
    * lisp/ob-gnuplot.el (org-babel-gnuplot-table-to-data): Force applying
    `org-babel-gnuplot-quote-tsv-field' to empty table cells when
    converting org tables to gnuplot input.  By default,
    `orgtbl-to-generic' ignores :fmt for empty table cells.  We need to
    set :raw to non-nil AND :backend to non-nil to force custom formatting
    of empty table cells.
    
    Fixes 
https://orgmode.org/list/20210617211347.59e4de56@happy.intern.roklein.de
---
 lisp/ob-gnuplot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ob-gnuplot.el b/lisp/ob-gnuplot.el
index 3c84e4d..8c4a595 100644
--- a/lisp/ob-gnuplot.el
+++ b/lisp/ob-gnuplot.el
@@ -290,7 +290,7 @@ Pass PARAMS through to `orgtbl-to-generic' when exporting 
TABLE."
              (orgtbl-to-generic
               table
               (org-combine-plists
-               '(:sep "\t" :fmt org-babel-gnuplot-quote-tsv-field)
+               '(:sep "\t" :fmt org-babel-gnuplot-quote-tsv-field :raw t 
:backend ascii)
                params)))))
   data-file)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]