ox-latex: Do not add optional section name when section is unnumbered

* lisp/ox-latex.el (org-latex-headline): Do not add optional section
  name when section is unnumbered.
org.el (org-sort-remove-invisible): Remove emphasis markers

* org.el (org-sort-remove-invisible): Remove emphasis markers.
ox-latex: Fix 309ccd96499a3b4f7ceba8a53994eb0f8b3e2ddd

* lisp/ox-latex.el (org-latex-headline): Fix regexp in commit
  309ccd96499a3b4f7ceba8a53994eb0f8b3e2ddd.
Merge branch 'master' of orgmode.org:org-mode
New compatibility macro `org-with-silent-modifications'

* org-macs.el: Don't define `with-silent-modifications' for
emacsen that don't have it.

* org-compat.el (org-with-silent-modifications): New
compatibility macro.

* org.el (org-refresh-category-properties)
(org-refresh-properties, org-entry-blocked-p)
(org-agenda-prepare-buffers):
* org-indent.el (org-indent-remove-properties)
(org-indent-add-properties):
* org-colview.el (org-columns-display-here)
(org-columns-remove-overlays, org-columns-quit)
(org-columns-edit-value, org-columns-compute-all)
(org-columns-compute, org-agenda-colview-compute):
* org-clock.el (org-clock-sum): Use the compatibility macro
`org-with-silent-modifications' instead of
`with-silent-modifications'.

Thanks to Achim for a preliminary patch.
org-macs.el (org-unmodified): Update comment

* org-macs.el (org-unmodified): Update comment.
Make html exporter respect css-url configuration variable

* lisp/ox-html.el:
  (org-export-define-backend): Add css url option.
  (org-export-htmlized-org-css-url):  Modify docstring and options.
  (org-html--build-style): Include css-url if specified.
ox-html: Attributes specified to a paragraph only apply to first link within

* lisp/ox-html.el (org-html-link, org-html-link--inline-image):
  Attributes specified to a paragraph only apply to first link within.
ox-texinfo: Upcase property to comply to changes

* lisp/ox-texinfo.el (org-texinfo-headline): Fix :INDEX property to
  match changes.  Must be uppercase.
ox-texinfo.el: Add support for @appendix headlines

* lisp/ox-texinfo.el: Included support for appendices.

To include appendices, use a non-nil value for the :APPENDIX: property
of a headline.  This headline will be exported at the appropriate
level as an appendix.
ox-texinfo.el: Add support for # in info links

* lisp/ox-texinfo.el (org-texinfo-link): Fixed info link exporting to
  recognize # as well as : when finding the info node.

Issue reported by Thomas S. Dye in
http://article.gmane.org/gmane.emacs.orgmode/66655
ox-texinfo.el: Fix issue with long headlines and node listings

* lisp/ox-texinfo.el (org-texinfo-node-description-column): New custom
  variable.
  (org-texinfo--format-menu): Use new variable to set column for
  description in node listings.  If the headline extends past this
  column, add the description after the headline.

The default column is 32 as suggested by Thomas S. Dye,
http://article.gmane.org/gmane.emacs.orgmode/66664
ox-texinfo.el: Use :OPTIONAL_TITLE: instead of backend-specific
property

* lisp/ox-texinfo.el (org-texinfo--get-node)
  and (org-texinfo--generate-menu-items): Use :OPTIONAL_TITLE:.
  (org-export-define-backend): Remove :TEXINFO_MENU_TITLE from
  options-alist
org.el: Bind org-shift* in orgstruct-mode.

* org.el (orgstruct-setup): Bind org-shift*.
ox-texinfo.el: Fix node listing description formatting

* lisp/ox-texinfo.el (org-texinfo--format-menu): Ensure two spaces
  after :: before including description.  Also adjusted logic to
  insert description on desired column (by accounting for added text
  when inserting node.
org-element: Refactor object parsing

* lisp/org-element.el (org-element--get-next-object-candidates):
  Rewrite function to simplify algorithm.
(org-element-context, (org-element--parse-elements)): Apply
changes.
* lisp/org.el (org-fill-paragraph): Apply changes.
sub/superscript character has to follow a non-blank character

* lisp/org.el (org-match-substring-regexp,
  org-match-substring-with-braces-regexp): Update regexp.
  A sub/superscript cannot start anymore at the beginning of the line
  or after a space.
org-element: Only allow plain links in links

* lisp/org-element.el (org-element-all-successors): Add `plain-link'
  successor.
(org-element-object-restrictions): Remove `link' within `link'.  Allow
`plain-link' instead.
(org-element-plain-link-successor): New function.
* testing/lisp/test-org-element.el: Add test.

Plain links within links are needed for the following kind of syntax:

  [[http://orgmode.org][file:unicorn.png]]

No other link type is allowed within links.
ox: Change order of retured elements in `org-export-get-previous-element'

* lisp/ox.el (org-export-get-previous-element): Change order of
  retured elements in `org-export-get-previous-element'.
* testing/lisp/test-ox.el: Update test.
Re-introduce #+latex_header value when previewing a LaTeX snippet

* lisp/org.el (org-create-formula--latex-header): New function.
(org-create-formula-image-with-dvipng,
org-create-formula-image-with-imagemagick): Use new function.

This functionality was removed in
0484c5c64d9628ca68937f75c6c236f57128cadf, when clearing out old export
framework from "org.el".