From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Re: Babel, Python and UTF-8 Date: Mon, 06 Dec 2010 11:53:32 +0000 Message-ID: <87y683i0cj.fsf@pinto.chemeng.ucl.ac.uk> References: <87fwuhas6t.fsf@gmail.com> <80bp54a693.fsf@missioncriticalit.com> <87hbew7yvi.fsf@gmail.com> <80k4jsszq4.fsf@missioncriticalit.com> <8739qf2ade.fsf@gmail.com> <87mxokz176.fsf@gmail.com> <87d3pfjkyl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=58039 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPZdi-000688-Sn for emacs-orgmode@gnu.org; Mon, 06 Dec 2010 06:54:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPZdQ-0004sB-3z for emacs-orgmode@gnu.org; Mon, 06 Dec 2010 06:53:53 -0500 Received: from vscani-b2.ucl.ac.uk ([144.82.108.135]:46029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPZdP-0004rd-SS for emacs-orgmode@gnu.org; Mon, 06 Dec 2010 06:53:35 -0500 In-Reply-To: <87d3pfjkyl.fsf@gmail.com> (Dan Davison's message of "Mon, 06 Dec 2010 09:42:58 +0000") 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: Dan Davison Cc: emacs-orgmode@gnu.org Dan Davison writes: > This makes me think of another good use of the sbe ("src block eval") > function. I'm often seeing Org documents with a src block like this, > > #+source: essential-document-config > #+begin_src emacs-lisp > ;; some essential document-specific configuration > #+end_src > > and some instructions saying something like "To use this document, first > evaluate this code block". > > This can be automated by using sbe in a local variables line at the end > of the Org file: > > # Local variables: > # eval:(sbe "essential-document-config") > # End: This is *really* nice. Thanks! -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.3 (release_7.3.211.g6388.dirty)