org fosdem-2011

26
Org-mode for Emacs: your life in plain text Bastien Guerry - [email protected] FOSDEM 2011 (Feb. 5th) Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain text FOSDEM 2011 (Feb. 5th) 1 / 26

Upload: bastien-guerry

Post on 05-Dec-2014

4.006 views

Category:

Technology


1 download

DESCRIPTION

Org-mode presentation at FOSDEM 2011.

TRANSCRIPT

Page 1: Org fosdem-2011

Org-mode for Emacs: your life in plain text

Bastien Guerry - [email protected]

FOSDEM 2011 (Feb. 5th)

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 1 / 26

Page 2: Org fosdem-2011

Outline

1 Introduction

2 Org as a organizer

3 Org as an authoring tool

4 Behind and around Org

5 Org’s development and community

6 Org’s future

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 2 / 26

Page 3: Org fosdem-2011

Key facts

“Org-mode is for keeping notes, maintaining ToDo lists, doing projectplanning, and authoring with a fast and effective plain-text system.”

http://orgmode.orgCreated in 2003 by Carsten DominikGNU GPLv3 or any later versionEarly integration into GNU EmacsCurrent stable version is 7.4More than 7210 commits since january 200865 developers contributed (in the top 2% of ohloh.net projects)A superactive community of users and contributors (fans?)

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 3 / 26

Page 4: Org fosdem-2011

What is so special about Org?

Theorem (Quote by Jeffery Travis)

"I’m having the same feeling for org-mode that I did when I firstlearned to really program and use emacs."

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 4 / 26

Page 5: Org fosdem-2011

Org-mode’s core mission

A simple TODO list manageralso a full-fledged organizer

An intuitive note taking environnementalso a full-fledged authoring environment

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 5 / 26

Page 6: Org fosdem-2011

Org-mode’s core design

Background:

Emacs (GNU Emacs, XEmacs, Aquamacs)Plain text (allow flexible processing)Derive from outline-mode

Design principles:

“Don’t impose unwanted complexity”“95% of the features added after core implementation”Tries to adapt to everyone’s need

Theorem (No learning curve)

You set the learning curve depending on your needs.

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 6 / 26

Page 7: Org fosdem-2011

What is it like to be a TODO item?

TODOS are outline itemsTODOS have metadata

todo, timestamps, tags, priority cookie, properties, notes, etc.

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 7 / 26

Page 8: Org fosdem-2011

Organizing TODOS items

Moving TODO items around by handMoving TODO items by refilingMoving TODO items to an archive location

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 8 / 26

Page 9: Org fosdem-2011

Exploring items: sparse tree, agenda and columnview

Sparse tree: C-c /Agenda view: (user-defined)Column view: C-c C-x C-c

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 9 / 26

Page 10: Org fosdem-2011

Taking action

Update TODO keywordsUpdate tags and other metadata (notes, properties, etc.)Taking action from the Agenda

Theorem (Trick: speed commands)

The “speed commands” mechanism allows you to update TODO veryquickly. Users can customize it through org-speed-commands-user.

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 10 /

26

Page 11: Org fosdem-2011

Logging and reporting

Simple logging mechanismeStraightforward generation of clock reports

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 11 /

26

Page 12: Org fosdem-2011

Capturing TODO items

Capturing TODO items from within Emacs (dired, MUA,emacs-w3m, etc.)Capturing TODO items from other applications throughorg-protocol.el, by Sebastian Rose – you can capture from:

FirefoxConkerorAcrobat ReaderThunderbird. . .

Theorem (Customizable link mechanism)

org-add-link-type lets you add any link type. Useful for creatingapp-aware links. E.g.: links to man pages, info nodes, external MUA,mairix, git, etc.)

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 12 /

26

Page 13: Org fosdem-2011

Many export formats

ASCII / HTML / LATEXfreemind / XOXO / iCalendarDocbookTaskjugglerA generic exporter. . .Mediawiki / OpenDocumentText

Theorem (Exporting projects, files, trees, regions)

Depending on your needs, you can export projects, files, subtrees orregions. You can also run Emacs in batch mode to export yourprojects.

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 13 /

26

Page 14: Org fosdem-2011

