org-mode.git
10 hours agoox-latex: Allow toggling centering of images master
Nicolas Goaziou [Mon, 25 Jul 2016 21:22:01 +0000]
ox-latex: Allow toggling centering of images

* lisp/ox-latex.el (latex): Introduce new
  property :latex-images-centered.
(org-latex-images-centered): New variable.
(org-latex--inline-image): Handle new attribute :center, in addition to
variable above.
* doc/org.texi (Images in @LaTeX{} export): Document new behaviour
(Publishing options): Reference :latex-images-centered.

17 hours agoox-odt: Remove obnoxious messages when compiling library
Nicolas Goaziou [Mon, 25 Jul 2016 15:18:03 +0000]
ox-odt: Remove obnoxious messages when compiling library

* lisp/ox-odt.el (org-odt-schema-dir):
(org-odt-styles-dir): Remove debugging messages.  Small refactoring.

17 hours agoSilence byte-compiler
Nicolas Goaziou [Mon, 25 Jul 2016 14:34:48 +0000]
Silence byte-compiler

* lisp/ob-core.el (org-babel-process-params): Silence byte-compiler.
* lisp/ob-groovy.el (org-babel-groovy-evaluate):
* lisp/ob-haskell.el (org-babel-execute:haskell):
* lisp/ob-io.el (org-babel-io-evaluate):
* lisp/ob-octave.el (org-babel-octave-evaluate-external-process):
(org-babel-octave-evaluate-session):
* lisp/ob-perl.el (org-babel-perl-evaluate):
* lisp/ob-python.el (org-babel-python-evaluate-external-process):
(org-babel-python-evaluate-session):
* lisp/ob-ruby.el (org-babel-ruby-pp-wrapper-method):
(org-babel-ruby-evaluate):
* lisp/ob-scala.el:
* lisp/ob-tangle.el:
(org-babel-tangle-collect-blocks):
* lisp/org-agenda.el (org-agenda-get-category-icon):
(org-agenda-todo-yesterday):
* lisp/org-bbdb.el (org-bbdb-anniv-extract-date):
(org-bbdb-make-anniv-hash):
(org-bbdb-anniversaries-future):
* lisp/org-bibtex.el (org-bibtex-fleshout):
(org-bibtex-read):
(org-bibtex-write):
* lisp/org-capture.el (org-capture-set-target-location):
(org-capture-get-indirect-buffer):
(org-mks):
* lisp/org-clock.el (org-clock--oldest-date):
(org-clock-resolve):
(org-clock-sum):
(org-clock-special-range):
(org-clocktable-steps):
* lisp/org-ctags.el (org-ctags-create-tags):
* lisp/org-element.el (org-element--interpret-affiliated-keywords):
(org-element--cache-shift-positions):
(org-element--cache-sync):
(org-element--cache-submit-request):
* lisp/org-habit.el (org-habit-parse-todo):
* lisp/org-inlinetask.el (org-inlinetask-hide-tasks):
* lisp/org-lint.el (org-lint--generate-reports):
* lisp/org-mouse.el (org-mouse-get-context):
* lisp/org-plot.el (org-plot/gnuplot-to-grid-data):
(org-plot/gnuplot):
* lisp/ox-ascii.el (org-ascii--current-text-width):
(org-ascii--current-justification):
(org-ascii--build-caption):
(org-ascii--checkbox):
(org-ascii-item):
* lisp/ox-html.el (org-html-footnote-section):
* lisp/ox-latex.el (org-latex--make-option-string):
* lisp/ox-odt.el (org-odt-toc):
(org-odt-add-automatic-style):
(org-odt-format-label):
(org-odt-link--inline-image):
(org-odt--render-image/formula):
(org-odt--enumerable-image-p):
(org-odt--enumerable-latex-image-p):
(org-odt--enumerable-formula-p):
(org-odt-do-format-code):
(org-odt-table-cell): Silence byte-compiler.

17 hours agoob-C: Silence byte-compiler
Nicolas Goaziou [Mon, 25 Jul 2016 14:32:07 +0000]
ob-C: Silence byte-compiler

* lisp/ob-C.el (org-babel-C-execute):
(org-babel-C-val-to-C-type):
(org-babel-C-val-to-base-type):
(org-babel-C-utility-header-to-C):
(org-babel-C-header-to-C): Silence byte-compiler.

18 hours agoob-clojure: Use cl-lib
Nicolas Goaziou [Mon, 25 Jul 2016 14:25:21 +0000]
ob-clojure: Use cl-lib

* lisp/ob-clojure.el (org-babel-execute:clojure): Silence byte-compiler.

18 hours agoob-R: Silence byte-compiler
Nicolas Goaziou [Mon, 25 Jul 2016 14:24:14 +0000]
ob-R: Silence byte-compiler

* lisp/ob-R.el (org-babel-R-evaluate-external-process):
(org-babel-R-evaluate-session): Silence byte-compiler.

