emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: passing LC_ALL environment variable to org export call
Date: Fri, 26 Sep 2014 15:56:38 +0200	[thread overview]
Message-ID: <87ppeiv621.fsf@gmx.us> (raw)
In-Reply-To: B915AF6F-765F-450E-BED5-57C35B079EE0@gmail.com

Hi Johannes,

Johannes Rainer <johannes.rainer@gmail.com> writes:

> I stumbled across a strange problem. I’m using org-mode to perform
> analyses in R and I have one block of R-code in which I use mclapply
> to perform parallel calculations. evaluating this code block using C-c
> C-c works fine, but I get a segfault error when I export the org file.
>
> This has to do something with the LC_ALL environment variable as I can
> reproduce the same error above in R in a terminal after “unset
> LC_ALL”.
>
> Is there a way to pass environment variables to the export call?

Check the two functions `getenv' and `setenv' and the variable
`org-export-async-init-file'.  You should be able to cook something
up.

It sound like there's an issue with your system-setup.  I'd look into
that before.

Hope it helps,
Rasmus

-- 
Lasciate ogni speranza, voi che leggete questo.

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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-26  9:14 passing LC_ALL environment variable to org export call Johannes Rainer
2014-09-26 13:56 ` Rasmus [this message]
2014-09-29 10:54   ` Johannes Rainer
2014-09-29 12:06     ` Rasmus
2014-09-29 12:51       ` 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=87ppeiv621.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /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).