org-mode.git
4 hours agoORG-NEWS: Notify ob-lua addition master
Nicolas Goaziou [Mon, 29 Aug 2016 13:39:56 +0000]
ORG-NEWS: Notify ob-lua addition

4 hours agoob-lua: Silence byte-compiler
Nicolas Goaziou [Mon, 29 Aug 2016 13:39:05 +0000]
ob-lua: Silence byte-compiler

10 hours agoox-html: Add pre.src-lua to CSS
thibault [Mon, 29 Aug 2016 07:03:27 +0000]
ox-html: Add pre.src-lua to CSS

* lisp/ox-html.el (org-html-style-default): Add pre.src-lua to CSS.

11 hours agoorg.texi: Add Lua to supported languages
Nicolas Goaziou [Mon, 22 Aug 2016 09:20:09 +0000]
org.texi: Add Lua to supported languages

* doc/org.texi (Languages): Add Lua to the list of supported languages.

11 hours agoob-lua: Use cl-lib
Nicolas Goaziou [Mon, 22 Aug 2016 09:16:37 +0000]
ob-lua: Use cl-lib

* lisp/ob-lua.el (org-babel-lua-evaluate-session): Refactor code to
  avoid using unprefixed "cl" macro.

11 hours agoob-lua: Use lexical binding
Nicolas Goaziou [Mon, 22 Aug 2016 09:15:33 +0000]
ob-lua: Use lexical binding

* lisp/ob-lua.el (org-babel-lua-initiate-session-by-key):
(org-babel-lua-initiate-session):
(org-babel-lua-evaluate-session): Silence byte-compiler.

11 hours agoob-lua.el: Update library for Org 9.0
thibault [Mon, 22 Aug 2016 01:43:37 +0000]
ob-lua.el: Update library for Org 9.0

* lisp/ob-lua.el (org-babel-lua-evaluate-external-process):
(org-babel-lua-evaluate-session): Update for Org 9.0 compatibility.

* testing/test-ob-lua.el: New file.

TINYCHANGE

11 hours agoob-lua: New file
Dieter Schoen [Mon, 22 Aug 2016 09:02:36 +0000]
ob-lua: New file

19 hours agoorg-table: Tiny refactoring
Nicolas Goaziou [Sun, 28 Aug 2016 22:54:41 +0000]
org-table: Tiny refactoring

* lisp/org-table.el (org-table-recalculate): Tiny refactoring.

19 hours agoMerge branch 'maint'
Nicolas Goaziou [Sun, 28 Aug 2016 22:45:07 +0000]
Merge branch 'maint'

19 hours agoorg-table: Fix column formulas maint
Nicolas Goaziou [Sun, 28 Aug 2016 22:29:37 +0000]
org-table: Fix column formulas

* lisp/org-table.el (org-table-recalculate): Fix column formulas in
  tables consisting of a single row group.

Reported-by: Michael Welle <mwe012008@gmx.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/108886>

23 hours agoFix entity definition of \nbsp
Aaron Ecay [Sun, 28 Aug 2016 18:03:52 +0000]
Fix entity definition of \nbsp

* lisp/org-entities.el (org-entities): Use a proper non-breaking space
for \nbsp.

31 hours agoox-latex: Fix typo
Nicolas Goaziou [Sun, 28 Aug 2016 10:14:39 +0000]
ox-latex: Fix typo

* lisp/ox-latex.el (org-latex--delayed-footnotes-definitions): Fix typo
  in docstring.

31 hours agoorg-compat: Silence byte-compiler
Nicolas Goaziou [Sun, 28 Aug 2016 10:12:55 +0000]
org-compat: Silence byte-compiler

31 hours agoMerge branch 'maint'
Nicolas Goaziou [Sun, 28 Aug 2016 10:02:51 +0000]
Merge branch 'maint'

32 hours agoox-html: Remove spurious newline at the end of inline source code
Nicolas Goaziou [Sun, 28 Aug 2016 10:01:08 +0000]
ox-html: Remove spurious newline at the end of inline source code

