test-org-timer: Preserve Emacs 23 compatibility

* testing/lisp/test-org-timer.el (test-org-timer/with-temp-text,
  test-org-timer/with-current-time): Use `letf' instead of `cl-letf'.
ox-md: Correctly export footnote references

* lisp/ox-md.el (md): Do not ignore footnote references.

Footnotes do not exist in Markdown syntax, but we can fallback on
HTML.

Reported-by: Vasilij Schneidermann <v.schneidermann@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/93447>
Merge branch 'maint'
Use `org-log-into-drawer' in `org-log-beginning'

* lisp/org.el (org-log-beginning): Use existing function for
  discovering the log specification.
org-mime.el: Correct element matching regex

* org-mime.el (org-mime-change-element-style): Correctly capture the
  HTML element instead of partially.

Passing element of "p" would end up matching and altering "pre"
elements as well.  Need to properly anchor the regex to HTML elements.

TINYCHANGE
Merge branch 'maint'
ob-core: Tiny fix

* lisp/ob-core.el (org-babel-active-location-p): Use appropriate
  accessor.
ob-core: Source blocks are case-insensitive

* lisp/ob-core.el (org-babel-map-src-blocks,
  org-babel-map-inline-src-blocks): Make sure to ignore case when
  looking for source blocks.

Reported-by: Christopher Genovese <genovese@cmu.edu>
<http://permalink.gmane.org/gmane.emacs.orgmode/93454>
Merge branch 'maint'

Conflicts:
	lisp/ob-core.el
Bugfixes in occur mode
Fixed version number
Function `org-log-into-drawer' returns a string or nil

* lisp/org.el (org-log-into-drawer): Update docstring.  Function
  returns a string or nil, not t anymore.
(org-mode-flyspell-verify): Small refactoring.
Change default value for `org-clock-into-drawer'

* lisp/org-clock.el (org-clock-into-drawer): Update docstring.  Change
  default value.
(org-clock-jump-to-current-clock): Properly find current clock drawer,
if any.
(org-clock-find-position): Tiny fix.
(org-clock-out): Properly check if clock and log drawers are the same.
(org-clock-find-position, org-clock-out,
(org-clock-remove-empty-clock-drawer): Use new function.
Merge branch 'master' of orgmode.org:org-mode
org-table.el: org-table-recalculate early returns

* lisp/org-table.el (org-table-recalculate): Add early return.

TINYCHANGE
org-table.el: org-table-recalculate is quieter

* lisp/org-table.el (org-table-recalculate): Removed message for start of
processing.  When ALL is t, messages are printed at most once per second.

TINYCHANGE
Fix 434103

* lisp/org.el (org-log-into-drawer): Fix
  04f6830a46e54db23afbe3c94de38a22c3.
Fix `org-hide-archived-subtrees'

* lisp/org.el (org-hide-archived-subtrees): Prevent an error when END
  argument doesn't match the end of a subtree.  Prevent false
  positives.  Also, archive tag is case-sensitive.
org.el: Allow calendars to be in their own frame

* lisp/org.el (org-read-date): Create and delete frames if
`calendar-setup' is set to 'calendar-only.
Fix low-high estimates

* doc/org.texi (Column attributes): Emphasize estimates format.
  Document degenerate case of plain numbers.
* lisp/org-colview.el (org-columns-compute): Properly sum estimates.
(org-columns-string-to-number): Recognize estimates containing an
unit.
(org-estimate-mean-and-var, org-estimate-print): Allow numbers as
a degenerate case of estimates.

Reported-by: yary <not.com@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/93505>