shx-for-emacs
shx-for-emacs copied to clipboard
shx can't display remote image files
Thank you for developing shx. It really makes emacs shell buffers better.
When I open a remote shell, I can't use the :view command to display an image. I get the following error
ubuntu@vdc:~$ :view Snowflake.png
convert: unable to open image `/ssh:ubuntu@vdc:/home/ubuntu/Snowflake.png': No such file or directory @ error/blob.c/OpenBlob/2924.
convert: no images defined `/tmp/tmp4vDiai.png' @ error/convert.c/ConvertImageCommand/3229.
Because shx is trying to run convert locally but passing it a tramp file name.
Yeah, this is definitely something that can be improved. I've got my eyes on it. :)
This one is taking a little longer to figure out. I'm not sure why, but running (insert-image (create-image "xyz.png")) in tramp/remote buffer seems to insert an empty square. Meanwhile C-x C-f xyz.png or :e xyz.png opens a buffer with the image correctly displayed.
wonder if we're able to make progress on this? really need this feature in my workflow, thanks!
Thank you for giving this a bump. I'll prioritize seeing if I can find a way around the the hurdle I encountered in the last attempt.