From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ido Magal Subject: Embedded code Date: Mon, 17 Jan 2011 08:06:22 -0800 Message-ID: <2324250583714673900@unknownmsgid> Mime-Version: 1.0 (iPhone Mail 8C148) Content-Type: text/plain; charset=UTF-8 Return-path: Received: from [140.186.70.92] (port=52185 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PerbE-0006PG-5Z for emacs-orgmode@gnu.org; Mon, 17 Jan 2011 11:06:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PerbD-0004rw-18 for emacs-orgmode@gnu.org; Mon, 17 Jan 2011 11:06:31 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:58094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PerbC-0004rq-SV for emacs-orgmode@gnu.org; Mon, 17 Jan 2011 11:06:30 -0500 Received: by wwb17 with SMTP id 17so5346255wwb.30 for ; Mon, 17 Jan 2011 08:06:26 -0800 (PST) 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: "emacs-orgmode@gnu.org" Hello, Is it possible to put code in a document such that it gets evaluated when the document is opened? For example, I'd like to have a link-back section in each note. I'm aware of babel but I neither understand how to make it auto-evaluate on open nor do i know if making it compact ( and avoid separate code and result blocks ) is possible. Thanks in advance.