bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#78037: 30.1; Insert link when using org-yank regardless if file alre


From: Visuwesh
Subject: bug#78037: 30.1; Insert link when using org-yank regardless if file already exists
Date: Mon, 28 Apr 2025 14:47:11 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

[ஞாயிறு ஏப்ரல் 27, 2025] Ihor Radchenko wrote:

> Thomas Ramsauer <thomas.ramsauer@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.

> 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.

PS should we move this to the Org ML?





reply via email to

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