Alex Hughes <[email protected]> writes:

> I think I have identified a bug in org-mode when trying to attach a
> document such that the attachment link is a file link. Running emacs
> without any config using the -Q flag, then evaluating:
>
> (setq org-attach-dir-relative t
>     org-attach-store-link-p 'file
>     org-yank-dnd-method 'attach
>     org-attach-use-inheritance t)
>
> I would expect dragging and dropping an image to store a file link to the
> attached file, instead it stores an attachment link - i.e.
> org-attach-store-link-p behaves the same if it is set to 'file or if it is
> set to 'attach.
>
> Is it possible for someone to fix this?
> (note I am using org version 9.7.31 and emacs version 30.2)

I am unable to reproduce this.
I am getting a file link in org-stored-links after dropping an image
from browser.

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

Reply via email to