18 hours agoob-C: Use cl-lib
Nicolas Goaziou [Mon, 25 Jul 2016 14:22:05 +0000]
ob-C: Use cl-lib

* lisp/ob-C.el (org-babel-C-execute):
(org-babel-C-val-to-C-type):
(org-babel-C-val-to-base-type):
(org-babel-C-utility-header-to-C):
(org-babel-C-header-to-C): Silence byte-compiler.

18 hours agoorg-agenda: Silence byte-compiler
Nicolas Goaziou [Mon, 25 Jul 2016 14:17:56 +0000]
org-agenda: Silence byte-compiler

* lisp/org-agenda.el (org-agenda-span-to-ndays):
(org-agenda-format-item):
(org-agenda-filter-by-effort): Silence byte-compiler.

18 hours agotest-ob: Fix test
Nicolas Goaziou [Mon, 25 Jul 2016 14:14:17 +0000]
test-ob: Fix test

* testing/lisp/test-ob.el (test-ob/multi-line-header-arguments): Fix test.

18 hours agoorg-test: Require cl-lib in interactive tests
Nicolas Goaziou [Mon, 25 Jul 2016 14:11:51 +0000]
org-test: Require cl-lib in interactive tests

* testing/org-test.el: Require `cl-lib'.  Remove support for Emacs 22.
(org-test-string-exact-match): Fix docstring.

18 hours agoox-man: Use cl-lib
Nicolas Goaziou [Mon, 25 Jul 2016 14:09:16 +0000]
ox-man: Use cl-lib

* lisp/ox-man.el (org-man-headline):
(org-man-item):
(org-man-table--align-string): Silence byte-compiler.  Small
refactoring.

18 hours agoorg-agenda: Use cl-lib
Nicolas Goaziou [Mon, 25 Jul 2016 14:06:38 +0000]
org-agenda: Use cl-lib

* lisp/org-agenda.el (org-agenda-view-mode-dispatch):
(org-agenda-bulk-action): Silence byte-compiler.

18 hours agoorg-plot: Use cl-lib
Nicolas Goaziou [Mon, 25 Jul 2016 14:03:40 +0000]
org-plot: Use cl-lib

* lisp/org-plot.el (org-plot/gnuplot-script):
(org-plot/gnuplot): Silence byte-compiler.

18 hours agoorg-src: Use cl-lib
Nicolas Goaziou [Mon, 25 Jul 2016 14:01:15 +0000]
org-src: Use cl-lib

* lisp/org-src.el (org-src-switch-to-buffer): Silence byte-compiler.

18 hours agoox-texinfo: Use cl-lib
Nicolas Goaziou [Mon, 25 Jul 2016 13:59:28 +0000]
ox-texinfo: Use cl-lib

* lisp/ox-texinfo.el (org-texinfo--find-verb-separator):
(org-texinfo-link):
(org-texinfo-table-column-widths):
(org-texinfo-timestamp): Silence byte-compiler.

18 hours agoorg-habit: Use cl-lib
Nicolas Goaziou [Mon, 25 Jul 2016 13:57:24 +0000]
org-habit: Use cl-lib

* lisp/org-habit.el (org-habit-build-graph): Silence byte-compiler.

18 hours agoox-md: Use cl-lib
Nicolas Goaziou [Mon, 25 Jul 2016 13:55:16 +0000]
ox-md: Use cl-lib

* lisp/ox-md.el (org-md-item):
(org-md-link): Silence byte-compiler.

18 hours agoorg-attach: Use cl-lib
Nicolas Goaziou [Mon, 25 Jul 2016 13:54:06 +0000]
org-attach: Use cl-lib

* lisp/org-attach.el (org-attach-commit): Use "cl-" prefix.

18 hours agoox-odt: Use cl-lib
Nicolas Goaziou [Mon, 25 Jul 2016 13:51:23 +0000]
ox-odt: Use cl-lib

* lisp/ox-odt.el (org-odt--format-timestamp):
(org-odt--checkbox):
(org-odt-template):
(org-odt--find-verb-separator):
(org-odt--enumerate):
(org-odt-format-label):
(org-odt--copy-image-file):
(org-odt-link--inline-image):
(org-odt--copy-formula-file):
(org-odt--render-image/formula):
(org-odt--standalone-link-p):
(org-odt-link--infer-description):
(org-odt-link):
(org-odt--paragraph-style):
(org-odt--format-paragraph):
(org-odt-plain-list):
(org-odt-do-format-code):
(org-odt--table):
(org-odt-table):
(org-odt-timestamp):
(org-odt--translate-latex-fragments):
(org-odt-export-as-odf): Use "cl-" prefix.

18 hours agoorg-mouse: Fix last commit
Nicolas Goaziou [Mon, 25 Jul 2016 13:46:09 +0000]
org-mouse: Fix last commit

18 hours agoorg-mouse: Use cl-lib
Nicolas Goaziou [Mon, 25 Jul 2016 13:44:49 +0000]
org-mouse: Use cl-lib

* lisp/org-mouse.el (org-mouse-insert-heading):
(org-mouse-priority-list):
(org-mouse-agenda-type):
(org-mouse-list-options-menu):
(org-mouse-insert-item):
(org-mouse-context-menu):
(org-agenda-mode-hook): Silence byte-compiler.

18 hours agoorg-indent: Remove (require 'cl)
Nicolas Goaziou [Mon, 25 Jul 2016 13:42:25 +0000]
org-indent: Remove (require 'cl)

18 hours agoRemove unnecessary (require 'cl)
Nicolas Goaziou [Mon, 25 Jul 2016 13:41:02 +0000]
Remove unnecessary (require 'cl)

18 hours agoox-ascii: Use cl-lib
Nicolas Goaziou [Mon, 25 Jul 2016 13:36:09 +0000]
ox-ascii: Use cl-lib

* lisp/ox-ascii.el (org-ascii--current-text-width): Refactor code.
(org-ascii--list-listings):
(org-ascii--list-tables): Use "cl-" prefix.

19 hours agoUse `string-match-p' instead of `org-string-match-p'
Nicolas Goaziou [Mon, 25 Jul 2016 13:21:12 +0000]
Use `string-match-p' instead of `org-string-match-p'

