On 27/08/2025, Arash Esbati wrote: > many thanks for creating and sharing this. I'm not a heavy > preview-latex user, but I do like your approach since I tend to look at > code at all the time, so your `buframe' version matches my workflow > more.
Indeed, that's the main reason I haven't used the preview package as much. I am now using it more as part of my workflow. > I briefly tried and looked at the code; please find attached my proposed > changes. Mostly docstring and changes from when-let/if-let to the > starred version. Thanks Arash! I've pushed the changes that you suggested. > Another question: How do want to proceed once the code is more mature? > ELPA package or add it to AUCTeX? I am happy for either option. Including it or parts of it in preview.el would be my preference (for example if the buframe code is too specific, at least the simpler 'after-string mode), if there's interest. In any case, I would like to reduce the amount of replicated/copied code in `preview-dvi` by advocating for some changes/fixes to be included in preview.el Best regards, -- Al