From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: Difference between eval and export Date: Fri, 26 Sep 2014 08:20:00 -0500 Message-ID: References: <28C8F16D-2F4D-441A-8556-C1BF087F797E@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXVRP-0007uU-Oj for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 09:20:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXVRO-0003gE-OZ for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 09:20:07 -0400 Received: from mail-ob0-x22e.google.com ([2607:f8b0:4003:c01::22e]:49293) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXVRO-0003Uo-Jc for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 09:20:06 -0400 Received: by mail-ob0-f174.google.com with SMTP id m8so9790773obr.19 for ; Fri, 26 Sep 2014 06:20:00 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Johannes Rainer Cc: "emacs-orgmode@gnu.org" My eye is on you post about that topic because I would also like to know. On Fri, Sep 26, 2014 at 8:17 AM, Johannes Rainer wrote: > thanks Grant for this information. > > I was just wondering, because it seemed to me that some environment varia= bles (from the shell) are present in the, while they some (LC_ALL) are not = present in the export process. > In my case, the export call fails with an error message, while there is n= o problem if I evaluate source block per source block from the buffer. > > At present I am therefore looking for a way to specify environment variab= les in the export process, but I have no idea how to do that... > > On 26 Sep 2014, at 15:11, Grant Rettke wrote: > >> On Fri, Sep 26, 2014 at 5:43 AM, Johannes Rainer >> wrote: >>> I am wondering what the difference between the eval of a source block a= nd the export of a buffer is in terms >>> of the process in which the code is evaluated. >> >> When you evaluate a source block, it executes in the processed defined >> by your configuration. Then the results of that evaluation are stored >> according to your configuration. For example store the results in an >> example block. >> >> Exporting is the conversion for the org file content into and file >> format. During that process, you can configure whether or not you want >> evaluation of source blocks to occur during that process. > --=20 Grant Rettke gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --Thompson