From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul R Subject: Re: Embedded elisp formulas, was: Spreadsheet and weighted means Date: Wed, 01 Oct 2008 22:29:01 +0200 Message-ID: <87prmk5ab6.fsf@gmail.com> References: <87wsh7w589.fsf@selenimh.orion.org> <9136F031-BBCD-4A80-A117-6047C5D3F777@uva.nl> <87y718nu0l.fsf@selenimh.orion.org> <871vz0t7z5.fsf_-_@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kl8Jx-0004R7-6T for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 16:29:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kl8Js-0004Qk-Pq for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 16:29:15 -0400 Received: from [199.232.76.173] (port=38460 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kl8Js-0004Qh-KJ for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 16:29:12 -0400 Received: from nf-out-0910.google.com ([64.233.182.184]:14150) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kl8Jr-000485-Cs for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 16:29:12 -0400 Received: by nf-out-0910.google.com with SMTP id c7so341469nfi.26 for ; Wed, 01 Oct 2008 13:29:09 -0700 (PDT) In-Reply-To: <871vz0t7z5.fsf_-_@gmail.com> (Eric Schulte's message of "Wed\, 01 Oct 2008 12\:45\:34 -0700") 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: Eric Schulte Cc: Carsten Dominik , emacs-orgmode@gnu.org On Wed, 01 Oct 2008 12:45:34 -0700, "Eric Schulte" said: > This raises an issue I've been running into recently, If I have > a multi-line elisp function (I guess same issue would apply for > multi-line shell commands) that I want to use from an org file (for > example to compute table columns), is there a way to save and load > the function from the org file? I've tried multiline [[elisp: ]] > links but they don't work well, maybe something like... maybe you can use the emacs facility to load code when visiting a file. For more information, read the following info node : File: emacs, Node: Specifying File Variables -- Paul