[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40155: 27.0.90; `math-truc' called with `nil' during `calc-graph-fas
From: |
Narendra Joshi |
Subject: |
bug#40155: 27.0.90; `math-truc' called with `nil' during `calc-graph-fast' call |
Date: |
Sat, 28 Mar 2020 14:58:06 +0100 |
Thanks Mattias. I think it never worked because the code is supposed
to add "ls <the number stored in LineStyles variable" into the buffer
but there seems to be no place which adds "ls" to the command. I will
open a new bug report for this.
Best,
Narendra
On Sat, Mar 28, 2020 at 2:35 PM Mattias Engdegård <mattiase@acm.org> wrote:
>
> 27 mars 2020 kl. 21.54 skrev Narendra Joshi <narendraj9@gmail.com>:
>
> > Thanks for the explanation. The patch fixes the original issue and
> > other calculations I tried didn't seem to be affected.
>
> Much appreciated -- pushed to emacs-27.
>
> > I found out that `calc` doesn't set the LineStyles (and maybe
> > PointStyles as well but I am not sure how to hand those over to
> > gnuplot command) properly for the gnuplot command. I think it should
> > do something similar to the patch I have attached.
>
> Thank you, but I'm not sure if it's quite that easy. The function
> (calc-graph-set-styles) seems to parse a plot command in order to modify it.
> Has this code never worked, or is it just Gnuplot's syntax that has changed?
>
> In any case, I'm closing this bug since the math-trunc error is fixed. You
> can open a separate bug for the LineStyles and PointStyles problems, and
> describe what it's all about.
>