graphviz-dot-mode icon indicating copy to clipboard operation
graphviz-dot-mode copied to clipboard

preview doesn't work in windows

Open aachrisg opened this issue 1 year ago • 3 comments

Hi. Enjoying the package.

I noticed the preview doesn't work in windows. The reason is related to running 'dot' with the output to stdout, and loading stdout as a png. But in windows the buffer contents file will be invalid and so not displayed as an image - its possibly because of line endings.

I hacked it to output to a tmp file by using -O when running "dot" and then manually loaded the temp file in emacs.

aachrisg avatar Jan 28 '25 01:01 aachrisg