Skip to content
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

Cannot follow an in-file link to a headline with colon in title #766

Open
seflue opened this issue Jun 29, 2024 · 1 comment
Open

Cannot follow an in-file link to a headline with colon in title #766

seflue opened this issue Jun 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@seflue
Copy link
Contributor

seflue commented Jun 29, 2024

Describe the bug

When a headline includes a colon, the minimal example (see below) gives the error message:

Unsupported link protocol: "*Example"

Steps to reproduce

Copy the minimal example into an agenda file and try to follow the link:

* Example: a headline with colon

* another headline
Opening [[*Example: a headline with colon][this link]] will not work

Expected behavior

Following the link should jump to the expected headline.

Emacs functionality

Not tried, but if it doesn't work in emacs, I consider this also a bug.

Minimal init.lua

Not relevant for reproducing the bug.

Screenshots and recordings

No response

OS / Distro

Manjaro Linux

Neovim version/commit

0.10

Additional context

I would tackle the bug on my own as soon as I have time.

@seflue seflue added the bug Something isn't working label Jun 29, 2024
@iicurtis
Copy link

I was about to create a similar issue. ID links ([[id:][description]]) are unable to use isoformat (YYYY-MM-DDTHH:MM:SS.ffffff) due to colons : being stripped from the ID parsing. I believe it is likely this is from the same problem.

Example: '2019-05-18T15:17:08.132263' does not in nvim-orgmode, but does work in emacs. Was this a terrible format to use for my IDs? Maybe, but it seemed more natural than timeslugs, which are the more common alternative.

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