emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Classification of Org mode elements


From: Thorsten Jolitz
Subject: Re: [O] Classification of Org mode elements
Date: Mon, 17 Jun 2013 08:50:00 +0200
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux)

Thorsten Jolitz <address@hidden> writes:

[here is the attachment from my last post inline]

* Element Table

#+name: element-table
| Element             | g? | r? | a? | do? | C | N  | pN   |
|---------------------+----+----+----+-----+---+----+------|
| Drawer              | X  |    | X  |     | 1 | GE | GE   |
| Dynamic block       | X  |    | X  |     | 1 | GE | GE   |
| Footnote definition | X  |    | X  |     | 1 | GE | GE   |
| Greater block       | X  |    | X  |     | 1 | GE | GE   |
| Plain list          | X  |    | X  |     | 1 | GE | GE   |
| Table               | X  |    | X  |     | 1 | GE | GE   |
|---------------------+----+----+----+-----+---+----+------|
| Inline task         | X  |    |    |     | 2 | GE | IT   |
|---------------------+----+----+----+-----+---+----+------|
| Property drawer     | X  | X  | X  |     | 3 | GE | PD   |
|---------------------+----+----+----+-----+---+----+------|
| Item                | X  | X  |    |     | 4 | GE | LI   |
|---------------------+----+----+----+-----+---+----+------|
| Babel call          |    |    | X  |     | 5 | E  | LE   |
| Comment             |    |    | X  |     | 5 | E  | LE   |
| Comment block       |    |    | X  |     | 5 | E  | LE   |
| Diary               |    |    | X  |     | 5 | E  | LE   |
| Example block       |    |    | X  |     | 5 | E  | LE   |
| Fixed width area    |    |    | X  |     | 5 | E  | LE   |
| Horizontal rule     |    |    | X  |     | 5 | E  | LE   |
| Keyword             |    |    | X  |     | 5 | E  | LE   |
| LaTeX environment   |    |    | X  |     | 5 | E  | LE   |
| Sexp                |    |    | X  |     | 5 | E  | LE   |
| Source block        |    |    | X  |     | 5 | E  | LE   |
|---------------------+----+----+----+-----+---+----+------|
| Paragraph           |    |    | X  | X   | 6 | E  | doLE |
| Verse block         |    |    | X  | X   | 6 | E  | doLE |
|---------------------+----+----+----+-----+---+----+------|
| Clock               |    |    |    |     | 7 | E  | uLE  |
| Planning (Plan?)    |    |    |    |     | 7 | E  | uLE  |
|---------------------+----+----+----+-----+---+----+------|
| Node property       |    | X  |    |     | 8 | E  | NP   |
|---------------------+----+----+----+-----+---+----+------|
| Table row           |    | X  |    | X   | 9 | E  | TR   |


#+name: element-table-abbrevs
| abbrev | meaning                       |
|--------+-------------------------------|
| g?     | Greater                       |
| r?     | Restricted                    |
| a?     | Attributable                  |
| do?    | Direct Object                 |
| C      | Class                         |
| N      | (original) Name               |
| pN     | (proposed) Name               |
| GE     | Greater element               |
| E      | Element                       |
| LE     | Lesser element                |
| uLE    | Unattributable lesser element |
| doLE   | Direct object lesser element  |
| IT     | Inline task                   |
| PD     | Property drawer               |
| LI     | List item                     |
| NP     | Node property                 |

* Elements
** Drawer
** Dynamic block
** Footnote definition
** Greater block
** Plain list
** Table
** Inline task
** Property drawer
*** Syntax

#+name:property-drawer-example
#+begin_src org
    :PROPERTIES:
    :CATEGORY: office
    :END:
#+end_src

#+name:property-drawer-regexp
#+begin_src emacs-lisp
"^[ \t]*:PROPERTIES:[ \t]*$"
#+end_src

*** Semantics

Store meta-data and implement simple databases

*** Insertion

M-x org-insert-property-drawer

#+name: property-drawers-insertion-keys
| keys      | action                                                |
|-----------+-------------------------------------------------------|
| M-TAB     | After initial colon in a line, comlete property keys  |
| C-c C-x p | Set a property (if necessary, create property drawer) |

*** Export
#+name: property-drawers-export-backends
| backend | exports to |
|---------+------------|
| ascii   | ---        |
| latex   |            |
| html    |            |
|         |            |

** Item
** Babel call
** Comment
** Comment block
** Diary
** Example block
** Fixed width area
** Horizontal rule
** Keyword
** LaTeX environment
** Sexp
** Source block
** Paragraph
** Verse block
** Clock
** Planning (Plan?)
** Node property
** Table row


-- 
cheers,
Thorsten




reply via email to

[Prev in Thread] Current Thread [Next in Thread]