Re: [PATCH v4] Inline image display as part of a new org-link-preview system

2024-09-17 Thread Ihor Radchenko
Karthik Chikmagalur writes: >> It means that you are scheduling every single preview batch to fire at >> the same time. I think that the timers here should run sequentially - >> (1) fire the first batch without delay; (2) wait org-link-preview-delay >> and fire the next batch; (3) ... > > Done, a

Re: [PATCH v4] Inline image display as part of a new org-link-preview system

2024-09-15 Thread Karthik Chikmagalur
Latest iteration of patch attached. > In theory, we might not need to clear image cache as long as we call > `image-flush' in `org-link-preview-clear'. Removed (clear-image-cache) when refreshing since we run (image-flush) unconditionally in org-link-preview-file. > My hesitance about top-level