emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Is it possible to #+include: src blocks and tangle them too?
@ 2021-04-12 15:35 Ramachandran Lakshmanan
  2021-04-12 21:38 ` Nicolas Goaziou
  2021-04-14  3:23 ` Greg Minshall
  0 siblings, 2 replies; 11+ messages in thread
From: Ramachandran Lakshmanan @ 2021-04-12 15:35 UTC (permalink / raw)
  To: emacs-orgmode

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

I have been wanting to include a number of small Common Lisp snippets in
individual files which I then include into a "master" .org file using:

#+include: "snippet.org" src lisp

Within snippet.org I have a src block such as:

#+NAME: hello_test
#+BEGIN_SRC lisp :tangle yes
(defun hello () :hello)
#+END_SRC

Ideally I would like to have some specific comments that will be part of
the Literate Program I would develop from these individual files.

However, it seems as though tangling doesn't work.  Export does.

I read somewhere that this is not possible in orgmode.  Is this true?  And
if not, can you point me to the right documentation?

Many thanks.

Rama Lakshmanan

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

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

end of thread, other threads:[~2021-04-16 22:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-12 15:35 Is it possible to #+include: src blocks and tangle them too? Ramachandran Lakshmanan
2021-04-12 21:38 ` Nicolas Goaziou
2021-04-13  6:31   ` Dr. Arne Babenhauserheide
2021-04-13  6:59   ` Timothy
2021-04-14  0:26   ` Kevin M. Stout
2021-04-14  3:23 ` Greg Minshall
2021-04-14  3:48   ` Rama
2021-04-14  6:33     ` Dr. Arne Babenhauserheide
2021-04-14  6:52     ` Greg Minshall
2021-04-16 15:27     ` Greg Minshall
2021-04-16 21:14       ` Berry, Charles via General discussions about Org-mode.

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).