Lists, blocks, tables, infile facilities

Core:

ListsBlocksTables

More:

Preview LATEX snippetInfile fontification of source blocks. . .

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 14 /

26

Page 15: Org fosdem-2011

Tables and integrated spreadsheet

Wonderful editing facilities for tablesPowerful spreadsheet features

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 15 /

26

Page 16: Org fosdem-2011

The Org Babel Library

Eric Schulte and Dan Davison wrote Org Babel, a tool toimplement literate programming (and beyond).Let’s you “tangle” code within an Org file, interactively computethe results of functions, etc.

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 16 /

26

Page 17: Org fosdem-2011

Behind and around Org

Integration with EmacsInteraction with many external toolsVimOrganizer (by Herbert Sitz)MobileOrg for iPhone (by Richard Morel)MobileOrg for Android (by Matthew Jones)A community always eager to try new tools (and to make theminteract/integrate with Org. . . )

Theorem (Org is now a format)

Org files come with the .org extension. This extension is now usedoutside of Emacs. Tools like Pandoc or Gollum support Org’s format.And there is even VimOrg, which let’s you edit Org files through Vim.

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 17 /

26

Page 18: Org fosdem-2011

Main committers and release cycleMain contributors (git commits):

Carsten Dominik (4048)Eric Schulte (1269)Dan Davison (617)Bastien Guerry (442)Nicolas Goaziou (192)David Maus (105)Bernt Hansen (94)

Fast release cycle:

. . .v7.2: 2010-10-29v7.3: 2010-11-01v7.4: 2010-12-10

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 18 /

26

Page 19: Org fosdem-2011

Code figures (source: ohloh.net)

Language Code Lines # Lines # Ratio Blank TotalEmacs Lisp 74,552 8,937 10.7% 8,471 91,960TEX/LATEX 5,902 3,021 33.9% 858 9,781CSS 617 132 17.6% 56 805Python 541 91 14.4% 125 757Make 376 32 7.8% 71 479Perl 345 115 25.0% 51 511JavaScript 137 26 16.0% 36 199C 12 7 36.8% 2 21HTML 8 0 0.0% 4 12XML 8 0 0.0% 3 11shell script 6 3 33.3% 0 9

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 19 /

26

Page 20: Org fosdem-2011

An superactive and friendly mailing list

[email protected] emails from March 2006 until todayAbout 2000 people sent at least one emailA place for learning how people do stuffA friendly place for beginners

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 20 /

26

Page 21: Org fosdem-2011

Org-mode website

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 21 /

26

Page 22: Org fosdem-2011

Org printed manual by Network-Theory.co.uk(Brian Gough)

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 22 /

26

Page 23: Org fosdem-2011

Worg’s facts

Started in november 2007Emacs + Org + git + server-side publication2253 commits since thenText and code released under GNU GPLv3 or laterA very long user-contributed FAQMany useful tutorials, hacks, code snippetsMaintained by Matt Lundi since january 2011

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 23 /

26

Page 24: Org fosdem-2011

The Worg website

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 24 /

26

Page 25: Org fosdem-2011

Important past changes

November 2007: Worg setupJanuary 2008: moving org.el to gitMarch-April 2008: splitting org.el (v6.01)Using Worg/org-issues.org for tracking issues (maintained byDavid Maus)New capture mechanism (a rewrite of the “remember”mechanism)Using patchwork for tracking patchs (hosted by John Wiegley)Org Babel since 7.0http://orgmode.org and the org-mode.git repository moved to adedicated server, maintained by Jason Dunsmore

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 25 /

26

Page 26: Org fosdem-2011

Org’s futurePossible contributions:

using org-mode (instead of outline-mode) foremacs/etc/TODOMore export formats?

Work on a stable generic (recursive) parsing/rendering engine(see org-mode/EXPERIMENTAL/org-export.el)

Interaction with online TODO managers?Interaction with online bug trackers?Collaboration?

TODO: write on online tool supporting org format (with Arc?)

Theorem (Why?)

We don’t have a roadmap!

Bastien Guerry - [email protected] () Org-mode for Emacs: your life in plain textFOSDEM 2011 (Feb. 5th) 26 /

26