org-mode.git
29 hours agoClean up string handling. master
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'.

47 hours 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.

2 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".

2 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>

3 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.

3 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>

3 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>

4 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)

4 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.)

5 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"

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

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

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

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

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

6 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.

6 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.

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

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

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

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

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

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

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

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

12 days 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>

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

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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.

2 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'.

2 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.

2 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.

2 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.

2 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.

2 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>

3 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>

3 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>

3 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.

3 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

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

4 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.

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

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

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

4 weeks 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'.

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

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

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

4 weeks 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'.

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

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

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

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

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

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

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

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

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

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