From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Classification of Org mode elements Date: Mon, 17 Jun 2013 08:50:00 +0200 Message-ID: <87d2rlw7s7.fsf@gmail.com> References: <87hagxw8h9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoTGe-0005Wy-L4 for emacs-orgmode@gnu.org; Mon, 17 Jun 2013 02:50:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoTGd-0005Pn-7m for emacs-orgmode@gnu.org; Mon, 17 Jun 2013 02:50:20 -0400 Received: from plane.gmane.org ([80.91.229.3]:51112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoTGc-0005Pf-UA for emacs-orgmode@gnu.org; Mon, 17 Jun 2013 02:50:19 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UoTGV-0004wx-Oq for emacs-orgmode@gnu.org; Mon, 17 Jun 2013 08:50:11 +0200 Received: from g231104022.adsl.alicedsl.de ([92.231.104.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Jun 2013 08:50:11 +0200 Received: from tjolitz by g231104022.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Jun 2013 08:50:11 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Thorsten Jolitz 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