Visuwesh <visuwe...@gmail.com> writes: >> Visuwesh, could you take a look? > > I have multiple deadlines to meet. Once I'm relatively free, I can take > a closer look at this.
Sure. There is no rush. > PS should we move this to the Org ML? Right. Done. > [ஞாயிறு ஏப்ரல் 27, 2025] Ihor Radchenko wrote: > >> Thomas Ramsauer <thomas.ramsa...@posteo.de> writes: >> >>> The new org-yank functionality for attaching e.g. screenshots to >>> org-documents is really nice. >>> But sometimes an image would need to be linked to in different >>> documents. >>> With the following settings however, a second linking is not possible as a >>> "File >>> already exists" error is triggered before the link is created. >>> >>> (when (>= emacs-major-version 30) >>> (setq org-yank-dnd-method 'attach) >>> (setq org-yank-dnd-default-attach-method 'cp) >>> (setq org-yank-image-save-method tr/org-download-directory)) >>> >>> I guess this is triggered in org--image-yank-media-handler. > > Can you provide a step by step recipe to reproduce the issue starting > from emacs -Q? I think I understand why this happens but I would like > to be sure. > -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>