emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG/FR] org-plot: replot on resize [9.7-pre (N/A @ /home/viz/lib/em


From: Visuwesh
Subject: Re: [BUG/FR] org-plot: replot on resize [9.7-pre (N/A @ /home/viz/lib/emacs/straight/build/org/)]
Date: Mon, 17 Jun 2024 10:26:22 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

[சனி ஜூன் 15, 2024] Ihor Radchenko wrote:

> Visuwesh <visuweshm@gmail.com> writes:
>
>>> So, you can set DATA to (list (or dump-func 'org-plot/gnuplot-to-data) 
>>> table num-cols params)
>>
>> Done in the attached patch.
>
> Thanks!
>
>>        ;; Dump table to datafile
>> -      (let ((dump-func (plist-get type :data-dump)))
>> +      (let* ((dump-func (plist-get type :data-dump)))
>
> Why let*?

Oops, leftover change from a previous iteration of the patch.  Now
fixed.

>> +        (setq data-file (org-babel-temp-stable-file
>> +                         (list (or dump-func 'org-plot/gnuplot-to-data)
>> +                               table num-cols params)
>> +                         "org-plot"))
>
> Please add in-code comment explaining why we need 
> `org-babel-temp-stable-file'.

Now done.

Attachment: 0001-org-plot-Make-data-file-stable-for-replot-on-resize.patch
Description: Text Data


reply via email to

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