Skip to content

Open hyperlink function by ID property fails. #854

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cagechi opened this issue Jan 17, 2025 · 1 comment
Closed

Open hyperlink function by ID property fails. #854

cagechi opened this issue Jan 17, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@cagechi
Copy link

cagechi commented Jan 17, 2025

Describe the bug

Open fails if the newline code of the hyperlinked file is CR+LF.

FILE.A (FileFormat=DOS)

* TITLE
[[id:05b06fb1-9862-4704-8486-034882cc7c65][TEST]]

FILE.B (FileFormat=DOS)

:PROPERTIES:
:ID: 05b06fb1-9862-4704-8486-034882cc7c65
:END:
#+TITLE: TEST

If I change the newline code in FILE.B to LF(FF=Unix), the jump function works correctly.

Steps to reproduce

  1. Open org file (e.g. FILE.A).
  2. Move cursor to hyperlink.
  3. <Leader>oo

Expected behavior

Open linked files

Emacs functionality

No response

Minimal init.lua

-- Enter your minimal_init.lua here

Screenshots and recordings

Image

OS / Distro

Windows 11

Neovim version/commit

v0.10.3

Additional context

No response

@cagechi cagechi added the bug Something isn't working label Jan 17, 2025
@kristijanhusak
Copy link
Member

Issue should be fixed on latest master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants