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

Better autocomplete for org-insert-link #783

Open
joshpetit opened this issue Jul 24, 2024 · 2 comments
Open

Better autocomplete for org-insert-link #783

joshpetit opened this issue Jul 24, 2024 · 2 comments

Comments

@joshpetit
Copy link
Contributor

Does this feature exist in Emacs orgmode core?

Yes

Orgmode link

When you do org-insert-link the first autocomplete orgmode would do is for handlers. So for instance you'll get options such as "file, http, ftp" etc. as well as any custom handlers someone may get

When someone selects that handler they will also get the custom autocomplete for that handler function. So for instance if you select the file handler you will get autocomplete for files relative to that directory.

Feature value

This would be useful since when theoretically custom link handlers are added, people will be able to add their own custom autocomplete for links.

Additional context

I think this would be useful for making the linking experience more similar to org-mode. Another issue that could be filed separately is creating files that do not exist when opening a linked file at a point.

I'm also looking to work on these tasks in the coming weeks if you don't mind.

@SlayerOfTheBad
Copy link
Contributor

I believe this could be covered by the pull request I just made. #790

Would you be willing to try it out and see if it suits your needs?

@joshpetit
Copy link
Contributor Author

Yup, that does. Thank you for putting in such great work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants