From mboxrd@z Thu Jan 1 00:00:00 1970 From: cedric simon Subject: Orgmode 9.09 and export of source blocks Date: Fri, 30 Jun 2017 12:29:23 +0900 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c0603f241bb7005532507b1" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQmct-0003fU-Kr for emacs-orgmode@gnu.org; Thu, 29 Jun 2017 23:29:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQmcs-0006nc-HZ for emacs-orgmode@gnu.org; Thu, 29 Jun 2017 23:29:47 -0400 Received: from mail-qk0-x234.google.com ([2607:f8b0:400d:c09::234]:34798) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dQmcs-0006mY-BZ for emacs-orgmode@gnu.org; Thu, 29 Jun 2017 23:29:46 -0400 Received: by mail-qk0-x234.google.com with SMTP id d78so91570487qkb.1 for ; Thu, 29 Jun 2017 20:29:44 -0700 (PDT) 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" To: emacs-orgmode@gnu.org --94eb2c0603f241bb7005532507b1 Content-Type: text/plain; charset="UTF-8" Hi everyone, I work with org mode for writing all my documentation and use source code blocks extensively. I don't know if I found a bug or something, but I encounter a strange behavior with SQL source blocks. Despite the settings I apply, they are always evaluated if I have ":exports both" set. I opened a discussion on reddit here: https://www.reddit.com/r/emacs/comments/6k5t1h/orgmode_909_and_export_of_source_blocks/ if you want to see some input I already received. This could be dangerous because in my documentation file, I have some source blocks that delete records. Since I don't have ":exports both" on them, they are not evaluated during export. I made a reproducible document, it's on gist, if you have time please have a look: https://gist.github.com/simonced/2a4ee29ed779a563b9fb7a9d8dcc83cf Thank you for your time, any help will be appreciated. Ask me any other details if you need, I'll do my best to answer quickly. Cedric Simon --94eb2c0603f241bb7005532507b1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everyone,

I work with org mode for w= riting all my documentation and use source code blocks extensively.
I don't know if I found a bug or something, but I encounter a strang= e behavior with SQL source blocks.
Despite the settings I apply, = they are always evaluated if I have ":exports both" set.

I opened a discussion on reddit here:
if you want to see some input I a= lready received.

This could be dangerous because i= n my documentation file, I have some source blocks that delete records.
Since I don't have ":exports both" on them, they are n= ot evaluated during export.

I made a reproduc= ible document, it's on gist, if you have time please have a look:
=

--94eb2c0603f241bb7005532507b1--