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

2022-12-10 Thread Max Nikulin
On 10/12/2022 17:08, Ihor Radchenko wrote: Max Nikulin writes: ... but recently added `org--confirm-resource-safe' is affected by this kind of bugs. May you elaborate? `org--confirm-resource-safe' uses variable, not a function. I called `org-tree-to-inderect-buffer', switched to the

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

2022-12-10 Thread Ihor Radchenko
Max Nikulin writes: > ... but recently added > `org--confirm-resource-safe' is affected by this kind of bugs. May you elaborate? `org--confirm-resource-safe' uses variable, not a function. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

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

2022-12-08 Thread Max Nikulin
On 08/12/2022 22:12, Alexei Gilev wrote: However, org-capture buffers are indirect buffers, so the |buffer-file-name is nil, so it fails.| Org sources are full of (buffer-file-name (buffer-base-buffer)) expressions. Unfortunately there are enough bugs due to direct usage of

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

2022-12-08 Thread Alexei Gilev
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)