Better API for org. It’s that simple. Org Mode has really confusing
and fragmented API where many simple things are impossibly difficuly.\
This is the result of its organic growth.
This package provides some high-level abstractions for common problems
people want to solve.
- org better api
- Table of Content
- Naming conventions
- Non-interactive APIs
- Interactive commands
- Functions which query for a specific element or property etc. are
generally namedorgba-<thing>-at
and acceptpoint
as optional\ argument to do the query at that point. Otherwise default to\ current(point)
. - Functions which query for a specific element in the scope of the
current header are generally namedorgba-get-<thing>
. - Use
heading
consistently instead ofentry
,task
,headline
,heading
…
Get property name
of current heading.
If dont-inherit
is non-nil, do not use property inheritance.
Get property name
of current heading or create it.
If no property with name
exists, set it to value
. Return value
.
If dont-inherit
is non-nil, do not use property inheritance.
Set property name
of current heading to value
.
Return value
.
Return position of drawer with name
in current trees’s content.
If no such drawer exists return nil.
The content of the tree is the area from the headline to the next
headline on any level. This function does not search the child\
subtrees unless use-children
is non-nil.
Return position of drawer with name
in current trees’s content.
If no such drawer exists create it in the current tree.
The content of the tree is the area from the headline to the next
headline on any level. This function does not search the child\
subtrees unless use-children
is non-nil.
Insert a new empty table with columns
.
Go to next heading or end of file if at the last heading.
Return point.
Go to the first sibling of parent heading or end of file.
Return point.
Go to the top parent of current heading.
Return point.
Return the heading element at point
.
Return the heading title at point
.
Map fun
over all the headlines in the buffer (as elements)
Non-nil when point is in any org block.
Format time
(defaults to now) as org timestamp.
If active
is non-nil, format as active timestamp.
Return non-nil if line at point is a task.
Return non-nil if org is restricted to a subtree.
Narrow to the top-most tree containing point.
Select the cell in org table the point is in.