orgmode icon indicating copy to clipboard operation
orgmode copied to clipboard

Following orgfile links like [[file:../somedir/some.org]] opens a file "false"

Open seflue opened this issue 1 year ago • 3 comments

Describe the bug

I already have a fix for the bug, PR will follow.

Steps to reproduce

Create a link to an existing org file in a parent or sibling directory, like [[file:../somefile/some.org]] (autocompletion will help).

Try to follow this link with open at point.

Expected behavior

The file targeted by the link should open.

Emacs functionality

No response

Minimal init.lua

Omitted, because I already have the fix.

Screenshots and recordings

No response

OS / Distro

OS independent

Neovim version/commit

0.9.1

Additional context

No response

seflue avatar Sep 03 '23 11:09 seflue

@kristijanhusak the fix I implemented relies on the refactoring I did in PR #588. I never heard back of you, but it would be very helpful to get this merged, so I can continue my work on the hyperlinks.

seflue avatar Sep 03 '23 11:09 seflue

The fix can be inspected here. It also supports simple relative org links like [[../somedir/some.org]]

seflue avatar Sep 03 '23 12:09 seflue

Hey, I'll take a look at that PR this week. Sorry for delaying it.

kristijanhusak avatar Sep 03 '23 14:09 kristijanhusak