From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Rainer Subject: Re: Difference between eval and export Date: Fri, 26 Sep 2014 15:17:22 +0200 Message-ID: References: <28C8F16D-2F4D-441A-8556-C1BF087F797E@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXVOt-0005ud-3H for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 09:17:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXVOs-0002nL-Be for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 09:17:31 -0400 Received: from mail-wg0-x233.google.com ([2a00:1450:400c:c00::233]:48469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXVOs-0002lh-5J for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 09:17:30 -0400 Received: by mail-wg0-f51.google.com with SMTP id b13so1132405wgh.34 for ; Fri, 26 Sep 2014 06:17:24 -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: Grant Rettke , emacs-orgmode@gnu.org thanks Grant for this information. I was just wondering, because it seemed to me that some environment = variables (from the shell) are present in the, while they some (LC_ALL) = are not present in the export process.=20 In my case, the export call fails with an error message, while there is = no problem if I evaluate source block per source block from the buffer. At present I am therefore looking for a way to specify environment = variables 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 = and the export of a buffer is in terms >> of the process in which the code is evaluated. >=20 > 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. >=20 > 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.