Commit 30cb51f1 authored by Bastien Guerry's avatar Bastien Guerry

Merge Org 8.2.6-1.

The last merge was from 8.2.5c, but many important bugs got
fixed between 8.2.5c and 8.2.6-1.
parent d5ff4ded
2014-04-22 Bastien Guerry <>
* org.texi (Installation): Be more clear on why installing Org
through ELPA should be done without loading any Org file.
* org.texi (Emphasis and monospace): Document the use of
=verbatim= and ~code~ to be consistent with
* org.texi (In-buffer settings, Radio tables): Tiny fixes.
* org.texi (Initial visibility):
* org.texi (Literal examples): Fix typos.
2014-04-22 Michael Brand <>
* org.texi (Column attributes): Add a sentence to point out
the dependency on the format specifier.
2014-04-22 Nicolas Goaziou <>
* org.texi (The Export Dispatcher): Reformulation.
* org.texi (@LaTeX{} specific attributes): Update manual.
* org.texi (Top, Exporting): Org has its own documentation and
should therefore be removed from "Other build-in back-ends".
2014-03-26 Paul Eggert <>
* texinfo.tex: Update from gnulib.
......@@ -2,7 +2,7 @@
@c %**start of header
@setfilename ../../info/org
@settitle The Org Manual
@set VERSION 8.2.5c
@set VERSION 8.2.6
@c Version and Contact Info
@set MAINTAINERSITE @uref{,maintainers web page}
......@@ -275,7 +275,7 @@ modify this GNU manual.''
@dircategory Emacs editing modes
* Org Mode: (org). Outline-based notes management and organizer.
* Org Mode: (org). Outline-based notes management and organizer
@end direntry
......@@ -585,8 +585,8 @@ Exporting
* OpenDocument Text export:: Exporting to OpenDocument Text
* Org export:: Exporting to Org
* iCalendar export:: Exporting to iCalendar
* Other built-in back-ends:: Exporting to @code{Texinfo}, a man page, or Org
* Export in foreign buffers:: Author tables in lists in Org syntax
* Other built-in back-ends:: Exporting to @code{Texinfo} or a man page
* Export in foreign buffers:: Author tables and lists in Org syntax
* Advanced configuration:: Fine-tuning the export output
HTML export
......@@ -877,7 +877,11 @@ We @b{strongly recommend} to stick to a single installation method.
Recent Emacs distributions include a packaging system which lets you install
Elisp libraries. You can install Org with @kbd{M-x package-install RET org}.
You need to do this in a session where no @code{.org} file has been visited.
@noindent @b{Important}: you need to do this in a session where no @code{.org} file has
been visited, i.e. where no Org built-in function have been loaded.
Otherwise autoload Org functions will mess up the installation.
Then, to make sure your Org configuration is taken into account, initialize
the package system with @code{(package-initialize)} in your @file{.emacs}
before setting any Org option. If you want to use Org's package repository,
......@@ -1339,7 +1343,7 @@ When Emacs first visits an Org file, the global state is set to OVERVIEW,
i.e., only the top level headlines are visible@footnote{When
@code{org-agenda-inhibit-startup} is non-@code{nil}, Org will not honor the default
visibility state when first opening a file for the agenda (@pxref{Speeding up
your agendas}).} This can be configured through the variable
your agendas}).}. This can be configured through the variable
@code{org-startup-folded}, or on a per-file basis by adding one of the
following lines anywhere in the buffer:
......@@ -5525,6 +5529,9 @@ of 5 to 20 days, representing what to expect if everything goes either
extremely well or extremely poorly. In contrast, @code{est+} estimates the
full job more realistically, at 10--15 days.
Numbers are right-aligned when a format specifier with an explicit width like
@code{%5d} or @code{%5.1f} is used.
Here is an example for a complete columns definition, along with allowed
......@@ -9729,8 +9736,8 @@ multiple footnotes side by side.
@vindex org-fontify-emphasized-text
@vindex org-emphasis-regexp-components
@vindex org-emphasis-alist
You can make words @b{*bold*}, @i{/italic/}, _underlined_, @code{=code=}
and @code{~verbatim~}, and, if you must, @samp{+strike-through+}. Text
You can make words @b{*bold*}, @i{/italic/}, _underlined_, @code{=verbatim=}
and @code{~code~}, and, if you must, @samp{+strike-through+}. Text
in the code and verbatim string is not processed for Org mode specific
syntax, it is exported verbatim.
......@@ -9888,7 +9895,7 @@ Here is an example:
#+BEGIN_SRC emacs-lisp -n -r
(save-excursion (ref:sc)
(goto-char (point-min)) (ref:jump)
(goto-char (point-min))) (ref:jump)
In line [[(sc)]] we remember the current position. [[(jump)][Line (jump)]]
jumps to point-min.
......@@ -10358,8 +10365,8 @@ in the iCalendar format.
* OpenDocument Text export:: Exporting to OpenDocument Text
* Org export:: Exporting to Org
* iCalendar export:: Exporting to iCalendar
* Other built-in back-ends:: Exporting to @code{Texinfo}, a man page, or Org
* Export in foreign buffers:: Author tables in lists in Org syntax
* Other built-in back-ends:: Exporting to @code{Texinfo} or a man page
* Export in foreign buffers:: Author tables and lists in Org syntax
* Advanced configuration:: Fine-tuning the export output
@end menu
......@@ -10400,10 +10407,10 @@ export dispatcher with the following key combinations:
Toggle asynchronous export. Asynchronous export uses an external Emacs
process that is configured with a specified initialization file.
While exporting asynchronously, the output is not displayed. It is stored in
a list called ``the export stack'', and can be viewed from there. The stack
can be reached by calling the dispatcher with a double @kbd{C-u} prefix
argument, or with @kbd{&} key from the dispatcher.
While exporting asynchronously, the output is not displayed, but stored in
a place called ``the export stack''. This stack can be displayed by calling
the dispatcher with a double @kbd{C-u} prefix argument, or with @kbd{&} key
from the dispatcher menu.
@vindex org-export-in-background
To make this behavior the default, customize the variable
......@@ -11762,13 +11769,12 @@ the @LaTeX{} @code{\includegraphics} macro will be commented out.
@cindex plain lists, in @LaTeX{} export
Plain lists accept two optional attributes: @code{:environment} and
@code{:options}. The first one allows the use of a non-standard
environment (e.g., @samp{inparaenum}). The second one specifies
optional arguments for that environment (square brackets may be
@code{:options}. The first one allows the use of a non-standard environment
(e.g., @samp{inparaenum}). The second one specifies additional arguments for
that environment.
#+ATTR_LATEX: :environment compactitem :options $\circ$
#+ATTR_LATEX: :environment compactitem :options [$\circ$]
- you need ``paralist'' package to reproduce this example.
@end example
......@@ -13773,8 +13779,13 @@ can be used to map arbitrary language names to existing major modes.
@item org-src-window-setup
Controls the way Emacs windows are rearranged when the edit buffer is created.
@item org-src-preserve-indentation
This variable is especially useful for tangling languages such as
Python, in which whitespace indentation in the output is critical.
By default, the value is @code{nil}, which means that when code blocks are
evaluated during export or tangled, they are re-inserted into the code block,
which may replace sequences of spaces with tab characters. When non-nil,
whitespace in code blocks will be preserved during export or tangling,
exactly as it appears. This variable is especially useful for tangling
languages such as Python, in which whitespace indentation in the output is
@item org-src-ask-before-returning-to-edit-buffer
By default, Org will ask before returning to an open edit buffer. Set this
variable to @code{nil} to switch without asking.
......@@ -15827,7 +15838,7 @@ The corresponding variable is @code{org-archive-location}.
This line sets the category for the agenda file. The category applies
for all subsequent lines until the next @samp{#+CATEGORY} line, or the
end of the file. The first such line also applies to any entries before it.
@item #+COLUMNS: %25ITEM .....
@item #+COLUMNS: %25ITEM ...
@cindex property, COLUMNS
Set the default format for columns view. This format applies when
columns view is invoked in locations where no @code{COLUMNS} property
......@@ -15842,11 +15853,11 @@ The global version of this variable is
@item #+FILETAGS: :tag1:tag2:tag3:
Set tags that can be inherited by any entry in the file, including the
top-level entries.
@item #+DRAWERS: NAME1 .....
@item #+DRAWERS: NAME1 ...
@vindex org-drawers
Set the file-local set of additional drawers. The corresponding global
variable is @code{org-drawers}.
@item #+LINK: linkword replace
@item #+LINK: linkword replace
@vindex org-link-abbrev-alist
These lines (several are allowed) specify link abbreviations.
@xref{Link abbreviations}. The corresponding variable is
......@@ -16862,7 +16873,7 @@ Orgtbl mode how to translate this table and where to install it. For
@cindex #+ORGTBL
#+ORGTBL: SEND table_name translation_function arguments....
#+ORGTBL: SEND table_name translation_function arguments...
@end example
2014-04-22 Aaron Ecay <>
* org-src.el (org-edit-src-exit): Place an undo boundary before
writing changes back to parent buffer.
2014-04-22 Achim Gratz <Stromeko@Stromeko.DE>
* ob-gnuplot.el (org-babel-gnuplot-process-vars):
`org-babel-gnuplot-table-to-data´ expects a table, so we need to
construct one when Babel hands us a vector.
* ob-ref.el (org-babel-ref-parse): If
`org-babel-current-src-block-location' is a marker, it can be from
another buffer, use marker-position instead in this case.
2014-04-22 Arun Persaud <> (tiny change)
* org-src.el (org-edit-src-exit): Don't add indentation on empty
2014-04-22 Bastien Guerry <>
* org.el (org-insert-heading): Fix behavior when point is at the
beginning of a heading or a list item. Enhance docstring.
* ox-html.el (org-html-infojs-install-script): Don't install
infojs scripts when #+INFOJS_OPT: is empty.
* org.el (org-mode): Fix the use of `org-*-element' functions for
C-M-a and C-M-e but fix C-M-e.
* org-agenda.el (org-agenda-search-view): Fix tag.
* org.el (org-check-before-invisible-edit): Don't just cycle, show
the subtree, as cycling may leave the current heading folded.
(org-contextualize-validate-key): Fix wrong test.
* org-bibtex.el (org-bibtex-headline): Don't throw an error when
trying to add a keyword field to a BibTeX entry that is not known
by BibTeX or defined by the user.
(org-bibtex, org-bibtex-no-export-tags): Fix docstrings.
* ox-latex.el (org-latex-src-block): Fix wrong propagation of
labels and captions when using the listings environment.
* org.el (org-sort-entries): Fix the number of blank lines to
keep for the last entry to sort.
* org-clock.el (org-clock-put-overlay): Fix display when
`org-indent-mode' is on.
* org.el (org-sort-entries): Allow to sort by clocking time.
* org-agenda.el (org-agenda-finalize): Apply all filters
* org.el (org-update-dblock): Use `save-excursion' instead of
`save-window-excursion' so that blocks can edit other windows and
change the window layout.
* org-agenda.el (org-agenda-mode): Disable `indent-tabs-mode'.
(org-agenda-dim-blocked-tasks): Make overlays intangible.
(org-agenda-show-new-time): Fix bug when deleting a timestamp
right after changing it.
(org-agenda-get-sexps, org-agenda-filter-by-regexp)
(org-agenda-filter-top-headline-apply): Fix indentation.
* org.el (org-cycle): Try `org-try-cdlatex-tab' before trying
to edit/move as in a table.
* org-agenda.el (org-agenda-show-new-time): Don't use
`move-beginning-of-line' as it is slower and not needed.
* org-compat.el (org-move-to-column): Temporarily set
`buffer-invisibility-spec' more accurately.
* ox-latex.el (org-latex-text-markup-alist): Use \ul{...} for
underlining instead of \uline{...} as requiring the hyperref
package makes \uline{...} unusable on headline.
* org.el (org-latex-default-packages-alist): Add the "soul"
* org.el (org-refresh-properties): Don't add the property to
the whole subtree, only to the part between the beginning of
the headline and the end of the "content", before any other
headline. This fix a bug about properties displayed as
inherited in the agenda, where Org properties are checked
against text properties.
* ox-latex.el (org-latex--text-markup): Replace newlines by
whitespaces in \verb constructs.
* org-agenda.el (org-agenda-filter-hide-line): Hide from the
beginning of the line to the beginning of the next line.
(org-agenda-show-new-time): Use `move-beginning-of-line' and
(org-agenda-drag-line-forward): Adapt to the new definition of
hidden filtered lines.
* org-compat.el (org-move-to-column): Always ignore invisible
text in agenda buffer, and when there is both a bracket link
and '(org-link) as a member of `buffer-invisibility-spec'.
Add a docstring.
* org.el (org-align-tags-here): Add docstring and remove useless
arguments when calling `org-move-to-column'.
* org-table.el (org-table-copy-down)
(org-table-find-dataline, org-table-move-row)
(org-table-insert-hline, org-table-kill-row):
* org-agenda.el (org-agenda-next-item)
(org-agenda-previous-item, org-agenda-todo)
(org-agenda-priority, org-agenda-show-new-time)
(org-agenda-clock-in, org-agenda-clock-out): Remove useless
arguments when calling `org-move-to-column'.
* org.el (org-refile): Fix calling with a numeric prefix argument
of 3 to refile and keep.
* org-clock.el (org-clock-get-table-data): When :link is `t' in
the clocktable parameters, bracket links in the clocktable should
only contain their description, other C-c C-o will try to open the
bracket link at point instead of the headline.
* org-agenda.el (org-agenda-todo): Always restore the window state
after `org-agenda-change-all-lines' has been called.
(org-agenda-open-link): Don't throw an error when trying to open a
link when the point is on a place that is not associated with a
* ox-latex.el (org-latex-link): Escape `%' characters.
* org.el (org-entry-get-with-inheritance): Remove wrong quote.
(org-entry-get): Only try to combine file properties with local
properties when the property drawer contains such local property,
not when the property drawer exists.
* ox-latex.el (org-latex-link):
* ox-html.el (org-html-link):
* ox-beamer.el (org-beamer-link): Fix links to radio targets.
* ox-ascii.el (org-ascii-link): For links to a radio target, use
the link, not the target.
* org.el (org-do-emphasis-faces): Explicitly prevent nested
(org-insert-heading): Don't remove whitespaces following an empty
* org-timer.el (org-timer-stop): Set `org-timer-current-timer' to
* org.el (org-store-link): Ensure desc is not nil before matching
a regexp against it. Fall back on an empty string when no
description is available.
* org-agenda.el (org-agenda-list-stuck-projects): Bugfix: set
* org-capture.el (org-capture-finalize): Ensure to widen the
buffer when the target buffer is not initially narrowed.
* org-compat.el (org-move-to-column): Fix bug about ignoring
bracket links visibility status in tables with S-RET.
* org-src.el (org-edit-src-find-region-and-lang): Check if we are
in a table.el table last.
* org.el (org-delete-property): Don't suggest to delete the
CATEGORY property when the category is not explicitely set in the
property drawer. Also enforce matching when completing.
(org-insert-heading): Fix regression: with two universal prefixes,
insert heading at the end of the subtree.
(org-insert-todo-heading): Bugfix: only enforce the first TODO
state when arg is '(4).
* org-agenda.el (org-agenda-skip-subtree-if): Fix docstring.
* org.el (org-contextualize-validate-key): Fix bug: perform the
check even when (buffer-file-name) returns `nil'.
* org-colview.el (org-columns-display-here): Let-bind `fm'.
* org.el (org-emphasis-alist): Use `org-verbatim' for =text=
and `org-code' for ~text~.
(org-open-link-marker): Fix typo in docstring.
* org-colview.el (org-columns-display-here): Fix the column
view for numbers with a format specifier (e.g. {+; %5.1f}).
* org-src.el (org-edit-src-code): Throw a warning instead of
an error when loading the mode fails, otherwise the user is
left with unusable buffers.
* org-table.el (org-table-copy-down)
(org-table-find-dataline, org-table-move-row)
(org-table-insert-hline, org-table-kill-row): Use
`org-move-to-column' with the IGNORE-INVISIBLE arg set to `t', so
that abbreviated rows don't interfer with setting the cursor back
at the correct position.
* org.el (org-agenda-prepare-buffers): Use `save-excursion'
instead of `save-window-excursion'.
(org-file-contents): Return an empty string instead of the
(org-open-at-point): Fix bug when opening a plain link followed by
a bracket link.
(org-ctrl-c-ctrl-c): Fix behavior when hitting C-c C-c on LaTeX
formulas in tables.
(org-refile--get-location): New internal function using a wider
set of possible refile locations.
(org-refile-get-location): Use it.
(org-refile): Fix bug when refiling the last subtree of the
buffer: don't leave out the last character.
(org-sort-entries): Restore the point location when there is
nothing to sort.
* org-table.el (org-table-field-info): Throw a user error when not
at a table.
* org-agenda.el (org-agenda-drag-line-forward): Call
`org-agenda-mark-clocking-task' when done.
(org-agenda-mark-clocking-task): Small refactoring.
* org-compat.el (org-set-transient-map): Alias pointing at
`set-transient-map' if defined, at `set-temporary-overlay-map'
* org-agenda.el (org-agenda-next-item)
(org-agenda-previous-item, org-agenda-toggle-archive-tag)
(org-agenda-todo, org-agenda-priority, org-agenda-clock-in)
(org-agenda-clock-out): Put the cursor back on the correct
column, when possible.
(org-agenda-todo): When `org-clock-out-when-done' is `t', also
remove the current clock overlay.
* org.el (org-format-latex-options): Fix docstring.
* ox.el (org-export--get-subtree-options): When using the headline
as a title for a subtree export, only take the true heading, no
TODO keyword, no priority cookie, no tag.
* org.el (customize-package-emacs-version-alist): Fix Org version
for Emacs 24.4.
* org.el (org-demote): Ignore invisible text when aligning tags.
(org-set-tags): When JUST-ALIGN is 'ignore-column, ignore
invisible text when restoring the cursor to the correct column.
* ob-python.el (org-babel-python-var-to-python): Bugfix: Strip
properties before formatting the results.
* org-agenda.el (org-agenda-regexp-filter-preset): Fix typo in
(org-agenda-reapply-filters): New function.
(org-agenda-drag-line-forward): Rewrite to fix a bug when used
in filtered agendas.
(org-agenda-drag-line-backward): Rewrite using
* ob-table.el (org-sbe): Rename from `sbe'.
* org.el (org-store-link): When a link has been stored, always
returns it.
* ob-python.el (org-babel-python-var-to-python): Fix code typo.
* org-entities.el (org-entities-help): Prevent the display of
pretty entities, as this help buffer is meant to list literal
strings, not utf-8 representations.
2014-04-22 Benjamin Drieu <>
* org.el (org-store-link): Fix selection of the function to store
the link.
2014-04-22 Ilya Shlyakhter <>
* org.el (org-entry-get-with-inheritance): Temporarily let-bind
`org-file-properties', `org-global-properties' and
`org-global-properties-fixed' to nil before calling
`org-entry-get' on entries up the hierarchy from the queried
2014-04-22 Justin Gordon <>
* ox-md (org-md-separate-elements): Fix blank line insertion
between elements.
* ox-md.el (org-md-inner-template): New function.
2014-04-22 Leonard Randall <> (tiny change)
* org-bibtex.el (org-bibtex-headline): Fix insertion of keywords
of unknown BibTeX entries.
2014-04-22 Markus Hauck <> (tiny change)
* org-agenda.el (org-agenda-get-scheduled): If
`org-agenda-skip-scheduled-if-deadline-is-shown' is set to
'repeated-after-deadline, still show tasks without any deadline
2014-04-22 Michael Brand <>
* org-table.el (org-table-fix-formulas): Handle multiple #+TBLFM
lines with `forward-line'.
2014-04-22 Michael Weylandt <> (tiny change)
* ox-latex.el (org-latex-export-to-latex): Downcase the language
name when using minted highlighting for src block exports.
2014-04-22 Nick Dokos <>
* org-mobile.el (org-mobile-create-index-file): delete :grouptags
entries from tags list when creating the org-mobile index file.
2014-04-22 Nicolas Goaziou <>
* ox.el (org-export-copy-to-kill-ring): Comply to docstrings
* org.el (org-sparse-tree): Fix code typo. Small refactoring.
* ox-latex.el (org-latex-link):
* ox-html.el (org-html-link): Do not expand absolute file names
and do not try to fix hierarchy part, as it is already taken care of
at the parser level.
* ox-md.el (org-md-link): Ditto. Also fix absolute file names.
* ox-odt.el (org-odt-link):
* ox-man.el (org-man-link):
* ox-texinfo.el (org-texinfo-link):
* org-element.el (org-element-link-parser): Fix ill-defined "file"
type links. Expand absolute file names in the process.
* org.el (org-make-link-regexps): Use `regexp-opt' instead of
`mapconcat' and `regexp-quote'.
* ox-html.el (org-html-link):
* ox-latex.el (org-latex-link):
* ox-man.el (org-man-link):
* ox-odt.el (org-odt-link):
* ox-html.el (org-html-link):
* ox-latex.el (org-latex-link):
* ox-man.el (org-man-link):
* ox-odt.el (org-odt-link):
* ox-texinfo.el (org-texinfo-link): Append "//" after some link
* ox-md.el (org-md-link):
* org.el (org-make-link-regexps): Allow optional double slashes
after type. Small refactoring.
* org-element.el (org-element-headline-parser): Tiny refactoring.
* org-element.el (org-element-headline-parser): Correctly parse
blank lines after a headline.
* org-element.el (org-element-table-cell-parser)
(org-element-table-cell-successor): Recognize cell even when last
vertical bar is missing.
* ox-md.el (org-md-example-block): handle switches and references
in source blocks.
* org.el (org-latex-packages-alist)
(org-latex-default-packages-alist): Update docstrings.
* ox-ascii.el (org-ascii--unique-links): Ignore white spaces when
uniquifying links in section.
* ox-odt.el (org-odt-template): Ignore blank titles.
* ox-publish.el (org-publish-find-title): Fix (invalid-read-syntax
* ox-ascii.el (org-ascii-link):
* ox-beamer.el (org-beamer-link):
* ox-html.el (org-html-link):
* ox-latex.el (org-latex-link):
* ox-md.el (org-md-link):
* ox-odt.el (org-odt-link): Update radio target export according
to recent changes.
* org-element.el (org-element-all-successors)
(org-element-object-restrictions): Prioritize `link' over other
successors in order to find radio links starting with another
syntax object (e.g., an entity). Also allow text markup within
radio targets.
(org-element-link-parser): Add contents to radio targets.
* org.el (org-make-target-link-regexp): Fix regexp so it can match
targets starting with an Org object (e.g., an entity).
(org-ctrl-c-ctrl-c): Fix function when applied on an object contained
within a radio target.
* org.el (org-mode): Change "\" and "~" characters syntax from
`punctuation' to `symbol' so they are on par with other characters
used in Org syntax (e.g., "/", "*"...).
* ox-beamer.el (org-beamer-publish-to-pdf):
* ox-latex.el (org-latex-publish-to-pdf): Ensure ".tex" file is
generated in the same directory as the ".org" file.
* ox-latex.el (org-latex-headline): Hard-code "\underline" in
sections because "\uline" ("ulem" package) returns an error and
"\ul" ("soul" package) doesn't support chinese characters.
* ox-ascii.el (org-ascii-link): Correctly handle case mismatch
between radio targets and radio links.
* org-element.el (org-element-link-parser): "radio" links have
their path downcased to avoid introducing case mismatch with their
relative radio target. With this change it is also necessary to
add contents to them, since `:path' property no longer matches
real value of the link.
(org-element-radio-target-parser): Downcase value as explained
above. Store the initial value in a new `:raw-value' property.
* org-element.el (org-element-context): Fix parsing of bold
objects at the beginning of a headline.
* org-element.el (org-element-context): Fix timestamps parsing.
* ox-beamer.el (org-beamer-item): Insert the export snippet right
after the first \item, not all of them.
* org-element.el (org-element--list-struct): Fix regexp.
* org-element.el (org-element-inlinetask-parser): Fix parsing when
regular and degenerate inlinetasks are mixed in the section.
* ox-md.el (org-md-link): Generate md links to other Org files
instead of html links. Do not confuse caption and alt-text.
Provide "img" as default alt-text.
* org-element.el (org-element-normalize-contents): Do not ignore
empty lines when an object follows.
(org-element-interpret-data): Do not remove properties by
side-effect when interpreting a string, as it also removes them
from the parse tree, making the string unusable without its
:parent property.
* ob-exp.el (org-babel-exp-process-buffer): Also check
`org-src-preserve-indentation' to know when to preserve indentation.
(org-babel-exp-code-template): Include switches in template.
(org-babel-exp-code): Provide %switches placeholder.
* ox-latex.el (org-latex-plain-list): Do not automatically
enclose value for :options attribute within square brackets.
Instead, append them verbatim next to the block name, as special
blocks do.
* ob-exp.el (org-babel-exp-code): Fix export of src blocks with
(org-babel-exp-process-buffer): Make processing more robust when
results are inserted before source block or when source block is
followed by multiple blank lines.
* ox.el (org-export-insert-default-template): Only insert
keywords and options relatives to the selected back-end. Ignore
those relatives to its parent in the case of a derived back-end.
* ox-beamer.el: Remove unnecessary package definitions in default
* ox-latex.el (org-latex-headline, org-latex-item): Fix items
starting with a square bracket.
* org.el (org-mode-restart): Fix turning off `org-indent-mode'
when necessary.
(org-get-previous-line-level): Do not call `org-current-level'
twice unless necessary. Also, avoid using `line-number-at-pos'
when the information needed is to know if point is in the first
line of the visible part of the buffer.