From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Org babel tangle: Don't export code Date: Tue, 24 Sep 2019 16:18:58 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002d2a9d0593531269" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57489) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCsCB-0001fl-Ro for emacs-orgmode@gnu.org; Tue, 24 Sep 2019 17:18:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCsCA-0003HG-Fg for emacs-orgmode@gnu.org; Tue, 24 Sep 2019 17:18:03 -0400 Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]:41288) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCsCA-0003ED-6x for emacs-orgmode@gnu.org; Tue, 24 Sep 2019 17:18:02 -0400 Received: by mail-io1-xd35.google.com with SMTP id r26so8034041ioh.8 for ; Tue, 24 Sep 2019 14:18:01 -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 --0000000000002d2a9d0593531269 Content-Type: text/plain; charset="UTF-8" Hello all, I use *.org files to configure my emacs and use org-babel-load-file to configure my org-mode using *.org files. Love the feature. However sometimes I'm experimenting with code blocks, and want to simply "turn off" certain code blocks in my *.org files from being executed. Every time I go to do this, I search the web for 30-60 minutes and I'm frustrated and confused by the myriad options and documentation. All I want to do is mark a source code block in my *.org files so that the particular code block is: 1) Not exported to the resulting .el file when tangling Or 2) Not ran in the resulting .el files when tangling I recently spent 30 minutes to an hour trying to figure out how to simply "disable" or "prevent" or "exclude" or "quit" or "don't" or "stop" or "please don't do this" to a code block in my *.org files. I don't want to mark the code block as "text", unless there's really no other option. In my opinion, the documentation does not simply define how to do this relatively common task. Can someone please point me in the right direction? Also I would be willing to submit a doc-fix or FAQ item if there is currently not an item to do so. I'm lost and do not want to spend more time on this seemingly easy task. Thanks, --Nate --0000000000002d2a9d0593531269 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

I use *.org files to con= figure my emacs and use org-babel-load-file
to configure my org-m= ode using *.org files.=C2=A0 Love the feature.

How= ever sometimes I'm experimenting with code blocks, and want to simply
"turn off" certain code blocks in my *.org files from be= ing executed.=C2=A0 Every time
I go to do this, I search the web = for 30-60 minutes and I'm frustrated and confused by
the myri= ad options and documentation.

All I want to do is = mark a source code block in my *.org files so that the=C2=A0
part= icular code block is:

1) Not exported to the resul= ting .el file when tangling
Or
2) Not ran in the result= ing .el files when tangling

I recently spent 30 mi= nutes to an hour trying to figure out how to simply=C2=A0
"d= isable" or "prevent" or "exclude" or "quit&qu= ot; or "don't" or "stop" or "please don't = do this"
to a code block in my *.org files.=C2=A0 I don'= t want to mark the code block as "text", unless there's reall= y no other option.

In my opinion, the documentatio= n does not simply define how to do this relatively common task.
<= br>
Can someone please point me in the right direction?=C2=A0 Als= o I would be willing to submit a doc-fix or FAQ item if there is currently = not an item to do so.=C2=A0 I'm lost and do not want to spend more time= on this seemingly easy task.

Thanks,
--= Nate
--0000000000002d2a9d0593531269--