* contrib/lisp/org-contacts.el (org-contacts-filter):
(org-contacts-complete-group):
(org-contacts-complete-tags-props):
* contrib/lisp/org-wl.el (org-wl-open):
* contrib/lisp/ox-bibtex.el (org-bibtex-merge-contiguous-citations):
* lisp/ob-core.el (org-babel-demarcate-block):
* lisp/ob-processing.el (org-babel-processing-view-sketch):
* lisp/ob-stan.el (org-babel-execute:stan):
* lisp/org-agenda.el (org-agenda-get-category-icon):
* lisp/org-clock.el (org-clock-into-drawer):
* lisp/org-element.el (org-element-link-parser):
* lisp/org-lint.el (org-lint-orphaned-affiliated-keywords):
(org-lint-invalid-babel-call-block):
(org-lint-colon-in-name):
* lisp/org-list.el (org-list-item-body-column):
* lisp/org-macro.el (org-macro-replace-all):
* lisp/org-plot.el (org-plot/gnuplot-script):
* lisp/org-table.el (org-table-export):
(org-table-align):
(org-table-get-range):
(org-table-recalculate):
(org-table-expand-lhs-ranges):
(org-table-formula-substitute-names):
(org-table-show-reference):
(orgtbl-to-texinfo):
(org-table-remote-reference-indirection):
* lisp/org.el (org-make-link-string):
(org--open-elisp-link):
(org-open-at-point):
(org-store-log-note):
(org-cached-entry-get):
(org--valid-property-p):
(org-entry-properties):
(org-buffer-property-keys):
(org-insert-drawer):
(org-display-inline-images):
(org-in-commented-heading-p):
* lisp/ox-ascii.el (org-ascii-keyword):
* lisp/ox-beamer.el (org-beamer--format-frame):
* lisp/ox-html.el (org-html-keyword):
* lisp/ox-latex.el (org-latex--label):
(org-latex-headline):
(org-latex-item):
(org-latex-keyword):
(org-latex--inline-image):
(org-latex-src-block):
* lisp/ox-odt.el (org-odt-styles-dir):
(org-odt-keyword):
(org-odt--translate-latex-fragments):
* lisp/ox-texinfo.el (org-texinfo-template):
(org-texinfo-keyword):
(org-texinfo-src-block):
* lisp/ox.el (org-export-inline-image-p):
(org-export-file-uri):
* testing/lisp/test-org-table.el (test-org-table/to-generic):
(test-org-table/to-latex):
(test-org-table/to-html):
(test-org-table/named-field):
(test-org-table/named-column):
(test-org-table/tab-indent):
(test-org-table/first-rc):
(test-org-table/last-rc): Use `string-match-p' instead of
`org-string-match-p'.

20 hours agoorg-mobile: Require `cl-lib' instead of `cl'
Nicolas Goaziou [Mon, 25 Jul 2016 11:57:15 +0000]
org-mobile: Require `cl-lib' instead of `cl'

* lisp/org-mobile.el (org-mobile-apply): Use "cl-" prefix.

20 hours agoImprove docstring
Nicolas Goaziou [Mon, 25 Jul 2016 11:35:12 +0000]
Improve docstring

* lisp/org.el (org-file-apps): Fix backslash escaping in examples within
  docstring.

21 hours agoRemove outdated code comment
Nicolas Goaziou [Mon, 25 Jul 2016 10:32:07 +0000]
Remove outdated code comment

* lisp/org.el (org-open-at-point): Remove outdated code comment.

34 hours agoob-lob: Fix Library of Babel loading
Nicolas Goaziou [Sun, 24 Jul 2016 21:26:43 +0000]
ob-lob: Fix Library of Babel loading

* lisp/ob-lob.el (org-babel-lob-ingest): Do not replace
  `org-babel-default-header-args' with
  `org-babel-default-lob-header-args'.

