Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 90d71bb12e
Fetching contributors…

Cannot retrieve contributors at this time

418 lines (301 sloc) 10.107 kb

Org-mode Teaser Demo

1 Org-mode Principles and Advantages

1.1 text files

  • text as the lowest common denominator
  • portable
  • future-proof
  • process it with grep, python, …
  • VCS like git, Subversion, …
  • easy synchronization
  • advanced search & replace everywhere

1.2 easy to learn

  • outliner (~5 minutes)
  • todo-management (~10 minutes)
  • GTD implementation (~15 minutes)
  • more and more advanced topics
    • one by one
    • depending on personal requirements

1.3 scales

  • performance
  • learn/use only those parts you need

1.4 wiki-like

  • personal knowledge-base
  • internal and external links
  • very open to external files, APIs, …

1.5 Meta-data

  • define as much as you need
  • you’ve got all possibilties

2 A Subset(!) of Org-mode Basics

Find this document on https://github.com/novoid/org-mode-workshop

2.1 outlining (docu)

  • headlines
  • levels
  • visibility cycling TAB
  • motion
    • next heading C-c C-n
    • previous heading C-c C-p
  • new heading C-RET
  • modifying levels
    • move up/down M-UP/DOWN
    • promote M-LEFT
    • demote M-RIGHT

2.1.1 encryption

  • whole Org-mode files
  • selective headlines using :crypt:

2.2 syntax (docu)

  • bold
  • italic
  • underline
  • strike through
  • code
small example

2.2.1 COMMENT: no exported either

foo bar

2.3 lists (docu)

  • new item M-RET
  • move item M-LEFT/RIGHT/UP/DOWN

simple list:

  • Emacs
  • Org-mode
  • Lists

enumerate:

  1. Emacs
  2. Org-mode
  3. Lists

check lists:

2.4 links (docu)

[[link]]
[[link][description]]

2.4.1 heading with PROPERTIES drawer containing ID

foo bar

2.5 tags (docu)

  • manage tags C-c C-c

2.5.1 example

2.6 tables simple (docu)

-> DEMO

  • creating rows/columns
    • headers
  • moving rows/columns M-LEFT/RIGHT/UP/DOWN

2.7 tables complex (docu, tutorial)

US-DollarEUR
10.76481836
WhenWhatUSDEUR
2012-02-03Taxi Graz-Airport18.00
2012-02-03Taxi Seattle Airport25.0019.12
2012-02-13Taxi7.005.35
2012-02-14Taxi8.006.12
2012-02-17Taxi to Airport SeaTac35.0026.77
2012-02-22Taxi Airport-Graz16.00
91.36
  • update values C-c C-c
  • visualize rows/columns C-c }
  • edit formulas ~C-c ‘~
  • debugging formulas

2.8 states

2.8.1 making dependencies explicit

2.9 capture, refile, archive

  • capture C-c c
  • refile C-c C-w
  • archive C-c C-x C-a

2.10 dates & time

  • insert active <2012-04-23 Mon> C-c .
  • insert inactive [2012-04-23 Mon] C-c !
  • interactively change S-RIGHT/LEFT/UP/DOWN

2.11 agenda

  • invoke Agenda view C-c a a
  • jump to date j
  • view for day v d, week v w, or month v m
  • moving forward f and backward b
  • filtering by tags, strings, …

2.12 source code

  • python “Hello World”
  • switch to language specific buffer ~C-c ‘~
def foo(argument):
{
    print "Hello World"
}

2.13 babel

2.13.1 babel simple (doc)

2.13.1.1 shell

pwd

2.13.1.2 ruby

require 'date'
"This file was last evaluated on #{Date.today}"

2.13.1.3 python

return 42 + 7

2.13.1.4 ditaa

+---------+
| cBLU    |
|         |
|    +----+
|    |cPNK|
|    |    |
+----+----+

2.13.2 babel advanced

2.13.2.1 session with shell and R

cd ~/archive/events_memories && du -sc * |grep -v total

Using result set “directories” from above as “dirs” in R below:

pie(dirs[,1], labels = dirs[,2])

2.14 Mobile-org (docu)

  • great iOS app
    • no iOS on my side
  • “advanced-beta” of Android app
    • ssh, scp, WEBDAV, gpg encryption, …

2.15 export formats (docu)

  • ASCII/Latin-1/UTF-8 export
  • HTML
  • LaTeX
  • PDF
  • DocBook
  • OpenDocument Text
  • TaskJuggler
  • Freemind
  • XOXO
  • iCalendar
  • DEMO: export this as PDF (plain)
  • DEMO: export this as PDF (beamer)

2.16 customizations

  • per configuration
  • per file
  • per heading

3 Documentation

3.1 Other Demo Sources

4 Org-mode Applied

  • everybody has different requirements
  • Org-mode as a Lego toolbox to build customized solutions
  • these are my personal solutions

4.1 contacts

  • contacts forming a hierarchy which reflects their relations
  • person-specific tasks, events, … done right
    • mixture of things related to person
  • meta-persons like “parents” or “Simpsons Family”
  • sparse trees

4.2 references

4.3 workflows

  • example: gdipruef at id:teaser-tests

4.4 Memacs

4.4.1 existing modules

  • RSS
  • CSV
  • ISO datestamps in filenames
  • git commits
  • Subversion commits
  • iCal
  • mbox
  • maildir
  • IMAP
  • Android Phonecalls
  • Android Text Messages (SMS)
  • EXIF (photographs)

5 Still Missing Topics

Things I did not include yet but are worth mentioning:

5.1 TODO Column view (docu)

5.2 clocking (docu)

Jump to Line
Something went wrong with that request. Please try again.