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

Is there any way for automatically recognizing if a page exists #10

Open
mbrockman1 opened this issue Feb 2, 2017 · 3 comments
Open

Comments

@mbrockman1
Copy link

For example, if I am writing a page about the sun.

The Sun
The sun emits photons.

and I already have a page called "photons", is there any way for org to automatically link the word photon to the page?

@caiorss
Copy link
Owner

caiorss commented Mar 14, 2017

and I already have a page called "photons", is there any way for org to automatically link the word photon to the page?

I am sorry for the delay. I would be very hard to implement and would be ambiguous to Emacs if you had a page "photons", "photons captured by algae" and another page "photons and photoelectric effect".

There is a very fast command to insert a link at point to a given page. Just enter the command M-x org-wiki-insert and it will show you all pages available and it narrows them when you type and then you select the page you want, let's say phontons. It will insert a link to the page phontons at point like this:

  [[wiki:Date Time calculations in computer programming][Date Time calculations in computer programming]]

That will be displayed as:

Date Time calculations in computer programming

@WillForan
Copy link

https://github.com/gregdetre/emacs-freex has this, but apparently doesn't play well with orgmode

@caiorss
Copy link
Owner

caiorss commented Jul 12, 2017

This feature would be broken if the you had some page with name containing spaces or some theme containing spaces like 'date computer programming'. The command M-x org-wiki-insert is more reliable and not always you would want a hyperlink to the word.

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

3 participants