35 hours agoob-lob: Fix Babel call evaluation
Nicolas Goaziou [Sun, 24 Jul 2016 20:59:41 +0000]
ob-lob: Fix Babel call evaluation

* lisp/ob-lob.el (org-babel-default-lob-header-args): Change value.
(org-babel-lob--src-info): Ignore `org-babel-default-lob-header-args'.
(org-babel-lob-get-info): Header arguments in
`org-babel-default-lob-header-args' have precedence over those inherited
from the original source block.

2 days agoorg.texi: Merge "markup" related nodes
Nicolas Goaziou [Sat, 23 Jul 2016 14:35:29 +0000]
org.texi: Merge "markup" related nodes

* doc/org.texi (Top): Update master menu.

(Structural markup elements): Splice contents of this node...
(Markup): ... here.

(Paragraphs): Add concept index entries

(Emphasis and monospace):
(Horizontal rules): Make those a section.

2 days agoorg.texi: Remove "Special blocks" node
Nicolas Goaziou [Sat, 23 Jul 2016 14:09:52 +0000]
org.texi: Remove "Special blocks" node

* doc/org.texi (Special blocks): Remove node.
(Top):
(Markup): Update menus.

2 days agoorg.texi: Move "Comment lines" and "Table of contents"
Nicolas Goaziou [Sat, 23 Jul 2016 14:05:12 +0000]
org.texi: Move "Comment lines" and "Table of contents"

* doc/org.texi (Top): Update menu.
(Structural markup elements): Move "Table of contents" and "Comment
lines" nodes from here...
(Exporting): ... to there.

2 days agoorg.texi: Remove duplicates nodes
Nicolas Goaziou [Sat, 23 Jul 2016 13:52:03 +0000]
org.texi: Remove duplicates nodes

* doc/org.texi (Top):
(Document title):
(Headings and sections):
(Lists):
(Footnote markup): Remove sections.
(Export settings): Add a concept index entry.

2 days agoorg.texi: Move "Include files" and "Macro replacement" nodes
Nicolas Goaziou [Sat, 23 Jul 2016 13:44:58 +0000]
org.texi: Move "Include files" and "Macro replacement" nodes

* doc/org.texi (Top): Update menu
(Markup): Move "Include files" and "Macro replacement" nodes from here...
(Exporting): ... to there.

2 days agoorg.texi: Move "Index entries" within publishing section
Nicolas Goaziou [Sat, 23 Jul 2016 13:36:03 +0000]
org.texi: Move "Index entries" within publishing section

* doc/org.texi (Include entries): Move contents...
(Generating an index): ... here.
(Top):
(Markup): Update menus.

2 days agoorg.texi: Fix typo
Nicolas Goaziou [Sat, 23 Jul 2016 12:55:21 +0000]
org.texi: Fix typo

* doc/org.texi (Texinfo specific export settings): Fix typo.

2 days agoorg.texi: Improve Texinfo documentation
Nicolas Goaziou [Sat, 23 Jul 2016 12:53:58 +0000]
org.texi: Improve Texinfo documentation

* doc/org.texi (Top):
(Texinfo export): Update menus.

(Texinfo file header):
(Texinfo title and copyright page):
(Texinfo @samp{Top} node): New nodes.

2 days agoorg.texi: Small rewording
Nicolas Goaziou [Sat, 23 Jul 2016 12:29:41 +0000]
org.texi: Small rewording

* doc/org.texi (Exporting): Small rewording.  Write about Texinfo
  export.

2 days agoorg.texi: Improve a section name
Nicolas Goaziou [Sat, 23 Jul 2016 12:23:56 +0000]
org.texi: Improve a section name

* doc/org.texi (Top):
(Texinfo export): Update menus.
(A Texinfo example): Rename to something more specific.

2 days agoorg.texi: Spread Texinfo export back-end attributes
Nicolas Goaziou [Sat, 23 Jul 2016 12:18:11 +0000]
org.texi: Spread Texinfo export back-end attributes

* doc/org.texi (Top): Update master menu.
(Texinfo export): Update menu.
(Images in Texinfo export):
(Special blocks in Texinfo export):
(Tables in Texinfo export):
(Quoting Texinfo code): New sections.

2 days agoorg.texi: Small reordering in HTML export section
Nicolas Goaziou [Sat, 23 Jul 2016 12:06:31 +0000]
org.texi: Small reordering in HTML export section

* doc/org.texi (Top): Update master menu.
(HTML doctypes): Remove useless @subsubheading.  Change index entries
locations, small improvement to a variable value.

2 days agoorg.texi: Spread LaTeX export back-end documentation
Nicolas Goaziou [Sat, 23 Jul 2016 11:56:29 +0000]
org.texi: Spread LaTeX export back-end documentation

* doc/org.texi (Top): Update master menu
(@LaTeX{} export): Update menu.

