emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pasting an image with org-download in org-capture buffer


From: Alexei Gilev
Subject: Pasting an image with org-download in org-capture buffer
Date: Thu, 8 Dec 2022 17:12:22 +0200


Hi, 

I'm pretty sure somebody must have come with a solution for this basic task.

I want to paste a screenshot while in org-capture buffer.

However, org-download takes saves the screenshot image in a (already existing otherwise created) folder with the same name as the buffer the org-capture will save the text into.

However, org-capture buffers are indirect buffers, so the buffer-file-name is nil, so it fails.

How is it possible to tell Emacs to get this info from the org-capture buffer rule itself? How to get this path and save the images while in the org-capture indirect buffer?

The other solution is just to capture, and then open it and paste the image, but that defeats the purpose of the org-capture buffer itself.

Thanks so much in advance, 

A.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]