emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: cedric simon <simonced@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Orgmode 9.09 and export of source blocks
Date: Fri, 30 Jun 2017 12:29:23 +0900	[thread overview]
Message-ID: <CAMYRq8bkrw_wU=O6ZHqb3xyxSumxDGA58LfW3fyGEA6aWhVodg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 957 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1467 bytes --]

             reply	other threads:[~2017-06-30  3:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-30  3:29 cedric simon [this message]
2017-06-30  4:46 ` Orgmode 9.09 and export of source blocks Kaushal Modi
2017-07-01  1:45   ` cedric simon

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='CAMYRq8bkrw_wU=O6ZHqb3xyxSumxDGA58LfW3fyGEA6aWhVodg@mail.gmail.com' \
    --to=simonced@gmail.com \
    --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).