6

I would like to use Org-mode as a local wiki, and I have just discovered how to link Org-mode files (Cf. http://orgmode.org/manual/External-links.html#External-links).

Now I'd like to link a non-existing Org-mode and when running some command on the link of clicking it, opening it that new Org-mode file in a buffer – similar to creating a new wiki page.

How to achieve this? Is there some built-in method in Org-mode?

9

Just do it? Create a link, e.g.

[[file:./newfile.org][newfile]]

Click on it and emacs creates a new buffer. Then, e.g.,

C-x C-s

to save it.

Being emacs, we probably may have some automatic saving solution, but I do not immediately know how.

  • 3
    This also works for links to headlines not existing yet (will ask if you want to create the headline when following the link). – Erik Sjöstrand Dec 14 '16 at 9:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.