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 created

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 `buffer-fil