emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chris Keschnat <chris@catsu.it>
To: emacs-orgmode@gnu.org
Subject: [BUG] org-plot/gnuplot with dates in brackets does not work anymore [9.8-pre (release_9.7.6-97-g90d4ae @ /home/ck/.emacs.d/straight/build/org/)]
Date: Wed, 24 Jul 2024 08:32:23 +0200	[thread overview]
Message-ID: <87r0bje1vs.fsf@catsu.it> (raw)



Hello,
after e0924db3, =org-plot/gnuplot= does not work with dates in brackets anymore.
I am unsure if this syntax is supported, but it was working before.

Example table:

#+PLOT: title:"Daily Temperature Readings" ind:1 deps:(2) type:2d with:linespoints timeind:1
| Date         | Temperature (°C) |
|--------------+------------------|
| [2024-07-24] |             28.5 |
| [2024-07-25] |             29.2 |
| [2024-07-26] |             27.8 |
| [2024-07-27] |             30.1 |
| [2024-07-28] |             31.3 |
| [2024-07-29] |             29.7 |
| [2024-07-30] |             28.9 |

~C-c C-c~ on the PLOT line results in:
#+begin_src conf
  Debugger entered--Lisp error: (wrong-type-argument stringp nil)
    format-time-string(nil (26272 10208))
    org-plot-quote-timestamp-field("[2024-07-24 Wed]")
    org-plot-quote-tsv-field("[2024-07-24 Wed]")
    funcall(org-plot-quote-tsv-field "[2024-07-24 Wed]")
    (setq contents (funcall 'org-plot-quote-tsv-field contents))
    (cond nil (t (setq contents (funcall 'org-plot-quote-tsv-field contents))))
    (progn nil (cond nil (t (setq contents (funcall 'org-plot-quote-tsv-field contents)))))
    (if contents (progn nil (cond nil (t (setq contents (funcall 'org-plot-quote-tsv-field contents))))))
    (when contents nil (cond nil (t (setq contents (funcall 'org-plot-quote-tsv-field contents)))))
  <cut>
#+end_src

Thank you


Emacs  : GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0)
Package: Org mode version 9.8-pre (release_9.7.6-97-g90d4ae @ /home/ck/.emacs.d/straight/build/org/)


             reply	other threads:[~2024-07-24  6:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-24  6:32 Chris Keschnat [this message]
2024-07-24 10:35 ` [BUG] org-plot/gnuplot with dates in brackets does not work anymore [9.8-pre (release_9.7.6-97-g90d4ae @ /home/ck/.emacs.d/straight/build/org/)] Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r0bje1vs.fsf@catsu.it \
    --to=chris@catsu.it \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).