(@LaTeX{} header and sectioning):
(Quoting @LaTeX{} code):
(Images in @LaTeX{} export):
(Plain lists in @LaTeX{} export):
(Source blocks in @LaTeX{} export):
(Special blocks in @LaTeX{} export):
(Horizontal rules in @LaTeX{} export): New subsections.

2 days agoorg.texi: Rename `latex' export back-end section
Nicolas Goaziou [Sat, 23 Jul 2016 10:09:39 +0000]
org.texi: Rename `latex' export back-end section

* doc/org.texi (Top):
(Exporting):
(Beamer export):
(Beamer specific syntax):
(JavaScript support): Rename `latex' export back-end section.

The PDF output format is not specific to `latex' back-end so it doesn't
need to be part of the section name.

2 days agoorg.texi: Update default export back-ends
Nicolas Goaziou [Sat, 23 Jul 2016 10:04:59 +0000]
org.texi: Update default export back-ends

* doc/org.texi (Export back-ends): Notify that `odt' back-end is loaded
  by default.

2 days agoob-shell: Silence byte-compiler
Nicolas Goaziou [Sat, 23 Jul 2016 09:49:28 +0000]
ob-shell: Silence byte-compiler

2 days agoob-shell: Make `org-babel-shell-initalize' a command
Nicolas Goaziou [Sat, 23 Jul 2016 08:47:01 +0000]
ob-shell: Make `org-babel-shell-initalize' a command

* lisp/ob-shell.el (org-babel-shell-initialize): Add `interactive.

2 days agoob-shell: Use cl-lib
Nicolas Goaziou [Sat, 23 Jul 2016 08:41:17 +0000]
ob-shell: Use cl-lib

2 days agoob-shell: Improve `org-babel-shell-name' customization
Nicolas Goaziou [Sat, 23 Jul 2016 08:34:37 +0000]
ob-shell: Improve `org-babel-shell-name' customization

* lisp/ob-shell.el (org-babel-shell-initialize): New function
(org-babel-shell-names): Properly update execute functions whenever the
variable is modified outside the Customize interface.

4 days agoorg-compat: Improve obsolete notification
Nicolas Goaziou [Fri, 22 Jul 2016 08:23:21 +0000]
org-compat: Improve obsolete notification

4 days agoorg-compat: Silence byte-compiler
Nicolas Goaziou [Fri, 22 Jul 2016 08:20:49 +0000]
org-compat: Silence byte-compiler

4 days agoorg-table: Fix calculations with locale specific time-stamps
Nicolas Goaziou [Thu, 21 Jul 2016 09:49:15 +0000]
org-table: Fix calculations with locale specific time-stamps

* lisp/org-table.el (org-table-eval-formula): Fix calculations with
  locale specific time-stamps.
* testing/lisp/test-org-table.el (test-org-table/time-stamps): New test.

Reported-by: "Ulrich J. Herter" <ujh@posteo.de>
<http://permalink.gmane.org/gmane.emacs.orgmode/108165>

4 days agoorg-table: Assume `calc-eval' is always available
Nicolas Goaziou [Thu, 21 Jul 2016 08:25:44 +0000]
org-table: Assume `calc-eval' is always available

