#+TITLE: Org-Mode #+AUTHOR: Stefan Hübner #+EMAIL: huebner.stefan@hushmail.com #+DATE: 2009-06-24 Wed #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: * Einstieg http://org-mode.org Org - ein Emacs-Mode für Notizen, Projektplanung und "Authoring" (besseres Wort?) "Org-mode is for keeping notes, maintaining ToDo lists, doing project planning, and authoring with a fast and effective plain-text system." Ziele: - Simplicity :: Org-mode is a simple outliner for note-taking and list management. You can *learn the basics* for using it in *five minutes*. This may be all you need, and Org-mode will not impose more complex features on you. - Portability :: Org files are *plain text*. You can view and edit them in any editor. Your data is yours forever. Org-mode runs in Emacs, which is available for nearly every platform. - Depth :: Org-mode will not let you down when you need more than a simple outline. The full feature set is both broad and deep. The typical answer to "Can it do X?" is "Yes!". - Flexibility :: Org-mode is like a *Swiss army knife*. People use it for Getting Things Done (GTD), as a Day Planner, as a Notebook, for Web and PDF Authoring, and much more. - Support :: *Org-mode is supported* by an active mailing list where questions are answered quickly and effectively. - It's free! :: Org is open source software, it is free, like Emacs. Weiteres: - Basiert auf Outline-Mode - unterstützt Tabellen durch eigenen Tabellen-Editor, TODOs, Deadlines, timestamps und scheduling - arbeitet zusammen mit calendar und diary - plain-text URLs ins Web, zu Mails, Usenet (GNUS, etc), BBDB, Dateien - exportiert (C-c C-e ...) nach TXT, LaTeX, HTML und iCalendar * Getting Started ** Installation Bestandteil von GNU Emacs: - Org-Mode 4.67d ist Bestandteil von GNU Emacs 22 - GNU Emacs 23.1 wird voraussichtlich mit v6.21b ausgeliefert Manuelle Installation: - aus Standard-Distribution (derzeit 6.28b) - aus Quellen : git clone git://repo.or.cz/org-mode.git - Debian-Package =org-mode= (derzeit 6.26d-1), geeignet für =emacs22= und =emacs-snapshot= ** Konfiguration Org-Mode aktivieren: =M-x org-mode=, oder Konfiguration in =.emacs=: #+begin_src emacs-lisp (require 'org-install) (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode)) (global-set-key "\C-ca" 'org-agenda) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-cb" 'org-iswitchb) #+end_src =font-lock-mode= muss aktiviert werden: #+begin_src emacs-lisp (global-font-lock-mode 1) ; für alle Buffer (add-hook 'org-mode-hook 'turn-on-font-lock) ; nur für Org-Buffer #+end_src Alternative: Kommentar in der ersten Zeile einer Datei #+begin_example ;;; -*- mode: org; -*- #+end_example ** Org Files Verschiedene Dateien für verschiedene Zielgruppen (Bsp.): | Datei | Zweck | |-------------+-------------------| | priv.org | privaten Aufgaben | | incowia.org | incowia GmbH | | xy.org | Projekte für XY | - logische Gruppierung - Agendas aus mehreren Dateien möglich * Dateistruktur ** Überschriften ** zyklisches Auf-/Zuklappen - :: Klappen im aktuellen Teilbaum - S- :: globales Klappen ** Bewegen in der Struktur - C-c C-n :: nächste Überschrift - C-c C-p :: vorige Überschrift - C-c C-f :: nächste Überschrit (selbe Ebene) - C-c C-b :: vorige Überschrift (selbe Ebene) ** Editieren der Struktur - M- :: neue Überschrift oberhalb - C- :: neue Überschrift unterhalb - M-S- :: neues TODO oberhalb - C-S- :: neues TODO unterhalb - M- :: Überschrift aufwerten - M- :: Überschrift abwerten - M-S- :: Teilbaum hoch - M-S- :: Teilbaum runter - etc. ** Archivierung :ARCHIVE: *** alter Kram * Tabellen Übersicht: - eingebauter Tabellen-Editor - Spreadsheet-Funktionen - Breite und Ausrichtung anpassbar - Spaltengruppen - Orgtbl-Mode - Org-Plot (?!) Beispiel: | Spalte 2 | Spalte 1 | |------------+----------------------------| | 1 | passt das rein? | * Hyperlinks - C-c C-l :: Link einfügen - C-c C-o :: Link folgen [[http://orgmode.org][Org-Mode Homepage]] [[file:org-mode.pdf][file:~/Desktop/org-mode.pdf]] * TODO Items ** TODO Status sdakjfaöskjf s fas flsaj fölsaj fa C-c C-t ** [#A] Prioritäten [0/2] *** TODO [#C] Aufgabe eins CLOCK: [2009-06-25 Do 21:04]--[2009-06-25 Do 21:04] => 0:00 *** TODO [#C] Aufgabe zwei ** Checklisten - [ ] A - [ ] B - [ ] afd C-c C-c : Kreuzchen setzen * Tags ** TODO Item :A:URGENT:@HOME: ** TODO Item :B: * Datum und Uhrzeit CLOCK: [2009-06-25 Do 20:50]--[2009-06-25 Do 20:54] => 0:04 - Zeitstempel - Deadlines / Scheduling - Aufgewendete Zeit - geschätzte Zeit - laufende Uhr (C-c C-x C-i, ...) ** Termin <2009-07-28 Di> ** TODO Aufgabe 1 SCHEDULED: <2009-06-25 Thu> CLOCK: [2009-06-25 Do 20:54]--[2009-06-25 Do 21:00] => 0:06 ** TODO Aufgabe 2 DEADLINE: <2009-06-26 Fri> * Agenda-Ansichten - C-c a... :: Agenda-Menü * Exporting *fett* /kursiv/ _unterstrichen?_ ~durchgestrichen~ =ls -l= * Mehr (für eigene Forschung) - Konfiguration - LaTeX - Publizieren - Spreadsheet-Funktionen in Tabellen - Versionieren, Synchronisieren mit Git * Support - Mailingliste: emacs-orgmode@gnu.org - Gmane: [[gnus:nntp%2Bgmane:gmane.emacs.orgmode][gmane.emacs.orgmode]] - Twitter: #org-mode * Zusammenfassung - einfach - portabel - mächtig - flexibel - hilfreiche Community