emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Johannes Rainer <johannes.rainer@gmail.com>
To: Grant Rettke <gcr@wisdomandwonder.com>, emacs-orgmode@gnu.org
Subject: Re: Difference between eval and export
Date: Fri, 26 Sep 2014 15:17:22 +0200	[thread overview]
Message-ID: <AEC8ED0E-1A0C-48E7-9877-A0D2CE8FDFE5@gmail.com> (raw)
In-Reply-To: <CAAjq1meS893n_=kZEaFWDKjX_PmJnF82k+8bFZXE-g0+so6LRQ@mail.gmail.com>

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. 
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 <gcr@wisdomandwonder.com> wrote:

> On Fri, Sep 26, 2014 at 5:43 AM, Johannes Rainer
> <johannes.rainer@gmail.com> 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.
> 
> 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.

  parent reply	other threads:[~2014-09-26 13:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-26 10:43 Difference between eval and export Johannes Rainer
     [not found] ` <CAAjq1meS893n_=kZEaFWDKjX_PmJnF82k+8bFZXE-g0+so6LRQ@mail.gmail.com>
2014-09-26 13:17   ` Johannes Rainer [this message]
2014-09-26 13:20     ` Grant Rettke
2014-09-26 18:44       ` Rainer M Krug
2014-09-26 19:58         ` Grant Rettke
2014-09-29 11:14           ` Johannes Rainer
2014-09-29 23:32             ` Grant Rettke
2014-09-30  6:12               ` Johannes Rainer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AEC8ED0E-1A0C-48E7-9877-A0D2CE8FDFE5@gmail.com \
    --to=johannes.rainer@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=gcr@wisdomandwonder.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).