* lisp/org-table.el (org-table-maybe-eval-formula):
(org-table-eval-formula): Assume `calc-eval' is always available, which
is the case on any recent GNU Emacs.

5 days agoox-html: Remove unprefixed "cl" macros
Nicolas Goaziou [Wed, 20 Jul 2016 20:02:50 +0000]
ox-html: Remove unprefixed "cl" macros

* lisp/ox-html.el (org-html-infojs-install-script):
(org-html-list-of-listings):
(org-html-list-of-tables):
(org-html-format-list-item):
(org-html-inline-image-p):
(org-html-standalone-image-p):
(org-html-link):
(org-html-begin-plain-list):
(org-html-end-plain-list):
(org-html-table): Refactor code so as to avoid using un-prefixed "cl"
macros.

5 days agoox-html: Use unescaped URL in links without description
Nicolas Goaziou [Wed, 20 Jul 2016 19:52:10 +0000]
ox-html: Use unescaped URL in links without description

* lisp/ox-html.el (org-html-link): Use unescaped URL in links without
  description.

Reported-by: Arun Isaac <arunisaac@systemreboot.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/108359>

5 days agoorg-compat: Preserve compatibility with Emacs 24.3
Nicolas Goaziou [Wed, 20 Jul 2016 19:44:10 +0000]
org-compat: Preserve compatibility with Emacs 24.3

* lisp/org-compat.el: Use `eval-after-load' instead of
  `with-eval-after-load' since the latter was introduce in Emacs 24.4.

6 days agoorg-mobile: Fix code typo
Nicolas Goaziou [Wed, 20 Jul 2016 08:06:28 +0000]
org-mobile: Fix code typo

* lisp/org-mobile.el (org-mobile-create-index-file): Fix code typo.

Reported-by: Martin Leduc <ldcmrtn@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108193>

7 days agoDeprecate "file+application" link types
Nicolas Goaziou [Mon, 18 Jul 2016 21:43:01 +0000]
Deprecate "file+application" link types

* doc/org.texi (External links): Remove "file+emacs" and "file+sys"
  syntax.
* lisp/org-compat.el (org): Support "file+emacs" and "file+sys" for the
  time being.
* lisp/org-lint.el (org-lint--checkers): Add checker for obsolete link
  types.
(org-lint-file-application): New function.
* lisp/org.el (org-link-parameters): Remove deprecated link types.

7 days agoRemove unnecessary link application handler
Nicolas Goaziou [Mon, 18 Jul 2016 21:09:03 +0000]
Remove unnecessary link application handler

* lisp/org.el (org-linkg-parameters): Use default follow function
  instead of providing one.
(org--open-file-link): Remove function.

7 days agoExternalize hard-coded type links
Nicolas Goaziou [Mon, 18 Jul 2016 20:49:46 +0000]
Externalize hard-coded type links

* lisp/org.el (org-link-parameters): Add follow function for "doi",
  "elisp", "ftp", "help", "http", "https", "mailto", "message", "news"
  and "shell" link types.
(org--open-elisp):
(org--open-doi):
(org--open-help):
(org--open-shell): New functions.
(org-open-at-point): Remove hard-coded follow functions.

7 days agoUpdate the contrib manual
John Kitchin [Tue, 5 Jul 2016 14:38:42 +0000]
Update the contrib manual

7 days agoUpdate NEWS with link announcement
John Kitchin [Tue, 5 Jul 2016 14:31:30 +0000]
Update NEWS with link announcement

7 days agoUpdate the texinfo for link parameters documentation
John Kitchin [Tue, 5 Jul 2016 14:29:07 +0000]
Update the texinfo for link parameters documentation

7 days agoUpdate id link definition
John Kitchin [Tue, 5 Jul 2016 20:11:08 +0000]
Update id link definition

* lisp/org-id.el ("id"): Update to use org-link-set-parameters.

7 days agoUpdate w3m link definition
John Kitchin [Tue, 5 Jul 2016 14:28:38 +0000]
Update w3m link definition

* lisp/org-w3m.el ("w3m"):
Update to use org-link-set-parameters.

7 days agoUpdate rmail link definition
John Kitchin [Tue, 5 Jul 2016 14:28:09 +0000]
Update rmail link definition

* lisp/org-rmail.el ("rmail"):
Use org-link-set-parameters to define link.

7 days agoUpdate mhe link definition
John Kitchin [Tue, 5 Jul 2016 14:27:55 +0000]
Update mhe link definition

* lisp/org-mhe.el ("mhe"): Define link with org-link-set-parameters.

7 days agoUpdate irc link definition
John Kitchin [Tue, 5 Jul 2016 14:27:45 +0000]
Update irc link definition

* lisp/org-irc.el ("irc"):
Define link with org-link-set-parameters.

7 days agoUpdate info link definition
John Kitchin [Tue, 5 Jul 2016 14:27:32 +0000]
Update info link definition

* lisp/org-info.el ("info"):
Update link definition with org-link-set-parameters and change a doc string to
point to org-link-parameters.

7 days agoUpdate gnus link definition
John Kitchin [Tue, 5 Jul 2016 14:27:14 +0000]
Update gnus link definition

* lisp/org-gnus.el ("gnus"):
Update link definition with org-link-set-parameters.

7 days agoUpdate eshell link definition
John Kitchin [Tue, 5 Jul 2016 14:27:03 +0000]
Update eshell link definition

* lisp/org-eshell.el ("eshell"):

Update to use org-link-set-parameters.

7 days agoUpdate docview link definition
John Kitchin [Tue, 5 Jul 2016 14:26:28 +0000]
Update docview link definition

* lisp/org-docview.el ("docview"):

Update link definition with org-link-set-parameters.

7 days agoUpdate bibtex link definition
John Kitchin [Tue, 5 Jul 2016 14:26:04 +0000]
Update bibtex link definition

* lisp/org-bibtex.el ("bibtex"):

Change link definition to use org-link-set-parameters

7 days agoUpdate bbdb link definition
John Kitchin [Tue, 5 Jul 2016 14:25:39 +0000]
Update bbdb link definition

* lisp/org-bbdb.el ("bbdb"):

Change link definition to org-link-set-parameters

7 days agoMake plain and bracketed link properties stick
John Kitchin [Tue, 5 Jul 2016 14:22:24 +0000]
Make plain and bracketed link properties stick

* lisp/org.el (org-set-font-lock-defaults): If t is after the face, than
  org-link clobbers everything from the activation functions.

7 days agoUpdate `org-activate-bracket-links'
John Kitchin [Tue, 5 Jul 2016 14:21:50 +0000]
Update `org-activate-bracket-links'

* lisp/org.el (org-activate-bracket-links): Use `org-link-parameters' to
  build link properties.

7 days agoUpdate `org-activate-plain-links'
John Kitchin [Tue, 5 Jul 2016 14:21:08 +0000]
Update `org-activate-plain-links'

