~michel-slm/elpher

Image mode integration?

Christopher Howard <christopher@librehacker.com>
Details
Message ID
<87h66ugopj.fsf@librehacker.com>
DKIM signature
missing
Download raw message
Hi, I was wondering if it might be possible to have, in some way or another, a tighter integration with Image Mode when looking at image files with Elpher? If I do push-button (RET) on a gemini link to an image file, elpher brings up that image in the *elpher* buffer, which is great. But the buffer is still in elpher mode, and there are no functions like image-increase-size, image-rotate, etc. which you get while in Image Mode. These are handy when, e.g., when the image is too big to be comfortably viewed all-at-once in the window, or I want to do a quick rotation on an astronomy photo, due to telescope nuances.

Maybe something as simple as a elpher command that reopens the image in another buffer, in image mode...?

I see I can switch to Image Mode myself, with image-mode, which works, but I get one error (unknown-image-type "Cannot determine image type"). And then if I switch back to elpher-mode, with the goal of using commands like elpher-back (-), this is broken.

I see there is an image-minor-mode, but I think it is not what I am wanting.

If worse came to worse, I could throw together a bit of elisp to download the file and open it in a new buffer, but it seems like some kind of feature for this in elpher itself would be appropriate.

-- 
馃摏 Christopher Howard
馃殌 gemini://gem.librehacker.com
馃寪 http://gem.librehacker.com

讘专讗砖讬转 讘专讗 讗诇讛讬诐 讗转 讛砖诪讬诐 讜讗转 讛讗专抓
Reply to thread Export thread (mbox)