1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
[[!meta title="Literate Programming in Emacs Org-Mode"]]
[[!meta copyright="Copyright © 2020 Adam Ard"]]
Back to the [[schedule]]
Previous: <a href="/2020/schedule/13">Experience Report: Steps to "Emacs Hyper Notebooks"</a>
Next: <a href="/2020/schedule/15">Moving from Jekyll to OrgMode, an experience report</a>
# Literate Programming in Emacs Org-Mode
Saturday, Nov 28 2020, 2:18 PM - 2:38 PM
Adam Ard
Org mode, among its numerous features, has the ability to do full
literate programming (with tangling and weaving the way Donald Knuth
originally intended). As a programmer, you can work comfortably,
completely inside an org-mode buffer. When you are ready, emacs will
generate the appropriate documentation and source code files for you.
If you are a lone emacs user on your project, simply commit these
exported files and keep your org file to yourself – no one is the
wiser.
Watch "Literate Programming in Emacs Org-mode" to learn how you can
annotate code snippets in an org file so they can be automatically
exported to their proper locations in your source tree. Keep
important information about your project where it should be: right
next to the code itself. Not as ugly, out-of-date notes sitting
behind comment characters in your source files, but front and center
in well-formatted markdown and pdf files.
And, for advanced use cases, see how you can even use a full-fledged
macro processor like m4 to personalize your workflow even more.
Literate programming on steroids!
I'll walk you through the whole process, starting from an empty
project README.org to a simple example that generates source and
documentation.
Back to the [[schedule]]
Previous: <a href="/2020/schedule/13">Experience Report: Steps to "Emacs Hyper Notebooks"</a>
Next: <a href="/2020/schedule/15">Moving from Jekyll to OrgMode, an experience report</a>
All times are approximate, and we might shuffle talks around as needed.
Please check <https://emacsconf.org/2020> a few days before the start of the
conference for instructions on how to watch and participate. See you then!
<!-- automatically generated from submissions.org using conf/generate-schedule-files --->
|