* lisp/org-agenda.el (org-agenda-get-progress): Set "type"
text-property according to why the item was matched.
Previously, the "type" text-property was always set to "closed", even
when an item was actually matched because of its "Clock" or "State"
line.
Note: it's possible that some code might expect the value to be
"closed" in all 3 cases, in which case this could cause a minor
regression, so this change should be carefully considered. However,
in the long run, it seems like the correct thing to do and a
worthwhile change to make.
* lisp/org-agenda.el (org-agenda-get-progress): Accept multiple spaces
between the list bullet and "State" in the state-change regexp.
Previously, logbook list entries with more than one space between the
bullet and the beginning of the entry would be ignored. I.e., if
a bullet is defined in org-list-two-spaces-after-bullet-regexp, two
spaces will be inserted after the bullet, and that prevents
state-changed entries from appearing in the Agenda Log Mode view.
* lisp/org-indent.el (org-indent--compute-prefixes): When
`org-indent-boundary-char' doens't have `org-indent' face property in
Org Indent mode, it causes an appearance issue. When you use Org mode
with Whitespace mode, you can't control `org-indent-boundary-char''s
face neither `whitespace-space' face nor `org-indent' face.
TINYCHANGE
* lisp/org.el: (org-get-tags) Create a clearer separation between
local and inherited tags in the function, so that
org-remove-uninherited tags is only run on inherited tags. This is
important to avoid destroying existing tags when adding new tags.
* testing/lisp/test-org.el: (test-org/get-tags) Add regression test
This module provides command `org-attach-embedded-images-in-subtree'
to save such images as attachments and insert org links to them. Each
image is named with its sha1 sum.
* lisp/org.el (org-kill-line): Preserve tags when `org-special-ctrl-k'
is non-nil.
* testing/lisp/test-org.el (test-org/kill-line): New test.
Reported-by: Matt Lundin <mdl@imapmail.org>
<http://lists.gnu.org/r/emacs-orgmode/2018-07/msg00122.html>
* lisp/org-clock.el (org-clock-in): Use `org-get-heading' so one can
select an empty task. Also check base buffer instead of comparing
current buffer. Small refactoring.
Reported-by: Robert Irelan <rirelan@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-07/msg00116.html>
* contrib/lisp/ox-koma-letter.el (org-koma-letter-template): Compare
special-tag to string instead of symbol. BTW indented and
rearranged a few lines code.
* lisp/org-macro.el (org-macro-initialize-templates): Do not
initialize the special "results" macro.
(org-macro-replace-all): Do not raise an error if "results" macro has
no associated template yet.
* lisp/ox.el (org-export-as): Update code comments.
* testing/lisp/test-ox.el (test-org-export/expand-macro): Add test.
* lisp/org.el (org-open-at-point): Do not open everything that looks
like a link, in particular in verbatim or code objects. However,
still conveniently open links in comments, node properties and
keywords.
* lisp/ob-core.el (org-babel-open-src-block-result): Fix docstring,
refactor code.
* lisp/org.el (org-open-at-point): Refactor so as to not call
`org-babel-open-src-block-result' unconditionally.
* doc/org-manual.org (MobileOrg): Moved into "Miscellaneous".
MobileOrg doesn't belong to Org proper. It should be documented in
the manual, but not at the top level.
* doc/org-manual.org (Markup for Rich Contents): Renamed from "Markup
for Rich Export". Rewrite the introduction and the description.
(Exporting): Fix cross-reference.
At this point, the export framework hasn't been described so it could
be confusing to use it in the section name.
* doc/org-manual.org (Org Syntax): Move to "Miscellaneous". Expound
documentation about how to use the linter.
The syntax happens too early in the manual, before most elements are
even described.
* doc/org-manual.org (Advanced Export Configuration): Renamed from
"Advanced Configuration".
(Example blocks in LaTeX export): Fix link.
When browsing the menu, "Advanced Configuration" is too vague, and
doesn't correlate immediately to Export.
* doc/org-manual.org (Paragraphs): Fix markup typo. Add missing "line
breaks" index entry.
(Captions): Use plural form for index entry, as other occurrences in
the document.
(Literal Examples): Use "markup rules" instead of "markup", as other
occurrences in the document.
* doc/org-manual.org (Built-in Table Editor): Add more information
about table syntax.
(Handling Links): Move `org-toggle-inline-images' function to the new
"Images" section.
(Images and Tables): Remove section.
(Images):
(Captions): New sections.
(Tables in LaTeX export):
(Images in LaTeX export):
(Footnotes): Fix cross-references.
Also re-order "Markup for Rich Export" children. The idea is to start
out with the paragraph definition, then describe the syntax for
objects that can be included in a paragraph. Then, proceed with
elements that act as paragraph separators, and finish with less used
syntax.