* lisp/ox-html.el (org-html-inline-src-block): Do not call
  `org-html-format-code', which is meant to be used for source blocks
  only.

Reported-by: Clément Pit--Claudel <clement.pit@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108890>

32 hours agoFix coderef handling in source blocks
Nicolas Goaziou [Sun, 28 Aug 2016 09:45:39 +0000]
Fix coderef handling in source blocks

* lisp/ob-core.el (org-babel--normalize-body): Do not remove coderef.
(org-babel-get-src-block-info): Add coderef label information, when
available, to the return value.
(org-babel-execute-src-block): Expand noweb and remove coderefs
non-destructively.
* lisp/ob-lob.el (org-babel-lob-get-info): Adapt to new INFO.

* testing/lisp/test-ob-exp.el (ob-export/body-with-coderef):
* testing/lisp/test-ob.el (test-ob/evaluate-body-with-coderefs): Add
  tests.

Reported-by: Thibault Marin <thibault.marin@gmx.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108888>

5 days agoClean up string handling.
Aaron Ecay [Wed, 24 Aug 2016 15:05:54 +0000]
Clean up string handling.

* lisp/org-compat.el (string-prefix-p, string-suffix-p):
Add compatibility definitions for 24.3.

* lisp/ob-R.el (org-babel-edit-prep:R):
* lisp/ob-core.el (org-babel-demarcate-block):
* lisp/ob-js.el (org-babel-js-read):
* lisp/ob-latex.el (org-babel-execute:latex):
* lisp/ob-ref.el (org-babel-ref-parse):
* lisp/ob-shell.el (org-babel-variable-assignments:shell):
* lisp/org-protocol.el (org-protocol-create):
* lisp/org-table.el (org-table-field-info):
* lisp/org.el (org-get-buffer-for-internal-link):
* lisp/ox-publish.el (org-publish-compare-directory-files):
* lisp/ox-texinfo.el (org-texinfo-template):
Use `string-{suffix,prefix}-p' instead of `string-match(-p)'.

* lisp/ob-python.el (org-babel-python-read-string):
Ditto, also use `substring' rather than `match-string'.

* lisp/org-table.el (org-table-copy-down):
(org-table-insert-hline, org-table-current-field-formula):
(org-table-get-formula): Use `string-match-p' instead of
`string-match'.

5 days agocontrib/README: Remove "org-eww.el" from the list
Nicolas Goaziou [Tue, 23 Aug 2016 20:17:49 +0000]
contrib/README: Remove "org-eww.el" from the list

* contrib/README: Remove "org-eww.el", which has been moved to core.

5 days agoTurn org-mode into Org or Org mode
Nicolas Goaziou [Tue, 23 Aug 2016 20:13:56 +0000]
Turn org-mode into Org or Org mode

Use Org or Org mode instead of org-mode or Org-mode according to
"Documentation standards".

6 days agoFix typo in a docstring
Nicolas Goaziou [Tue, 23 Aug 2016 08:47:18 +0000]
Fix typo in a docstring

* lisp/org.el (org-link-abbrev-alist): Fix typo.

6 days agoHandle tooltips on abbreviated links
Nicolas Goaziou [Tue, 23 Aug 2016 07:34:29 +0000]
Handle tooltips on abbreviated links

* lisp/org.el (org-activate-bracket-links): Expand abbreviations before
  adding :help-echo property.

Reported-by: mc <mc@aiguphonie.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108785>

6 days agoox-html: Tiny fix
Nicolas Goaziou [Mon, 22 Aug 2016 20:13:24 +0000]
ox-html: Tiny fix

* lisp/ox-html.el (org-html-paragraph): Move space after the figure
  number within the "figure-number" class so it can be hidden if needed.
  Small refactoring.

6 days agoox-html: Number source blocks with listings
Nicolas Goaziou [Mon, 22 Aug 2016 20:07:34 +0000]
ox-html: Number source blocks with listings

* lisp/ox-html.el (org-html-src-block): Number source block if it has
  a caption.  Numbering is done among source blocks with a caption,
  only.

Suggested-by: Clément Pit--Claudel <clement.pit@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108808>

7 days agoox-latex: Fix repeated footnotes in tables
Nicolas Goaziou [Mon, 22 Aug 2016 10:07:34 +0000]
ox-latex: Fix repeated footnotes in tables

* lisp/ox-latex.el (org-latex--delayed-footnotes-definitions): Fix
  referencing multiple occurrences of the same footnote in a table.

Reported-by: Kaushal Modi <kaushal.modi@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108789>

8 days agotest-ob-maxima: Revert last commit
Marco Wahl [Sat, 20 Aug 2016 21:43:35 +0000]
test-ob-maxima: Revert last commit

