Org API
Table of Contents
- Org-Element API functions (org-element.el)
- org-element-at-point
&optional keep-trail - org-element-babel-call-interpreter
babel-call contents - org-element-babel-call-parser
- org-element-backward
- org-element-bold-interpreter
bold contents - org-element-bold-parser
- org-element-center-block-interpreter
center-block contents - org-element-center-block-parser
- org-element-clock-interpreter
clock contents - org-element-clock-parser
- org-element-code-interpreter
code contents - org-element-code-parser
- org-element-collect-affiliated-keywords
&optional key-re trans-list consed parsed duals - org-element-comment-block-interpreter
comment-block contents - org-element-comment-block-parser
- org-element-comment-interpreter
comment contents - org-element-comment-parser
- org-element-contents
element - org-element-current-element
&optional granularity special structure - org-element-down
- org-element-drag-backward
- org-element-drag-forward
- org-element-drawer-interpreter
drawer contents - org-element-drawer-parser
- org-element-dynamic-block-interpreter
dynamic-block contents - org-element-dynamic-block-parser
- org-element-entity-interpreter
entity contents - org-element-entity-parser
- org-element-example-block-interpreter
example-block contents - org-element-example-block-parser
- org-element-export-block-interpreter
export-block contents - org-element-export-block-parser
- org-element-export-snippet-interpreter
export-snippet contents - org-element-export-snippet-parser
- org-element-export-snippet-successor
limit - org-element-fill-paragraph
&optional justify - org-element-fixed-width-interpreter
fixed-width contents - org-element-fixed-width-parser
- org-element-footnote-definition-interpreter
footnote-definition contents - org-element-footnote-definition-parser
- org-element-footnote-reference-interpreter
footnote-reference contents - org-element-footnote-reference-parser
- org-element-footnote-reference-successor
limit - org-element-forward
- org-element-get-next-object-candidates
limit restriction objects - org-element-headline-interpreter
headline contents - org-element-headline-parser
&optional raw-secondary-p - org-element-horizontal-rule-interpreter
horizontal-rule contents - org-element-horizontal-rule-parser
- org-element-inline-babel-call-interpreter
inline-babel-call contents - org-element-inline-babel-call-parser
- org-element-inline-babel-call-successor
limit - org-element-inline-src-block-interpreter
inline-src-block contents - org-element-inline-src-block-parser
- org-element-inline-src-block-successor
limit - org-element-inlinetask-interpreter
inlinetask contents - org-element-inlinetask-parser
&optional raw-secondary-p - org-element-interpret-data
data &optional parent - org-element-italic-interpreter
italic contents - org-element-italic-parser
- org-element-item-interpreter
item contents - org-element-item-parser
struct &optional raw-secondary-p - org-element-keyword-interpreter
keyword contents - org-element-keyword-parser
- org-element-latex-environment-interpreter
latex-environment contents - org-element-latex-environment-parser
- org-element-latex-fragment-interpreter
latex-fragment contents - org-element-latex-fragment-parser
- org-element-latex-or-entity-successor
limit - org-element-line-break-interpreter
line-break contents - org-element-line-break-parser
- org-element-line-break-successor
limit - org-element-link-interpreter
link contents - org-element-link-parser
- org-element-link-successor
limit - org-element-macro-interpreter
macro contents - org-element-macro-parser
- org-element-macro-successor
limit - org-element-map
data types fun &optional info first-match no-recursion - org-element-mark-element
- org-element-nested-p
elem-A elem-B - org-element-normalize-contents
element &optional ignore-first - org-element-normalize-string
s - org-element-paragraph-interpreter
paragraph contents - org-element-paragraph-parser
- org-element-parse-buffer
&optional granularity visible-only - org-element-parse-elements
beg end special structure granularity visible-only acc - org-element-parse-objects
beg end acc restriction - org-element-parse-secondary-string
string restriction - org-element-plain-list-interpreter
plain-list contents - org-element-plain-list-parser
&optional structure - org-element-planning-interpreter
planning contents - org-element-planning-parser
- org-element-property
property element - org-element-property-drawer-interpreter
property-drawer contents - org-element-property-drawer-parser
- org-element-quote-block-interpreter
quote-block contents - org-element-quote-block-parser
- org-element-quote-section-interpreter
quote-section contents - org-element-quote-section-parser
- org-element-radio-target-interpreter
target contents - org-element-radio-target-parser
- org-element-radio-target-successor
limit - org-element-restriction
element - org-element-section-interpreter
section contents - org-element-section-parser
- org-element-special-block-interpreter
special-block contents - org-element-special-block-parser
- org-element-src-block-interpreter
src-block contents - org-element-src-block-parser
- org-element-statistics-cookie-interpreter
statistics-cookie contents - org-element-statistics-cookie-parser
- org-element-statistics-cookie-successor
limit - org-element-strike-through-interpreter
strike-through contents - org-element-strike-through-parser
- org-element-sub/superscript-successor
limit - org-element-subscript-interpreter
subscript contents - org-element-subscript-parser
- org-element-superscript-interpreter
superscript contents - org-element-superscript-parser
- org-element-swap-A-B
elem-A elem-B - org-element-table-cell-interpreter
table-cell contents - org-element-table-cell-parser
- org-element-table-cell-successor
limit - org-element-table-interpreter
table contents - org-element-table-parser
- org-element-table-row-interpreter
table-row contents - org-element-table-row-parser
- org-element-target-interpreter
target contents - org-element-target-parser
- org-element-target-successor
limit - org-element-text-markup-successor
limit - org-element-timestamp-interpreter
timestamp contents - org-element-timestamp-parser
- org-element-timestamp-successor
limit - org-element-transpose
- org-element-type
element - org-element-underline-interpreter
underline contents - org-element-underline-parser
- org-element-unindent-buffer
- org-element-up
- org-element-verbatim-interpreter
verbatim contents - org-element-verbatim-parser
- org-element-verse-block-interpreter
verse-block contents - org-element-verse-block-parser
- org-element-at-point
Org-Element API functions (org-element.el)
org-element-at-point &optional keep-trail
Determine closest element around point.
Return value is a list like (TYPE PROPS) where TYPE is the type of the element and PROPS a plist of properties associated to the element. Possible types are defined in org-element-all-elements.
As a special case, if point is at the very beginning of a list or sub-list, returned element will be that list instead of the first item. In the same way, if point is at the beginning of the first row of a table, returned element will be the table instead of the first row.
If optional argument keep-trail is non-nil, the function returns
a list of of elements leading to element at point. The list's
CAR is always the element at point. Following positions contain
element's siblings, then parents, siblings of parents, until the
first element of current section.
org-element-babel-call-interpreter babel-call contents
Interpret babel-call element as Org syntax.
contents is nil.
org-element-babel-call-parser
Parse a babel call.
Return a list whose CAR is babel-call and CDR is a plist containing :begin, :end, :info and :post-blank as keywords.
org-element-backward
Move backward by one element. Move to the previous element at the same level, when possible.
org-element-bold-interpreter bold contents
Interpret bold object as Org syntax.
contents is the contents of the object.
org-element-bold-parser
Parse bold object at point.
Return a list whose CAR is bold and CDR is a plist with :begin, :end, :contents-begin and :contents-end and :post-blank keywords.
Assume point is at the first star marker.
org-element-center-block-interpreter center-block contents
Interpret center-block element as Org syntax.
contents is the contents of the element.
org-element-center-block-parser
Parse a center block.
Return a list whose CAR is center-block and CDR is a plist containing :begin, :end, :hiddenp, :contents-begin, :contents-end and :post-blank keywords.
Assume point is at the beginning of the block.
org-element-clock-interpreter clock contents
Interpret clock element as Org syntax.
contents is nil.
org-element-clock-parser
Parse a clock.
Return a list whose CAR is clock and CDR is a plist containing :status, :value, :time, :begin, :end and :post-blank as keywords.
org-element-code-interpreter code contents
Interpret code object as Org syntax.
contents is nil.
org-element-code-parser
Parse code object at point.
Return a list whose CAR is code and CDR is a plist with :value, :begin, :end and :post-blank keywords.
Assume point is at the first tilde marker.
org-element-collect-affiliated-keywords &optional key-re trans-list consed parsed duals
Collect affiliated keywords before point.
Optional argument key-re is a regexp matching keywords, which
puts matched keyword in group 1. It defaults to
org-element–affiliated-re.
trans-list is an alist where key is the keyword and value the
property name it should be translated to, without the colons. It
defaults to org-element-keyword-translation-alist.
consed is a list of strings. Any keyword belonging to that list
will have its value consed. The check is done after keyword
translation. It defaults to org-element-multiple-keywords.
parsed is a list of strings. Any keyword member of this list
will have its value parsed. The check is done after keyword
translation. If a keyword is a member of both consed and parsed,
it's value will be a list of parsed strings. It defaults to
org-element-parsed-keywords.
duals is a list of strings. Any keyword member of this list can
have two parts: one mandatory and one optional. Its value is
a cons cell whose car is the former, and the cdr the latter. If
a keyword is a member of both parsed and duals, both values will
be parsed. It defaults to org-element-dual-keywords.
Return a list whose car is the position at the first of them and cdr a plist of keywords and values.
org-element-comment-block-interpreter comment-block contents
Interpret comment-block element as Org syntax.
contents is nil.
org-element-comment-block-parser
Parse an export block.
Return a list whose CAR is comment-block and CDR is a plist containing :begin, :end, :hiddenp, :value and :post-blank keywords.
Assume point is at comment block beginning.
org-element-comment-interpreter comment contents
Interpret comment element as Org syntax.
contents is nil.
org-element-comment-parser
Parse a comment.
Return a list whose CAR is comment and CDR is a plist containing :begin, :end, :value and :post-blank keywords.
Assume point is at comment beginning.
org-element-contents element
Extract contents from an element.
org-element-current-element &optional granularity special structure
Parse the element starting at point.
Return value is a list like (TYPE PROPS) where TYPE is the type of the element and PROPS a plist of properties associated to the element.
Possible types are defined in org-element-all-elements.
Optional argument granularity determines the depth of the
recursion. Allowed values are headline, greater-element,
element, object or nil. When it is broader than object (or
nil), secondary values will not be parsed, since they only
contain objects.
Optional argument special, when non-nil, can be either section,
quote-section, table-row and item.
If structure isn't provided but special is set to item, it will
be computed.
This function assumes point is always at the beginning of the element it has to parse.
org-element-down
Move to inner element.
org-element-drag-backward
Move backward element at point.
org-element-drag-forward
Move forward element at point.
org-element-drawer-interpreter drawer contents
Interpret drawer element as Org syntax.
contents is the contents of the element.
org-element-drawer-parser
Parse a drawer.
Return a list whose CAR is drawer and CDR is a plist containing :drawer-name, :begin, :end, :hiddenp, :contents-begin, :contents-end and :post-blank keywords.
Assume point is at beginning of drawer.
org-element-dynamic-block-interpreter dynamic-block contents
Interpret dynamic-block element as Org syntax.
contents is the contents of the element.
org-element-dynamic-block-parser
Parse a dynamic block.
Return a list whose CAR is dynamic-block and CDR is a plist containing :block-name, :begin, :end, :hiddenp, :contents-begin, :contents-end, :arguments and :post-blank keywords.
Assume point is at beginning of dynamic block.
org-element-entity-interpreter entity contents
Interpret entity object as Org syntax.
contents is nil.
org-element-entity-parser
Parse entity at point.
Return a list whose CAR is entity and CDR a plist with :begin, :end, :latex, :latex-math-p, :html, :latin1, :utf-8, :ascii, :use-brackets-p and :post-blank as keywords.
Assume point is at the beginning of the entity.
org-element-example-block-interpreter example-block contents
Interpret example-block element as Org syntax.
contents is nil.
org-element-example-block-parser
Parse an example block.
Return a list whose CAR is example-block and CDR is a plist containing :begin, :end, :number-lines, :preserve-indent, :retain-labels, :use-labels, :label-fmt, :hiddenp, :switches, :value and :post-blank keywords.
org-element-export-block-interpreter export-block contents
Interpret export-block element as Org syntax.
contents is nil.
org-element-export-block-parser
Parse an export block.
Return a list whose CAR is export-block and CDR is a plist containing :begin, :end, :type, :hiddenp, :value and :post-blank keywords.
Assume point is at export-block beginning.
org-element-export-snippet-interpreter export-snippet contents
Interpret export-snippet object as Org syntax.
contents is nil.
org-element-export-snippet-parser
Parse export snippet at point.
Return a list whose CAR is export-snippet and CDR a plist with :begin, :end, :back-end, :value and :post-blank as keywords.
Assume point is at the beginning of the snippet.
org-element-export-snippet-successor limit
Search for the next export-snippet object.
limit bounds the search.
Return value is a cons cell whose CAR is export-snippet CDR is its beginning position.
org-element-fill-paragraph &optional justify
Fill element at point, when applicable.
This function only applies to paragraph, comment blocks, example blocks and fixed-width areas. Also, as a special case, re-align table when point is at one.
If justify is non-nil (interactively, with prefix argument),
justify as well. If sentence-end-double-space is non-nil, then
period followed by one space does not end a sentence, so don't
break a line there. The variable fill-column controls the
width for filling.
org-element-fixed-width-interpreter fixed-width contents
Interpret fixed-width element as Org syntax.
contents is nil.
org-element-fixed-width-parser
Parse a fixed-width section.
Return a list whose CAR is fixed-width and CDR is a plist containing :begin, :end, :value and :post-blank keywords.
Assume point is at the beginning of the fixed-width area.
org-element-footnote-definition-interpreter footnote-definition contents
Interpret footnote-definition element as Org syntax.
contents is the contents of the footnote-definition.
org-element-footnote-definition-parser
Parse a footnote definition.
Return a list whose CAR is footnote-definition and CDR is a plist containing :label, :begin :end, :contents-begin, :contents-end and :post-blank keywords.
Assume point is at the beginning of the footnote definition.
org-element-footnote-reference-interpreter footnote-reference contents
Interpret footnote-reference object as Org syntax.
contents is nil.
org-element-footnote-reference-parser
Parse footnote reference at point.
Return a list whose CAR is footnote-reference and CDR a plist with :label, :type, :inline-definition, :begin, :end and :post-blank as keywords.
org-element-footnote-reference-successor limit
Search for the next footnote-reference object.
limit bounds the search.
Return value is a cons cell whose CAR is footnote-reference and CDR is beginning position.
org-element-forward
Move forward by one element. Move to the next element at the same level, when possible.
org-element-get-next-object-candidates limit restriction objects
Return an alist of candidates for the next object.
limit bounds the search, and restriction narrows candidates to
some object types.
Return value is an alist whose CAR is position and CDR the object type, as a symbol.
objects is the previous candidates alist.
org-element-headline-interpreter headline contents
Interpret headline element as Org syntax.
contents is the contents of the element.
org-element-headline-parser &optional raw-secondary-p
Parse an headline.
Return a list whose CAR is headline and CDR is a plist containing :raw-value, :title, :begin, :end, :pre-blank, :hiddenp, :contents-begin and :contents-end, :level, :priority, :tags, :todo-keyword,/:todo-type/, :scheduled, :deadline, :timestamp, :clock, :category, :quotedp, :archivedp, :commentedp and :footnote-section-p keywords.
The plist also contains any property set in the property drawer, with its name in lowercase, the underscores replaced with hyphens and colons at the beginning (i.e. :custom-id).
When raw-secondary-p is non-nil, headline's title will not be
parsed as a secondary string, but as a plain string instead.
Assume point is at beginning of the headline.
org-element-horizontal-rule-interpreter horizontal-rule contents
Interpret horizontal-rule element as Org syntax.
contents is nil.
org-element-horizontal-rule-parser
Parse an horizontal rule.
Return a list whose CAR is horizontal-rule and CDR is a plist containing :begin, :end and :post-blank keywords.
org-element-inline-babel-call-interpreter inline-babel-call contents
Interpret inline-babel-call object as Org syntax.
contents is nil.
org-element-inline-babel-call-parser
Parse inline babel call at point.
Return a list whose CAR is inline-babel-call and CDR a plist with :begin, :end, :info and :post-blank as keywords.
Assume point is at the beginning of the babel call.
org-element-inline-babel-call-successor limit
Search for the next inline-babel-call object.
limit bounds the search.
Return value is a cons cell whose CAR is inline-babel-call and CDR is beginning position.
org-element-inline-src-block-interpreter inline-src-block contents
Interpret inline-src-block object as Org syntax.
contents is nil.
org-element-inline-src-block-parser
Parse inline source block at point.
Return a list whose CAR is inline-src-block and CDR a plist with :begin, :end, :language, :value, :parameters and :post-blank as keywords.
Assume point is at the beginning of the inline src block.
org-element-inline-src-block-successor limit
Search for the next inline-babel-call element.
limit bounds the search.
Return value is a cons cell whose CAR is inline-babel-call and CDR is beginning position.
org-element-inlinetask-interpreter inlinetask contents
Interpret inlinetask element as Org syntax.
contents is the contents of inlinetask.
org-element-inlinetask-parser &optional raw-secondary-p
Parse an inline task.
Return a list whose CAR is inlinetask and CDR is a plist containing :title, :begin, :end, :hiddenp, :contents-begin and :contents-end, :level, :priority, :tags, :todo-keyword, :todo-type, :scheduled, :deadline, :timestamp, :clock and :post-blank keywords.
The plist also contains any property set in the property drawer, with its name in lowercase, the underscores replaced with hyphens and colons at the beginning (i.e. :custom-id).
When optional argument raw-secondary-p is non-nil, inline-task's
title will not be parsed as a secondary string, but as a plain
string instead.
Assume point is at beginning of the inline task.
org-element-interpret-data data &optional parent
Interpret data as Org syntax.
data is a parse tree, an element, an object or a secondary string
to interpret.
Optional argument parent is used for recursive calls. It contains
the element or object containing data, or nil.
Return Org syntax as a string.
org-element-italic-interpreter italic contents
Interpret italic object as Org syntax.
contents is the contents of the object.
org-element-italic-parser
Parse italic object at point.
Return a list whose CAR is italic and CDR is a plist with :begin, :end, :contents-begin and :contents-end and :post-blank keywords.
Assume point is at the first slash marker.
org-element-item-interpreter item contents
Interpret item element as Org syntax.
contents is the contents of the element.
org-element-item-parser struct &optional raw-secondary-p
Parse an item.
struct is the structure of the plain list.
Return a list whose CAR is item and CDR is a plist containing :bullet, :begin, :end, :contents-begin, :contents-end, :checkbox, :counter, :tag, :structure, :hiddenp and :post-blank keywords.
When optional argument raw-secondary-p is non-nil, item's tag, if
any, will not be parsed as a secondary string, but as a plain
string instead.
Assume point is at the beginning of the item.
org-element-keyword-interpreter keyword contents
Interpret keyword element as Org syntax.
contents is nil.
org-element-keyword-parser
Parse a keyword at point.
Return a list whose CAR is keyword and CDR is a plist containing :key, :value, :begin, :end and :post-blank keywords.
org-element-latex-environment-interpreter latex-environment contents
Interpret latex-environment element as Org syntax.
contents is nil.
org-element-latex-environment-parser
Parse a LaTeX environment.
Return a list whose CAR is latex-environment and CDR is a plist containing :begin, :end, :value and :post-blank keywords.
Assume point is at the beginning of the latex environment.
org-element-latex-fragment-interpreter latex-fragment contents
Interpret latex-fragment object as Org syntax.
contents is nil.
org-element-latex-fragment-parser
Parse latex fragment at point.
Return a list whose CAR is latex-fragment and CDR a plist with :value, :begin, :end, and :post-blank as keywords.
Assume point is at the beginning of the latex fragment.
org-element-latex-or-entity-successor limit
Search for the next latex-fragment or entity object.
limit bounds the search.
Return value is a cons cell whose CAR is entity or latex-fragment and CDR is beginning position.
org-element-line-break-interpreter line-break contents
Interpret line-break object as Org syntax.
contents is nil.
org-element-line-break-parser
Parse line break at point.
Return a list whose CAR is line-break, and CDR a plist with :begin, :end and :post-blank keywords.
Assume point is at the beginning of the line break.
org-element-line-break-successor limit
Search for the next line-break object.
limit bounds the search.
Return value is a cons cell whose CAR is line-break and CDR is beginning position.
org-element-link-interpreter link contents
Interpret link object as Org syntax.
contents is the contents of the object, or nil.
org-element-link-parser
Parse link at point.
Return a list whose CAR is link and CDR a plist with :type, :path, :raw-link, :begin, :end, :contents-begin, :contents-end and :post-blank as keywords.
Assume point is at the beginning of the link.
org-element-link-successor limit
Search for the next link object.
limit bounds the search.
Return value is a cons cell whose CAR is link and CDR is beginning position.
org-element-macro-interpreter macro contents
Interpret macro object as Org syntax.
contents is nil.
org-element-macro-parser
Parse macro at point.
Return a list whose CAR is macro and CDR a plist with :key, :args, :begin, :end, :value and :post-blank as keywords.
Assume point is at the macro.
org-element-macro-successor limit
Search for the next macro object.
limit bounds the search.
Return value is cons cell whose CAR is macro and CDR is beginning position.
org-element-map data types fun &optional info first-match no-recursion
Map a function on selected elements or objects.
data is the parsed tree, as returned by, i.e,
org-element-parse-buffer. types is a symbol or list of symbols
of elements or objects types. fun is the function called on the
matching element or object. It must accept one arguments: the
element or object itself.
When optional argument info is non-nil, it should be a plist
holding export options. In that case, parts of the parse tree
not exportable according to that property list will be skipped.
When optional argument first-match is non-nil, stop at the first
match for which fun doesn't return nil, and return that value.
Optional argument no-recursion is a symbol or a list of symbols
representing elements or objects types. org-element-map won't
enter any recursive element or object whose type belongs to that
list. Though, fun can still be applied on them.
Nil values returned from fun do not appear in the results.
org-element-mark-element
Put point at beginning of this element, mark at end.
Interactively, if this command is repeated or (in Transient Mark mode) if the mark is active, it marks the next element after the ones already marked.
org-element-nested-p elem-A elem-B
Non-nil when elements elem-a and elem-b are nested.
org-element-normalize-contents element &optional ignore-first
Normalize plain text in element's contents.
element must only contain plain text and objects.
If optional argument ignore-first is non-nil, ignore first line's
indentation to compute maximal common indentation.
Return the normalized element that is element with global indentation removed from its contents. The function assumes that indentation is not done with TAB characters.
org-element-normalize-string s
Ensure string s ends with a single newline character.
If s isn't a string return it unchanged. If s is the empty
string, return it. Otherwise, return a new string with a single
newline character at its end.
org-element-paragraph-interpreter paragraph contents
Interpret paragraph element as Org syntax.
contents is the contents of the element.
org-element-paragraph-parser
Parse a paragraph.
Return a list whose CAR is paragraph and CDR is a plist containing :begin, :end, :contents-begin and :contents-end and :post-blank keywords.
Assume point is at the beginning of the paragraph.
org-element-parse-buffer &optional granularity visible-only
Recursively parse the buffer and return structure. If narrowing is in effect, only parse the visible part of the buffer.
Optional argument granularity determines the depth of the
recursion. It can be set to the following symbols:
headline Only parse headlines. greater-element Don't recurse into greater elements excepted headlines and sections. Thus, elements parsed are the top-level ones. element Parse everything but objects and plain text. object Parse the complete buffer (default).
When visible-only is non-nil, don't parse contents of hidden
elements.
Assume buffer is in Org mode.
org-element-parse-elements beg end special structure granularity visible-only acc
Parse elements between beg and end positions.
special prioritize some elements over the others. It can be set
to quote-section, section item or table-row.
When value is item, structure will be used as the current list
structure.
granularity determines the depth of the recursion. See
org-element-parse-buffer for more information.
When visible-only is non-nil, don't parse contents of hidden
elements.
Elements are accumulated into acc.
org-element-parse-objects beg end acc restriction
Parse objects between beg and end and return recursive structure.
Objects are accumulated in acc.
restriction is a list of object types which are allowed in the
current object.
org-element-parse-secondary-string string restriction
Recursively parse objects in string and return structure.
restriction, when non-nil, is a symbol limiting the object types
that will be looked after.
org-element-plain-list-interpreter plain-list contents
Interpret plain-list element as Org syntax.
contents is the contents of the element.
org-element-plain-list-parser &optional structure
Parse a plain list.
Optional argument structure, when non-nil, is the structure of
the plain list being parsed.
Return a list whose CAR is plain-list and CDR is a plist containing :type, :begin, :end, :contents-begin and :contents-end, :structure and :post-blank keywords.
Assume point is at the beginning of the list.
org-element-planning-interpreter planning contents
Interpret planning element as Org syntax.
contents is nil.
org-element-planning-parser
Parse a planning.
Return a list whose CAR is planning and CDR is a plist containing :closed, :deadline, :scheduled, :begin, :end and :post-blank keywords.
org-element-property property element
Extract the value from the property of an element.
org-element-property-drawer-interpreter property-drawer contents
Interpret property-drawer element as Org syntax.
contents is nil.
org-element-property-drawer-parser
Parse a property drawer.
Return a list whose CAR is property-drawer and CDR is a plist containing :begin, :end, :hiddenp, :contents-begin, :contents-end, :properties and :post-blank keywords.
Assume point is at the beginning of the property drawer.
org-element-quote-block-interpreter quote-block contents
Interpret quote-block element as Org syntax.
contents is the contents of the element.
org-element-quote-block-parser
Parse a quote block.
Return a list whose CAR is quote-block and CDR is a plist containing :begin, :end, :hiddenp, :contents-begin, :contents-end and :post-blank keywords.
Assume point is at the beginning of the block.
org-element-quote-section-interpreter quote-section contents
Interpret quote-section element as Org syntax.
contents is nil.
org-element-quote-section-parser
Parse a quote section.
Return a list whose CAR is quote-section and CDR is a plist containing :begin, :end, :value and :post-blank keywords.
Assume point is at beginning of the section.
org-element-radio-target-interpreter target contents
Interpret target object as Org syntax.
contents is the contents of the object.
org-element-radio-target-parser
Parse radio target at point.
Return a list whose CAR is radio-target and CDR a plist with :begin, :end, :contents-begin, :contents-end, :value and :post-blank as keywords.
Assume point is at the radio target.
org-element-radio-target-successor limit
Search for the next radio-target object.
limit bounds the search.
Return value is a cons cell whose CAR is radio-target and CDR is beginning position.
org-element-restriction element
Return restriction associated to element.
element can be an element, an object or a symbol representing an
element or object type.
org-element-section-interpreter section contents
Interpret section element as Org syntax.
contents is the contents of the element.
org-element-section-parser
Parse a section.
Return a list whose CAR is section and CDR is a plist containing :begin, :end, :contents-begin, contents-end and :post-blank keywords.
org-element-special-block-interpreter special-block contents
Interpret special-block element as Org syntax.
contents is the contents of the element.
org-element-special-block-parser
Parse a special block.
Return a list whose CAR is special-block and CDR is a plist containing :type, :begin, :end, :hiddenp, :contents-begin, :contents-end and :post-blank keywords.
Assume point is at the beginning of the block.
org-element-src-block-interpreter src-block contents
Interpret src-block element as Org syntax.
contents is nil.
org-element-src-block-parser
Parse a src block.
Return a list whose CAR is src-block and CDR is a plist containing :language, :switches, :parameters, :begin, :end, :hiddenp, :contents-begin, :contents-end, :number-lines, :retain-labels, :use-labels, :label-fmt, :preserve-indent, :value and :post-blank keywords.
Assume point is at the beginning of the block.
org-element-statistics-cookie-interpreter statistics-cookie contents
Interpret statistics-cookie object as Org syntax.
contents is nil.
org-element-statistics-cookie-parser
Parse statistics cookie at point.
Return a list whose CAR is statistics-cookie, and CDR a plist with :begin, :end, :value and :post-blank keywords.
Assume point is at the beginning of the statistics-cookie.
org-element-statistics-cookie-successor limit
Search for the next statistics cookie object.
limit bounds the search.
Return value is a cons cell whose CAR is statistics-cookie and CDR is beginning position.
org-element-strike-through-interpreter strike-through contents
Interpret strike-through object as Org syntax.
contents is the contents of the object.
org-element-strike-through-parser
Parse strike-through object at point.
Return a list whose CAR is strike-through and CDR is a plist with :begin, :end, :contents-begin and :contents-end and :post-blank keywords.
Assume point is at the first plus sign marker.
org-element-sub/superscript-successor limit
Search for the next sub/superscript object.
limit bounds the search.
Return value is a cons cell whose CAR is either subscript or superscript and CDR is beginning position.
org-element-subscript-interpreter subscript contents
Interpret subscript object as Org syntax.
contents is the contents of the object.
org-element-subscript-parser
Parse subscript at point.
Return a list whose CAR is subscript and CDR a plist with :begin, :end, :contents-begin, :contents-end, :use-brackets-p and :post-blank as keywords.
Assume point is at the underscore.
org-element-superscript-interpreter superscript contents
Interpret superscript object as Org syntax.
contents is the contents of the object.
org-element-superscript-parser
Parse superscript at point.
Return a list whose CAR is superscript and CDR a plist with :begin, :end, :contents-begin, :contents-end, :use-brackets-p and :post-blank as keywords.
Assume point is at the caret.
org-element-swap-A-B elem-A elem-B
Swap elements elem-a and elem-b.
Assume elem-b is after elem-a in the buffer. Leave point at the
end of elem-a.
org-element-table-cell-interpreter table-cell contents
Interpret table-cell element as Org syntax.
contents is the contents of the cell, or nil.
org-element-table-cell-parser
Parse table cell at point.
Return a list whose CAR is table-cell and CDR is a plist containing :begin, :end, :contents-begin, :contents-end and :post-blank keywords.
org-element-table-cell-successor limit
Search for the next table-cell object.
limit bounds the search.
Return value is a cons cell whose CAR is table-cell and CDR is beginning position.
org-element-table-interpreter table contents
Interpret table element as Org syntax.
contents is nil.
org-element-table-parser
Parse a table at point.
Return a list whose CAR is table and CDR is a plist containing :begin, :end, :tblfm, :type, :contents-begin, :contents-end, :value and :post-blank keywords.
Assume point is at the beginning of the table.
org-element-table-row-interpreter table-row contents
Interpret table-row element as Org syntax.
contents is the contents of the table row.
org-element-table-row-parser
Parse table row at point.
Return a list whose CAR is table-row and CDR is a plist containing :begin, :end, :contents-begin, :contents-end, :type and :post-blank keywords.
org-element-target-interpreter target contents
Interpret target object as Org syntax.
contents is nil.
org-element-target-parser
Parse target at point.
Return a list whose CAR is target and CDR a plist with :begin, :end, :value and :post-blank as keywords.
Assume point is at the target.
org-element-target-successor limit
Search for the next target object.
limit bounds the search.
Return value is a cons cell whose CAR is target and CDR is beginning position.
org-element-text-markup-successor limit
Search for the next text-markup object.
limit bounds the search.
Return value is a cons cell whose CAR is a symbol among bold, italic, underline, strike-through, code and verbatim and CDR is beginning position.
org-element-timestamp-interpreter timestamp contents
Interpret timestamp object as Org syntax.
contents is nil.
org-element-timestamp-parser
Parse time stamp at point.
Return a list whose CAR is timestamp, and CDR a plist with :type, :begin, :end, :value and :post-blank keywords.
Assume point is at the beginning of the timestamp.
org-element-timestamp-successor limit
Search for the next timestamp object.
limit bounds the search.
Return value is a cons cell whose CAR is timestamp and CDR is beginning position.
org-element-transpose
Transpose current and previous elements, keeping blank lines between. Point is moved after both elements.
org-element-type element
Return type of element element.
The function returns the type of the element or object provided. It can also return the following special value:
/plain-text/ for a string
`org-data' for a complete document
nil in any other case.
org-element-underline-interpreter underline contents
Interpret underline object as Org syntax.
contents is the contents of the object.
org-element-underline-parser
Parse underline object at point.
Return a list whose CAR is underline and CDR is a plist with :begin, :end, :contents-begin and :contents-end and :post-blank keywords.
Assume point is at the first underscore marker.
org-element-unindent-buffer
Un-indent the visible part of the buffer. Relative indentation (between items, inside blocks, etc.) isn't modified.
org-element-up
Move to upper element.
org-element-verbatim-interpreter verbatim contents
Interpret verbatim object as Org syntax.
contents is nil.
org-element-verbatim-parser
Parse verbatim object at point.
Return a list whose CAR is verbatim and CDR is a plist with :value, :begin, :end and :post-blank keywords.
Assume point is at the first equal sign marker.
org-element-verse-block-interpreter verse-block contents
Interpret verse-block element as Org syntax.
contents is verse block contents.
org-element-verse-block-parser
Parse a verse block.
Return a list whose CAR is verse-block and CDR is a plist containing :begin, :end, :contents-begin, :contents-end, :hiddenp and :post-blank keywords.
Assume point is at beginning of the block.