emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Keeping a wiki with org-mode
Date: Sat, 13 Jun 2009 14:56:56 -0500	[thread overview]
Message-ID: <87k53fhppz.fsf@fastmail.fm> (raw)
In-Reply-To: <1e5bcefd0906121432hfc9efc1sf09710568c6c74d0@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Fri, 12 Jun 2009 16:32:36 -0500")


Hi Marcelo,

Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:

> Hello,
>
> I wonder what is the best way to implement a wiki with org? I know you
> can hyperlink to anything, but what I was thinking was something
> automatic, like what WikiDPad does or Tomboy -- like having wikiwords
> (CamelCase) automatically linked as you type to a filename in the
> system (a specific directory you specify for the wiki). If it is not
> possible, it could be a nice addition for a future org version.
>

As others have already mentioned, org-mode does not support CamelCase
words. But it's method for creating links is quite nice and allows org
to function very easily as a wiki.

To make org-mode more "wiki-like," I add the following to my .emacs
file. The first variable has to come *before* org is loaded:

--8<---------------cut here---------------start------------->8---
(setq org-return-follows-link t)
(setq org-open-non-existing-files t)
--8<---------------cut here---------------end--------------->8---

To create a link to a new file/wiki page, I simply type C-u C-c C-l and
the name of the file I want to link to (e.g., a-new-file.org). Org
nicely prompts me to add a description (e.g. "A new file"). The result
is the following link:

[[file:a-new-file.org][A new file]]

Then, all I need to do is place the cursor on the link, hit return, and
voilà, I am transported to the new page.

That said, if you'd like something that functions more like a
conventional wiki (CamelCase words, backlinks, interwiki links, etc.),
you can always take a look at Muse Mode.

Regards,
Matt

  parent reply	other threads:[~2009-06-13 19:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-12 21:32 Keeping a wiki with org-mode Marcelo de Moraes Serpa
2009-06-12 21:52 ` Russell Adams
2009-06-12 22:09   ` Marcelo de Moraes Serpa
2009-06-12 22:35     ` Russell Adams
2009-06-12 22:41     ` Eric Schulte
2009-06-12 23:26     ` Sebastian Rose
2009-06-12 23:30       ` Marcelo de Moraes Serpa
2009-06-13  0:03         ` Dan Davison
2009-06-14  6:17           ` Carsten Dominik
2009-06-13 19:56 ` Matthew Lundin [this message]
2009-06-13 20:17   ` Sebastian Rose
2009-06-14  6:13     ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k53fhppz.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).