org-element-parse-buffer is a Lisp function in `org-element.el'. (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-fill-paragraph is an interactive compiled Lisp function in `org.el'. (org-fill-paragraph &optional JUSTIFY) Fill element at point, when applicable. This function only applies to comment blocks, comments, example blocks and paragraphs. 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. For convenience, when point is at a plain list, an item or a footnote definition, try to fill the first paragraph within. [back]