org-mode/lisp
Achim Gratz 6fbc226ca5 further cleanup for org version
* UTILITIES/org-fixup.el (org-make-org-version): Provide feature
  'org-version.
* lisp/org-compat.el (org-check-version): New macro.  Check if
  org-version.el exists and provide autoloads to that. Otherwise check
  if org-fixup.el exists and use it to provide definitions.  Finally
  if nothing worked, complain about a botched installation and provide
  fallback definitions.
* lisp/org.el: Use org-check-version.

This should finally provide the correct behaviour in all supported
use-cases as well as a few corner scenarios that were reported on the
mailing list and allow to always build on Git, ELPA and Emacs Bzr
correctly.  The file org-version.el must be added to the Emacs sources
and should be re-generated each time orgmode Git is synced to Emacs
Bzr (it would be best to automate this).

Note that the internal functions (org-release) and (org-git-release)
are not autoloaded when org-version is not present and become only
available when org.el is loaded.  This should pose no problem since
they are only used by (org-version), which is autoloaded from org.el.
2012-07-15 13:53:53 +02:00
..
Makefile clean up Makefile some more, keep autoloads around 2012-05-18 07:45:45 +02:00
ob-C.el better wrapping of main C function 2012-04-10 16:01:54 -04:00
ob-R.el org-babel-R-command is now customizable 2012-06-30 07:13:27 -06:00
ob-asymptote.el Fix copyright and authors lines. 2012-04-02 00:53:28 +02:00
ob-awk.el Delete trailing whitespaces in core files. 2012-03-28 02:05:36 +02:00
ob-calc.el Copyright, license, and header fixes. 2012-02-19 08:21:03 -07:00
ob-clojure.el code-block languages may specify their own headers and values 2012-04-13 08:43:16 -04:00
ob-comint.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
ob-css.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
ob-ditaa.el Fix the master branch. 2012-03-19 22:01:29 +01:00
ob-dot.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
ob-emacs-lisp.el Copyright, license, and header fixes. 2012-02-19 08:21:03 -07:00
ob-eval.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
ob-exp.el Add :version to ob-exp.el option. 2012-04-03 13:41:59 +02:00
ob-fortran.el Fix copyright and authors lines. 2012-04-02 00:53:28 +02:00
ob-gnuplot.el Delete trailing whitespaces in core files. 2012-03-28 02:05:36 +02:00
ob-haskell.el Delete trailing whitespaces in core files. 2012-03-28 02:05:36 +02:00
ob-io.el Fix the maint branch. 2012-03-19 20:27:28 +01:00
ob-java.el More fixes to the copyright year... 2012-02-19 08:18:53 -07:00
ob-js.el Add :version to ob-js.el option. 2012-04-03 13:41:37 +02:00
ob-keys.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
ob-latex.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
ob-ledger.el Fix typos and spelling mistakes. 2012-02-19 08:23:42 -07:00
ob-lilypond.el Delete trailing whitespaces in core files. 2012-03-28 02:05:36 +02:00
ob-lisp.el code-block languages may specify their own headers and values 2012-04-13 08:43:16 -04:00
ob-lob.el ob-lob.el (org-babel-lob-execute): Fix reference to non-existent variable. 2012-07-06 08:56:01 +02:00
ob-matlab.el More copyright year fixes. 2012-02-19 08:16:42 -07:00
ob-maxima.el Org-Babel: fix maxima invocation without explicit parameters 2012-05-08 14:13:27 +02:00
ob-mscgen.el More copyright year fixes. 2012-02-19 08:16:42 -07:00
ob-ocaml.el Delete trailing whitespaces in core files. 2012-03-28 02:05:36 +02:00
ob-octave.el More copyright year fixes. 2012-02-19 08:16:42 -07:00
ob-org.el More copyright year fixes. 2012-02-19 08:16:27 -07:00
ob-perl.el Fix copyright and authors lines. 2012-04-02 00:53:28 +02:00
ob-picolisp.el Add :version to ob-picolisp.el option. 2012-04-03 13:29:15 +02:00
ob-plantuml.el adding a :java header argument to plantuml 2012-05-19 20:37:54 -04:00
ob-python.el ensure newline precedes automatically-added returns for Python code blocks 2012-04-23 11:39:28 -04:00
ob-ref.el Fix copyright and authors lines. 2012-04-02 00:53:28 +02:00
ob-ruby.el Delete trailing whitespaces in core files. 2012-03-28 02:05:36 +02:00
ob-sass.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
ob-scala.el Fix the maint branch. 2012-03-19 20:27:28 +01:00
ob-scheme.el Add :version to ob-scheme.el option. 2012-04-03 13:44:15 +02:00
ob-screen.el Copyright, license, and header fixes. 2012-02-19 08:21:03 -07:00
ob-sh.el Fix the master branch. 2012-03-19 22:01:29 +01:00
ob-shen.el Copyright, license, and header fixes. 2012-02-19 08:21:03 -07:00
ob-sql.el Add dbi support to sql babel mode 2012-05-16 19:50:43 -04:00
ob-sqlite.el code-block languages may specify their own headers and values 2012-04-13 08:43:16 -04:00
ob-table.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
ob-tangle.el Add :version to ob-tangle.el options. 2012-04-03 13:14:06 +02:00
ob.el Fix some docstrings format. 2012-07-11 19:33:29 +02:00
org-agenda.el Fix undefined org-habit-show-all-today variable when org-habit is not loaded 2012-05-29 16:39:54 -04:00
org-archive.el Allow archiving to a datetree. 2012-04-21 17:37:48 +02:00
org-ascii.el Use (derived-mode-p 'org-mode) instead of (eq major-mode 'org-mode). 2012-04-21 00:43:16 +02:00
org-attach.el Add support for creating symbolic links in org-attach 2012-04-12 13:21:05 -05:00
org-bbdb.el org-bbdb.el (org-bbdb-export): Add support for ODT format 2012-06-03 18:07:47 +05:30
org-beamer.el Allow beamer export to inherit some properties 2012-04-22 16:33:24 +02:00
org-bibtex.el org-bibtex.el: Rename *org-bibtex-entries* to org-bibtex-entries. 2012-05-21 18:30:09 +02:00
org-capture.el New option `org-capture-bookmark' (mentioned in the manual.) 2012-05-25 23:45:31 +02:00
org-clock.el Bind `org-clock-in-last' to C-c C-x C-x and ̀org-clock-cancel' to C-c C-x C-q. 2012-07-14 08:33:48 +02:00
org-colview-xemacs.el Match #+name/#+tblname/#+tblfm along with uppercase twins. 2012-04-23 12:48:33 +02:00
org-colview.el Fix bugs about computing durations in the column view. 2012-05-01 17:47:13 +02:00
org-compat.el further cleanup for org version 2012-07-15 13:53:53 +02:00
org-crypt.el Delete trailing whitespaces in core files. 2012-03-28 02:05:36 +02:00
org-ctags.el Merge branch 'maint' 2012-04-26 22:43:36 +02:00
org-datetree.el Allow datetree to find years with trailing whitespace. 2012-05-25 23:22:09 +02:00
org-docbook.el Fix docstring and comment typos. 2012-07-11 18:03:02 +02:00
org-docview.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
org-entities.el Merge branch 'maint' 2012-07-11 17:58:03 +02:00
org-eshell.el Fix compiler warnings. 2012-03-20 13:04:55 +01:00
org-exp-blocks.el Merge branch 'origin-maint' 2012-05-18 09:07:05 -04:00
org-exp.el Make the column mandatory after #+include:. 2012-05-23 01:26:45 +02:00
org-faces.el org.el: New face `org-list-dt' for definition terms in list. 2012-04-27 23:26:05 +02:00
org-feed.el Fix the master branch. 2012-03-19 22:01:29 +01:00
org-footnote.el Don't call org-footnote-unique label if using random labels 2012-05-06 10:10:25 +02:00
org-freemind.el Add :version to org-freemind.el option. 2012-04-03 13:09:15 +02:00
org-gnus.el Following gnus links: Don't mark unrelated articles read 2012-04-23 09:18:52 +02:00
org-habit.el Add ability to show all (even unscheduled) habits on today agenda, by 2012-05-28 14:56:23 -04:00
org-html.el Fix docstring and comment typos. 2012-07-11 18:03:02 +02:00
org-icalendar.el Support hourly repeat cookies. 2012-04-21 00:42:56 +02:00
org-id.el org-id.el (org-id-update-id-locations): New parameter to silent `org-id-find'. 2012-04-21 15:46:02 +02:00
org-indent.el Replace obsolete variable `buffer-substring-filters'. 2012-04-28 21:36:58 +02:00
org-info.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
org-inlinetask.el Add :version to org-inlinetask.el option. 2012-04-03 13:22:38 +02:00
org-irc.el Delete trailing whitespaces in core files. 2012-03-28 02:05:36 +02:00
org-jsinfo.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
org-latex.el Fix docstring and comment typos. 2012-07-11 18:03:02 +02:00
org-list.el Description list: improve regexp consistency 2012-06-12 14:35:05 +02:00
org-lparse.el Merge remote-tracking branch 'origin/maint' 2012-06-28 16:08:14 +05:30
org-mac-message.el Fix copyright and authors lines. 2012-04-02 00:53:28 +02:00
org-macs.el New option `org-allow-promoting-top-level-subtree'. 2012-05-08 15:19:52 +02:00
org-mew.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
org-mhe.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
org-mks.el Delete trailing whitespaces in core files. 2012-03-28 02:05:36 +02:00
org-mobile.el let `org-agenda-files' when making mobile agenda 2012-07-08 15:40:34 -05:00
org-mouse.el Merge branch 'maint' 2012-04-22 18:44:45 +02:00
org-odt.el New alias `org-condition-case-unless-debug'. 2012-07-12 10:30:33 +02:00
org-pcomplete.el org-pcomplete.el: Ignore trailing whitespaces while looking-back at properties. 2012-07-12 10:02:15 +02:00
org-plot.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
org-protocol.el Merge branch 'maint' into master-merge-maint 2012-04-21 16:05:22 +02:00
org-publish.el Make the column mandatory after #+include:. 2012-05-23 01:26:45 +02:00
org-remember.el Cure byte-compilation errors in org-remember.el 2012-05-08 03:25:29 -05:00
org-rmail.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
org-special-blocks.el org-special-blocks.el: Prevent errors by first checking `org-line' is not nil. 2012-06-28 11:19:56 +02:00
org-src.el Fix some docstrings format. 2012-07-11 19:33:29 +02:00
org-table.el Rename `org-indent-line-function' to `org-indent-line'. 2012-07-11 19:11:26 +02:00
org-taskjuggler.el Add :version to org-taskjuggler.el options. 2012-04-03 13:35:41 +02:00
org-timer.el Rename `org-indent-line-function' to `org-indent-line'. 2012-07-11 19:11:26 +02:00
org-vm.el Fix the master branch. 2012-03-19 22:01:29 +01:00
org-w3m.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
org-wl.el Add :version to org-wl.el options. 2012-04-03 13:31:06 +02:00
org-xoxo.el Fix copyright and authors lines. 2012-04-02 00:53:28 +02:00
org.el further cleanup for org version 2012-07-15 13:53:53 +02:00