#+TITLE: org config for front
#+AUTHOR: screwlisp
#+PROPERTY: header-args:elisp :tangle ~/.emacs.d/my-org-config-front.el
This is the copy of ==~/.emacs.d/config.org== to generate
==~/.emacs.d/my-org-config-front.el== to put at the top of
==~/.emacs.d/init.el==
This is a good one to load packages before custom variables are set.
Basically ==C-c C-v t== here to generate the file.
*** Call it
#+CALL: config.org:define-and-screwtape-block() :Eval yes
** Blocks
*** First block
The block can be opened by putting the cursor somewhere on the block and pressing C-'
#+name: first-block
#+begin_src elisp
(print "first block!")
#+end_src
Textual commentary.
*** Your block name
#+name: foo-to-bar
#+begin_src elisp
(setq foo 'bar)
#+end_src
Yourtext
*** foo value printer
#+name: foo-printer
#+begin_src elisp
(format "foo is %s" foo)
#+end_src
A better / more permanent way to do this is:
==M-x customize-variable==
==org-babel-load-languages==
then INS and use the values menu to find org
(default is to enable)
Accept-and-save (rather than just accept) adds this to your config.