emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Classification of Org mode elements
Date: Mon, 17 Jun 2013 08:50:00 +0200	[thread overview]
Message-ID: <87d2rlw7s7.fsf@gmail.com> (raw)
In-Reply-To: 87hagxw8h9.fsf@gmail.com

Thorsten Jolitz <tjolitz@gmail.com> 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	other threads:[~2013-06-17  6:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-16 22:50 Classification of Org mode elements Thomas S. Dye
2013-06-17  6:34 ` Thorsten Jolitz
2013-06-17  6:50   ` Thorsten Jolitz [this message]
2013-06-18  7:08   ` Thomas S. Dye
2013-06-18  8:26     ` Suvayu Ali
2013-06-18 18:06     ` Nicolas Goaziou
2013-06-18 18:24       ` Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2rlw7s7.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).