From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: Keeping a wiki with org-mode Date: Sat, 13 Jun 2009 14:56:56 -0500 Message-ID: <87k53fhppz.fsf@fastmail.fm> References: <1e5bcefd0906121432hfc9efc1sf09710568c6c74d0@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFZLf-0006Cj-HV for emacs-orgmode@gnu.org; Sat, 13 Jun 2009 15:57:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFZLc-0006Bc-0g for emacs-orgmode@gnu.org; Sat, 13 Jun 2009 15:57:07 -0400 Received: from [199.232.76.173] (port=38194 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFZLb-0006BW-Me for emacs-orgmode@gnu.org; Sat, 13 Jun 2009 15:57:03 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:46066) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MFZLb-0001VY-AM for emacs-orgmode@gnu.org; Sat, 13 Jun 2009 15:57:03 -0400 In-Reply-To: <1e5bcefd0906121432hfc9efc1sf09710568c6c74d0@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Fri, 12 Jun 2009 16:32:36 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marcelo de Moraes Serpa Cc: emacs-orgmode@gnu.org Hi Marcelo, Marcelo de Moraes Serpa 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=C3=A0, 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