all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Org babel tangle: Don't export code
@ 2019-09-24 21:18 Nathan Neff
  2019-09-24 23:07 ` Tim Cross
  0 siblings, 1 reply; 7+ messages in thread
From: Nathan Neff @ 2019-09-24 21:18 UTC (permalink / raw)
  To: emacs-orgmode

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

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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-09-25 11:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-24 21:18 Org babel tangle: Don't export code Nathan Neff
2019-09-24 23:07 ` Tim Cross
2019-09-25  0:46   ` Nathan Neff
2019-09-25  1:19     ` Tim Cross
2019-09-25  1:43       ` Nathan Neff
2019-09-25  5:53   ` Ken Mankoff
2019-09-25 11:41     ` Nathan Neff

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.