* lisp/org.el (org-activate-plain-links): Use `org-link-parameters' to
  create the link properties.

7 days agoGet the complete function from `org-link-parameters'
John Kitchin [Tue, 5 Jul 2016 14:20:23 +0000]
Get the complete function from `org-link-parameters'

* lisp/org.el (org-link-try-special-completion):
Get the follow function from `org-link-parameters'

Only follow when a function is defined.

* lisp/org.el (org-open-at-point): Some links don't have a :follow
  function, so we should not call nil in that case.

7 days agoRemove `org-link-protocols' variable
John Kitchin [Thu, 7 Jul 2016 14:02:29 +0000]
Remove `org-link-protocols' variable

* lisp/org.el (org-link-protocols): Remove variable org-link-protocols.
The data in this variable is now retrieved with org-link-get-parameter.

* lisp/org.el: Enable file links to use the application link property to
  determine the follow action. Also add a space after let*.

7 days agoCreate `org-link-parameters'
John Kitchin [Thu, 7 Jul 2016 13:58:29 +0000]
Create `org-link-parameters'

* lisp/org-element.el: Replace `org-link-types' variable with
  `org-link-types' function.

* lisp/org.el: Replace the `org-link-types' variable with
  `org-link-types' function. Create `org-link-get-parameter' and
  `org-link-set-parameters' functions. Remove `org-add-link-type'. Add
  `org-store-link-functions' function and remove
  `org-store-link-functions' variable. Add `org--open-file-link' for use
  as a :follow function for file type links.

* lisp/org.el: Set :follow functions for file links in `org-link-parameters.
Define `org-open-file-link' that opens a file link with an app.

* testing/lisp/test-ox.el: Remove usage of the `org-link-types'
  variable.

* lisp/org-compat.el: Move `org-add-link-type' and mark it as obsolete.

* lisp/ox.el: Change org-add-link-type comment in ox.el.

8 days agoob-exp: Remove spurious declaration
Nicolas Goaziou [Sun, 17 Jul 2016 20:55:03 +0000]
ob-exp: Remove spurious declaration

8 days agoFix `org-compile-file' error
Nicolas Goaziou [Sun, 17 Jul 2016 12:28:00 +0000]
Fix `org-compile-file' error

* lisp/org.el (org-compile-file): Fix error when source file is not
  located in current directory.

Reported-by: "Charles C. Berry" <ccberry@ucsd.edu>
<http://permalink.gmane.org/gmane.emacs.orgmode/108245>

8 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 17 Jul 2016 10:06:55 +0000]
Merge branch 'maint'

8 days agoRevert "ob-exp: Remove spurious comma un-escaping" maint release_8.3.5
Nicolas Goaziou [Sun, 17 Jul 2016 10:04:28 +0000]
Revert "ob-exp: Remove spurious comma un-escaping"

This reverts commit 0279d84cd7f857535342b4ec3c2e70ac76c1ee27.

2 weeks ago* ob-vbnet.el: Org-babel functions for VB.Net evaluation
thomas [Fri, 8 Jul 2016 10:27:33 +0000]
* ob-vbnet.el: Org-babel functions for VB.Net evaluation

* contrib/lisp/ob-vbnet.el: Add org-babel functions for VB.Net evaluation.
(org-babel-vbnet-command): Name of the VB command (mono)
(org-babel-vbnet-compiler): Name of the VB compiler (vbnc)
(org-babel-execute:vbnet): Execute VB.Net code
(org-babel-prep-session:vbnet): Throw error (sessions are not supported)

2 weeks agoMerge branch 'maint'
Nicolas Goaziou [Thu, 7 Jul 2016 10:21:21 +0000]
Merge branch 'maint'

2 weeks agoorg-eldoc: Handle source blocks with empty language
Fabrice Popineau [Thu, 7 Jul 2016 09:25:12 +0000]
org-eldoc: Handle source blocks with empty language

* contrib/lisp/org-eldoc.el (org-eldoc-get-src-header): When inserting
  a new src block, the language may not yet be chosen when this is
  called.

2 weeks agoorg-eldoc: Fix "wrong-type-argument symbolp" error
Fabrice Popineau [Thu, 7 Jul 2016 09:26:50 +0000]
org-eldoc: Fix "wrong-type-argument symbolp" error

* contrib/lisp/org-eldoc.el (org-eldoc-documentation-function): The
  doc-fun object may be a function object and not a symbol.

3 weeks agoMove `org-toggle-item' in "org-list.el"
Nicolas Goaziou [Mon, 4 Jul 2016 21:52:40 +0000]
Move `org-toggle-item' in "org-list.el"

* lisp/org.el (org-toggle-item): Move function ...
* lisp/org-list.el (org-toggle-item): ... here.

* testing/lisp/test-org-list.el (test-org-list/toggle-item): New test.

3 weeks agoMerge branch 'maint'
Nicolas Goaziou [Mon, 4 Jul 2016 21:23:51 +0000]
Merge branch 'maint'

