[திங்கள் செப்டம்பர் 16, 2024] pinmacs wrote:
> Hi, > > So I was using org-download, and I would like to replace it entirely > with yank-media > > and what I am missisng is: > > 1. do a variable for selecting absolute path: to be able to have a file > link that works with absolute path; and the reason is that being > relative, this, does not combine good when you move your latex export > somewhere else (in my case, I usually move it to /tmp/, and from there I > decide when I want to save something persistently), hence it fails, and > I got tired on fixing the links, in fact, the absolute path sometimes is > smaller than the relative one > =file:/tmp/clipboard-20240916T013308.png]]= vs > =[[file:../../../tmp/clipboard-20240916T011913.png]]= This can be done in the org side. I guess adding another defcustom would be the way to go? I don't see how it is possible to make org-yank-image-save-method accept another option. > 2. do a variable that allow a list that would filter and reduce the type > candidates of yank-media. In org-download, everything was png so I was > not having the "Several types available, choose one" with 7 options. But > then is like, oh, maybe I would like to be able to switch between png > (synthetic image), jpg (natural image)... anyway, I hope you see > customizing this is interesting for the users. This needs to be done in the Emacs side. The querying is done in yank-media and nothing much can be done from org-mode.