* testing/lisp/test-ob-maxima.el:
(ob-maxima/matrix-output): Remove filtering of informational output.

Credit to Leo Butler.  From his post:

    Since those informational messages are written to stdout, do

    with_stdout("/dev/null", load(numericalio))$
    write_data ....

    to muffle the messages. Note that sbcl warnings are muffled by

    :lisp (setf sb-ext::*muffled-warnings* 'warning)

8 days agoob-maxima-test: Clarify matrix test
Marco Wahl [Sat, 20 Aug 2016 21:36:41 +0000]
ob-maxima-test: Clarify matrix test

* testing/examples/ob-maxima-test.org: Suppress informational output at
  load of numericalio.  (This output made testing complicated.)

8 days agotest-ob-maxima: Fix maxima matrix test
Marco Wahl [Sat, 20 Aug 2016 19:48:16 +0000]
test-ob-maxima: Fix maxima matrix test

* testing/lisp/test-ob-maxima.el (ob-maxima/matrix-output): Remove lines
  starting with ";;" from the result of `org-babel-execute-src-block'.

This fix works around the occurance of lines like

;; loading #P"/home/b/.../numericalio/encode-decode-float.fasl"

in the output of maxima.

Maxima version: "5.38.1"
Lisp implementation type: "SBCL"
Lisp implementation version: "1.3.6"

9 days agoob-maxima-test: Tiny cleanup
Marco Wahl [Sat, 20 Aug 2016 17:33:16 +0000]
ob-maxima-test: Tiny cleanup

* testing/examples/ob-maxima-test.org: Removed superfluous source block
  variable.

9 days agoMove org-eww to core
Nicolas Goaziou [Sat, 20 Aug 2016 00:59:56 +0000]
Move org-eww to core

* lisp/org-eww.el: Move file from contrib/lisp/ to lisp/.
* lisp/org.el (org-modules): Apply change.
* lisp/org-capture.el (org-capture-templates):
* doc/org.texi: Document changes.

9 days agoMerge branch 'maint'
Nicolas Goaziou [Fri, 19 Aug 2016 22:27:33 +0000]
Merge branch 'maint'

9 days agoorg-clock: Fix infloop when creating a clock table
Nicolas Goaziou [Fri, 19 Aug 2016 22:22:13 +0000]
org-clock: Fix infloop when creating a clock table

* lisp/org-clock.el (org-clock-sum): Fix infloop when first headline in
  scope has a level strictly greater than 1.

Reported-by: Yichao Woo <wooyichao@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108606>

10 days agoorg-src: Silence byte-compiler
Nicolas Goaziou [Fri, 19 Aug 2016 14:19:36 +0000]
org-src: Silence byte-compiler

10 days agoorg.texi: Reorder two sections
Nicolas Goaziou [Fri, 19 Aug 2016 14:06:49 +0000]
org.texi: Reorder two sections

* doc/org.texi (Exporting): Update menu.
(Export in foreign buffers): Move this section...
(Other built-in back-ends): ... past this one.

10 days agoorg.texi: Remove useless section
Nicolas Goaziou [Fri, 19 Aug 2016 14:04:49 +0000]
org.texi: Remove useless section

* doc/org.texi (Exporting): Reword section.
(Export back-ends): Remove section.

11 days agoob-core: Silence byte-compiler
Nicolas Goaziou [Thu, 18 Aug 2016 13:23:00 +0000]
ob-core: Silence byte-compiler

11 days agoorg-src: Fix coderef regexp
Nicolas Goaziou [Wed, 17 Aug 2016 21:48:53 +0000]
org-src: Fix coderef regexp

* lisp/org-src.el (org-src-coderef-regexp): A coderef label cannot be
  consist of white spaces only.

* testing/lisp/test-org-src.el (test-org-src/coderef-regexp): Add test.

11 days agoFix `org-store-link' in edit buffers
Nicolas Goaziou [Wed, 17 Aug 2016 21:45:38 +0000]
Fix `org-store-link' in edit buffers

* lisp/org.el (org-store-link): Properly handle coderef insertion in an
  edit buffer.

This patch also removes check for duplicate coderef labels, so as to be
on par with other link types.

11 days agoConsider edit buffers in `org-src-coderef-regexp'
Nicolas Goaziou [Wed, 17 Aug 2016 21:43:38 +0000]
Consider edit buffers in `org-src-coderef-regexp'

* lisp/org-src.el (org-src-coderef-format): New function
(org-src-coderef-regexp): Change signature.

* lisp/ob-core.el (org-babel--normalize-body):
* lisp/ox.el (org-export-unravel-code): Use new functions.

* testing/lisp/test-org-src.el (test-org-src/coderef-format): New test.

11 days agoSmall fix to `org-store-link'
Nicolas Goaziou [Wed, 17 Aug 2016 21:40:16 +0000]
Small fix to `org-store-link'

* lisp/org.el (org-store-link): Only call `org-with-limited-levels' in
  Org buffers.

11 days agoorg-src: Move function within library
Nicolas Goaziou [Wed, 17 Aug 2016 21:37:55 +0000]
org-src: Move function within library

* lisp/org-src.el (org-src-do-at-code-block): Move function definition
  out of Babel related section.

11 days agoFix indentation in tests
Nicolas Goaziou [Wed, 17 Aug 2016 21:36:32 +0000]
Fix indentation in tests

* testing/lisp/test-org-src.el (test-org-src/basic):
(test-org-src/empty-block):
(test-org-src/blank-line-block):
(test-org-src/preserve-tabs): Fix indentation and tab issues.

12 days agoimproved prompt
U-IHM-NOTEBOOK\Olli [Tue, 16 Aug 2016 20:41:21 +0000]
improved prompt

2 weeks agoorg-index v5.1 with enhanced dispatch
U-IHM-NOTEBOOK\Olli [Fri, 12 Aug 2016 20:51:20 +0000]
org-index v5.1 with enhanced dispatch

2 weeks agoob-core: Silence byte-compiler
Nicolas Goaziou [Mon, 8 Aug 2016 20:01:57 +0000]
ob-core: Silence byte-compiler

2 weeks agoFix overlay breakage when updating statistics cookies
Nicolas Goaziou [Mon, 8 Aug 2016 19:56:11 +0000]
Fix overlay breakage when updating statistics cookies

* lisp/org.el (org-update-parent-todo-statistics): Do not move overlay
  when updating statistics cookies.

Overlay moving was introduced in
28b88bbb11289d6c8d39ccc8dc420e7051fc0d4c to fix a bug that no longer
seems to be reproducible.  In any case, even if needed, this fix should
happen in "org-colview.el".

Reported-by: Clément Pit--Claudel <clement.pitclaudel@live.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108601>

3 weeks agoUpdate ORG-NEWS
Nicolas Goaziou [Mon, 8 Aug 2016 12:11:07 +0000]
Update ORG-NEWS

3 weeks agoIgnore coderef labels when evaluating a code block
Nicolas Goaziou [Mon, 8 Aug 2016 12:04:11 +0000]
Ignore coderef labels when evaluating a code block

* lisp/ob-core.el (org-babel--normalize-body): New function.
(org-babel-get-src-block-info): Use new function.

* lisp/org-src.el (org-src-coderef-regexp): New function.
* lisp/ox.el (org-export-unravel-code): Use new function.

* testing/lisp/test-ob.el (test-ob/evaluate-body-with-coderefs): New
  test.

3 weeks agoorg-mobile: Silence byte-compiler
Nicolas Goaziou [Mon, 8 Aug 2016 11:29:09 +0000]
org-mobile: Silence byte-compiler

* lisp/org-mobile.el (org-mobile-apply): Silence byte-compiler.

3 weeks agoob-core: Tiny refactoring
Nicolas Goaziou [Mon, 8 Aug 2016 11:13:11 +0000]
ob-core: Tiny refactoring

* lisp/ob-core.el (org-babel-get-src-block-info): Tiny refactoring.

3 weeks agoorg-eww: Small refactoring
Nicolas Goaziou [Mon, 8 Aug 2016 09:28:12 +0000]
org-eww: Small refactoring

* contrib/lisp/org-eww.el (org-eww-store-link):
(org-eww-copy-for-org-mode):
(eww-mode-hook): Small refactoring.

3 weeks agoorg-eww: Fix docstrings
Nicolas Goaziou [Mon, 8 Aug 2016 09:23:24 +0000]
org-eww: Fix docstrings

* contrib/lisp/org-eww.el (org-eww-store-link):
(org-eww-goto-next-url-property-change):
(org-eww-has-further-url-property-change-p):
(org-eww-copy-for-org-mode): Fix docstrings.

3 weeks agoUpdate replacement for org-add-link-type
Robert Klein [Mon, 8 Aug 2016 01:24:24 +0000]
Update replacement for org-add-link-type

* lisp/org-compat.el ("org-add-link-type"):

replacement for org-add-link-type is org-link-set-parameters,
notorg-linkk-add, now.

3 weeks agoUpdate wl link definition
Robert Klein [Mon, 8 Aug 2016 01:24:23 +0000]
Update wl link definition

* contrib/lisp/org-wl.el ("wl"):

Update to use org-link-set-parameters.

3 weeks agoUpdate vm link definition
Robert Klein [Mon, 8 Aug 2016 01:24:23 +0000]
Update vm link definition

* contrib/lisp/org-vm.el ("vm"):

Update to use org-link-set-parameters.

3 weeks agoUpdate notmuch and notmuch-search link definitions
Robert Klein [Mon, 8 Aug 2016 01:24:23 +0000]
Update notmuch and notmuch-search link definitions

* contrib/lisp/org-notmuch.el ("notmuch"):

Update to use org-link-set-parameters.

3 weeks agoUpdate mew link definition
Robert Klein [Mon, 8 Aug 2016 01:24:23 +0000]
Update mew link definition

* contrib/lisp/org-mew.el ("mew"):

Update to use org-link-set-parameters.

3 weeks agoUpdate man link definition
Robert Klein [Mon, 8 Aug 2016 01:24:23 +0000]
Update man link definition

* contrib/lisp/org-man.el ("man"):

Update to use org-link-set-parameters.

3 weeks agoUpdate mairix link definition
Robert Klein [Mon, 8 Aug 2016 01:24:23 +0000]
Update mairix link definition

* contrib/lisp/org-mairix.el ("mairix"):

Update to use org-link-set-parameters.

3 weeks agoUpdate misc mac link definitions
Robert Klein [Mon, 8 Aug 2016 01:24:23 +0000]
Update misc mac link definitions

* contrib/lisp/org-mac-link.el ("mac-link"):

Update to use org-link-set-parameters.

3 weeks agoUpdate git, gitbare link definitions
Robert Klein [Mon, 8 Aug 2016 01:24:23 +0000]
Update git, gitbare link definitions

* contrib/lisp/org-git-link.el ("git-link"):

Update to use org-link-set-parameters.

3 weeks agoorg-eww: Add follow function for eww links
Robert Klein [Mon, 8 Aug 2016 09:14:34 +0000]
org-eww: Add follow function for eww links

* contrib/lisp/org-eww.el ("eww"): Add :follow property.

3 weeks agoUpdate elisp-symbol link definition
Robert Klein [Mon, 8 Aug 2016 01:24:23 +0000]
Update elisp-symbol link definition

* contrib/lisp/org-elisp-symbol.el ("elisp-symbol"):

Update to use org-link-set-parameters.

3 weeks agoUpdate ebib link definition
Robert Klein [Mon, 8 Aug 2016 01:24:23 +0000]
Update ebib link definition

* contrib/lisp/org-ebib.el ("ebib"):

Update to use org-link-set-parameters.

3 weeks agoUpdate tel link definition
Robert Klein [Mon, 8 Aug 2016 01:24:23 +0000]
Update tel link definition

* contrib/lisp/org-contacts.el ("contacts"):

Update to use org-link-set-parameters.

3 weeks agoUpdate bookmark link definition
Robert Klein [Mon, 8 Aug 2016 01:24:09 +0000]
Update bookmark link definition

* contrib/lisp/org-bookmark.el ("bookmark"):

Update to use org-link-set-parameters.

3 weeks agoUpdate org-eww to use new link api
Matt Lundin [Sat, 6 Aug 2016 01:07:40 +0000]
Update org-eww to use new link api

* contrib/lisp/org-eww.el: org-store-link-functions: Remove obsolete
  hook.
  (org-link-set-parameters) Use new api for links.

3 weeks agoCopy all font-lock properties in org-src, not just face
Clément Pit--Claudel [Sun, 7 Aug 2016 19:03:55 +0000]
Copy all font-lock properties in org-src, not just face

* lisp/org-src (org-src-font-lock-fontify-block): Loop over
  `font-lock-extra-managed-props', thus copying other properties that
  might be applied using font-lock.  An example is composition, applied
  by `prettify-symbols-mode'.

3 weeks agoUse font-lock-append-text-property to apply org-src faces
Clément Pit--Claudel [Sun, 7 Aug 2016 18:59:05 +0000]
Use font-lock-append-text-property to apply org-src faces

* lisp/org-src.el (org-src-font-lock-fontify-block): Replace anonymous
  faces with inheritance by lists of faces constructed by
  `font-lock-add-text-property`.  This properly deals with cases when
  the source buffer's `face' property is already a list.

3 weeks agoorg-mobile: Fix typo in penultimate commit
Nicolas Goaziou [Mon, 8 Aug 2016 07:19:24 +0000]
org-mobile: Fix typo in penultimate commit

* lisp/org-mobile.el (org-mobile-action-alist): Remove spurious quoting
  level.

3 weeks agoorg-mobile: Fix last commit
Nicolas Goaziou [Sun, 7 Aug 2016 22:13:21 +0000]
org-mobile: Fix last commit

* lisp/org-mobile.el (org-mobile-action-alist): Use defconst instead of
  defvar.

3 weeks agoorg-mobile: Demote `org-mobile-action-alist' as a defvar
Nicolas Goaziou [Sun, 7 Aug 2016 22:05:49 +0000]
org-mobile: Demote `org-mobile-action-alist' as a defvar

* lisp/org-mobile.el (org-mobile-action-alist): Make it a defconst
  instead of a defcustom.

This variable is not meant to be modified, because the interface used is
not clear enough.

3 weeks agoorg-mobile: Fix "Execution failed" message on pull
Nicolas Goaziou [Sun, 7 Aug 2016 22:02:56 +0000]
org-mobile: Fix "Execution failed" message on pull

* lisp/org-mobile.el (org-mobile-action-alist): Use a function instead
  of a sexp.
(org-mobile-apply): Apply changes.

Reported-by: Ian Dunn <dunni@gnu.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/108603>

4 weeks agoFix `org-map-tree' when called in an invisible heading
Nicolas Goaziou [Sat, 30 Jul 2016 22:20:35 +0000]
Fix `org-map-tree' when called in an invisible heading

* lisp/org.el (org-map-tree): Move to closest heading above even if it
  is invisible.

Suggested-by: talwrii talwrii <talwrii@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108590>

4 weeks ago`org-get-heading' is more consistent on empty headlines
Nicolas Goaziou [Sat, 30 Jul 2016 20:30:19 +0000]
`org-get-heading' is more consistent on empty headlines

* lisp/org.el (org-get-heading): Ensure that return value is always
  a string.
* testing/lisp/test-org.el (test-org/get-heading): Add tests.

Reported-by: Joe Schafer <joesmoe10@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108559>

4 weeks agoorg-capture: Remove history for template completion
Nicolas Goaziou [Fri, 29 Jul 2016 13:58:08 +0000]
org-capture: Remove history for template completion

* lisp/org-capture.el (org-capture-fill-template): Remove history
  variable, which is not strictly necessary and relies, in its current
  implementation, on dynamic binding.

4 weeks agoorg-compat: Fix regression introduced in 6daad6
Nicolas Goaziou [Fri, 29 Jul 2016 12:40:27 +0000]
org-compat: Fix regression introduced in 6daad6

Reported-by: Humberto Nanni <humberto.nanni@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108550>

4 weeks agoorg.texi: Remove outdated comments
Nicolas Goaziou [Tue, 26 Jul 2016 18:35:35 +0000]
org.texi: Remove outdated comments

* doc/org.texi: Remove outdated comments.

4 weeks agoox-html: Provide a default CSS class for embedded SVG images
Jarmo Hurri [Mon, 25 Jul 2016 05:25:58 +0000]
ox-html: Provide a default CSS class for embedded SVG images

* lisp/ox-html.el (org-html--svg-image): Set CSS class of embedded SVG
images to be org-svg if no other class is set in attributes.
org-html-style-default: Provide default properties for new CSS class.

* doc/org.texi (CSS support): Documentation of default CSS class
org-svg for SVG images embedded into exported HTML.

4 weeks agoox-latex: Allow toggling centering of images
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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

5 weeks 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.

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

5 weeks 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.