3 weeks agoob-csharp.el: Org-babel functions for C# evaluation
thomas [Mon, 4 Jul 2016 13:25:21 +0000]
ob-csharp.el: Org-babel functions for C# evaluation

* contrib/lisp/ob-csharp.el: Add org-babel functions for C# evaluation.
(org-babel-csharp-command): Name of the C# command (mono)
(org-babel-csharp-compiler): Name of the C# compiler (mcs)
(org-babelexecute:csharp): Execute C# code.
(org-babel-prep-session:csharp): Throw error (sessions are not supported).

3 weeks agoFix toggling multiple headings with a TODO keyword
Nicolas Goaziou [Mon, 4 Jul 2016 09:21:14 +0000]
Fix toggling multiple headings with a TODO keyword

* lisp/org.el (org-toggle-item): Remove TODO keyword in each headling
  when changed to an item.

3 weeks agoRemove deprecated syntax for Babel properties
Nicolas Goaziou [Sun, 3 Jul 2016 13:52:42 +0000]
Remove deprecated syntax for Babel properties

* doc/org.texi (Header arguments in Org mode properties): Remove
  reference to deprecated syntax.
* lisp/ob-core.el (org-babel-params-from-properties): Ignore deprecated
  syntax.
* testing/examples/babel.org:
* testing/examples/normal.org:
* testing/examples/ob-header-arg-defaults.org:
* testing/examples/property-inheritance.org:
* testing/lisp/test-ob-header-arg-defaults.el
(test-ob-header-arg-defaults/global/noweb):
(test-ob-header-arg-defaults/global/call):
(test-ob-header-arg-defaults/tree/overwrite/call):
(test-ob-header-arg-defaults/tree/overwrite/noweb):
(test-ob-header-arg-defaults/tree/accumulate/call):
(test-ob-header-arg-defaults/tree/accumulate/noweb):
(test-ob-header-arg-defaults/tree/complex/call):
(test-ob-header-arg-defaults/tree/complex/noweb):
* testing/lisp/test-ob.el (test-ob/elisp-in-header-arguments):
* testing/lisp/test-property-inheritance.el
(test-org-property-accumulation-overwrite-use): Update syntax.
(test-org-property-accumulation-append-use): Use new syntax.
(test-org-property-accumulation-top-val)
(test-org-property-accumulation-overwrite-val)
(test-org-property-accumulation-append-val): Remove tests.

3 weeks agoorg-export-babel-evaluate docstring expanded.
Charles Berry [Thu, 9 Jun 2016 03:18:56 +0000]
org-export-babel-evaluate docstring expanded.

* lisp/ob-exp.el (org-export-babel-evaluate); Inform users that `:eval
  never-export' should be used to avoid rerunning code on export.
  Some users are puzzled when setting this variable to `nil' disables
  all of babel.

The issue was raised by Ken Mankoff:
http://article.gmane.org/gmane.emacs.orgmode/107230

3 weeks agoORG-NEWS: document last "++" repeater change
Don March [Sat, 2 Jul 2016 06:39:58 +0000]
ORG-NEWS: document last "++" repeater change

3 weeks agoMark `org-link-escape-browser' as obsolete
Nicolas Goaziou [Fri, 1 Jul 2016 09:58:23 +0000]
Mark `org-link-escape-browser' as obsolete

* lisp/org-compat.el (org-link-escape-browser): Make function an alias
  for `url-encode-url'.
* lisp/org.el (org-link-escape-chars-browser): Remove variable.
(org-link-escape-browser): Remove function.
(org-open-at-point):
* lisp/ox-html.el (org-html-link): Use `url-encode-url'.
* testing/lisp/test-org.el(test-org/org-link-escape-chars-browser):
  Remove test.

3 weeks agoReschedule "++" repeaters on same day if in future
Don March [Mon, 27 Jun 2016 06:35:44 +0000]
Reschedule "++" repeaters on same day if in future

* lisp/org.el (org-auto-repeat-maybe): Include the time in a
  timestamp (hours and minutes) when checking if a repeat occurrence is
  in the future.
* doc/org.texi (Repeated Tasks): Document repeat occurrences with a time
  in the timestamp.

3 weeks agoMerge branch 'maint'
Nicolas Goaziou [Fri, 1 Jul 2016 07:13:52 +0000]
Merge branch 'maint'

3 weeks agoorg-entities: Swapped symbols of varphi and phi
Konstantin Kliakhandler [Thu, 30 Jun 2016 14:13:21 +0000]
org-entities: Swapped symbols of varphi and phi

* org-entities.el (org-entities): Swap the unicode symbol of phi and of
  varphi.

TINYCHANGE

3 weeks agoorg-compat: Mark `org-compatible-face' as obsolete
Nicolas Goaziou [Thu, 30 Jun 2016 15:45:04 +0000]
org-compat: Mark `org-compatible-face' as obsolete

* lisp/org-inlinetask.el (org-inlinetask): Remove `org-compatible-face'
  call.