org-mode.git
22 hours agoorg.texi: Merge "markup" related nodes master
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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

5 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

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

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

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

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

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

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

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

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

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

5 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

5 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

3 weeks agoorg-faces: Simplify face definitions
Nicolas Goaziou [Thu, 30 Jun 2016 15:35:31 +0000]
org-faces: Simplify face definitions

* lisp/org-faces.el (org-default):
(org-level-1):
(org-level-2):
(org-level-3):
(org-level-4):
(org-level-5):
(org-level-6):
(org-level-7):
(org-level-8):
(org-special-keyword):
(org-drawer):
(org-column):
(org-column-title):
(org-agenda-column-dateline):
(org-warning):
(org-archived):
(org-link):
(org-date-selected):
(org-todo):
(org-done):
(org-agenda-done):
(org-headline-done):
(org-priority):
(org-table):
(org-formula):
(org-code):
(org-meta-line):
(org-document-info-keyword):
(org-block):
(org-verbatim):
(org-clock-overlay):
(org-agenda-structure):
(org-agenda-clocking):
(org-agenda-date-weekend):
(org-scheduled):
(org-scheduled-today):
(org-scheduled-previously):
(org-upcoming-deadline):
(org-agenda-restriction-lock):
(org-agenda-filter-tags):
(org-agenda-filter-regexp):
(org-agenda-filter-category):
(org-time-grid):
(org-agenda-diary):
(org-agenda-calendar-event):
(org-agenda-calendar-sexp):
(org-macro):
(org-tag-group): Eschew `org-compatible-face' usage.

Also use lexical binding.

3 weeks agoMove obsolete declarations into "org-compat.el"
Nicolas Goaziou [Thu, 30 Jun 2016 13:20:51 +0000]
Move obsolete declarations into "org-compat.el"

* lisp/org-agenda.el (org-agenda-list):
(org-agenda-goto-today):
(org-agenda-reset-view): Remove reference to obsolete
`org-agenda-ndays'.

3 weeks agoorg-compat: Fix typo
Nicolas Goaziou [Thu, 30 Jun 2016 11:37:44 +0000]
org-compat: Fix typo

* lisp/org-compat.el (org-match-string-no-properties): Fix typo.

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

3 weeks agoMerge branch 'maint'
Nicolas Goaziou [Mon, 27 Jun 2016 22:31:09 +0000]
Merge branch 'maint'

3 weeks agoox: Small fix
Nicolas Goaziou [Mon, 27 Jun 2016 22:28:47 +0000]
ox: Small fix

* lisp/ox.el (org-export--missing-definitions): Fix typo and remove
  useless comment
* testing/lisp/test-ox.el (test-org-export/footnotes): Add test.

3 weeks agoMerge branch 'maint'
Nicolas Goaziou [Mon, 27 Jun 2016 22:10:14 +0000]
Merge branch 'maint'

3 weeks agoob-exp: Silence byte compiler
Nicolas Goaziou [Mon, 27 Jun 2016 22:01:48 +0000]
ob-exp: Silence byte compiler

3 weeks agoorg-element: Remove spurious blank when interpreting a row
Nicolas Goaziou [Mon, 27 Jun 2016 21:59:44 +0000]
org-element: Remove spurious blank when interpreting a row

* lisp/org-element.el (org-element-table-row-interpreter): Remove
  spurious white space.

3 weeks agoox: Fix typo in comment
Nicolas Goaziou [Mon, 27 Jun 2016 21:58:08 +0000]
ox: Fix typo in comment

* lisp/ox.el (org-export-get-footnote-definition): Fix typo.

3 weeks agoox: Fix export of footnote definitions in pruned parts of tree
Nicolas Goaziou [Mon, 27 Jun 2016 21:50:58 +0000]
ox: Fix export of footnote definitions in pruned parts of tree

* lisp/ox.el (org-export--missing-definitions):
(org-export--install-footnote-definitions): New functions
(org-export--merge-external-footnote-definitions): Remove function
(org-export-as):
(org-export--prune-tree): Use new functions.
* testing/lisp/test-ox.el (test-org-export/footnotes): Add tests.

Reported-by: Mark Edgington <edgimar@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/107940>

4 weeks agoorg-compat: Small refactoring
Nicolas Goaziou [Sun, 26 Jun 2016 12:43:20 +0000]
org-compat: Small refactoring

* lisp/org-compat.el (org-compatible-face): Small refactoring.  Remove
  Emacs 22 related part of the code.

4 weeks agoRemove Emacs 22 related code
Nicolas Goaziou [Sun, 26 Jun 2016 12:35:22 +0000]
Remove Emacs 22 related code

* contrib/lisp/htmlize.el (htmlize-face-color-internal):
(htmlize-face-to-fstruct):
* lisp/org-agenda.el (org-anniversary):
(org-cyclic):
(org-block):
(org-date):
* lisp/org-compat.el (org-region-active-p):
* lisp/org.el (org-use-extra-keys):
(occur-mode-find-occurrence-hook): Remove Emacs 22 related code and
comments.

(org-diary-class): Remove function.

4 weeks agoorg-compat: Tiny refactoring
Nicolas Goaziou [Sun, 26 Jun 2016 08:29:27 +0000]
org-compat: Tiny refactoring

* lisp/org-compat.el (org-re): Use `obsolete' in `declare'.

4 weeks agoUpdate testing/README
Michael Brand [Sat, 25 Jun 2016 15:08:23 +0000]
Update testing/README

* testing/README: Minor update, add how to run several tests.

4 weeks agoERT: Spreadsheet references more sensitive
Michael Brand [Sat, 25 Jun 2016 15:06:12 +0000]
ERT: Spreadsheet references more sensitive

* testing/lisp/test-org-table.el:
(test-org-table/org-table-convert-refs-to-an/1):
(test-org-table/org-table-convert-refs-to-rc/1): Row and column number
different.

4 weeks agoExtend a docstring
Michael Brand [Sat, 25 Jun 2016 15:04:43 +0000]
Extend a docstring

* lisp/org.el (org-startup-truncated): Extend docstring.
(org-set-font-lock-defaults): Also the last top level expression on an
own line.

4 weeks agoorg-colview.el: Fix typo in function name
Lele Gaifax [Fri, 24 Jun 2016 12:26:30 +0000]
org-colview.el: Fix typo in function name

* lisp/org-colview.el (org-columns-hscroll-title): Rename from
  `org-columns-hscoll-title'.
(org-columns--display-here-title):
(org-columns-remove-overlays): Adjust reference to renamed function.

4 weeks agoorg-colview: Fix last commit
Nicolas Goaziou [Fri, 24 Jun 2016 08:06:02 +0000]
org-colview: Fix last commit

* lisp/org-colview.el (org-columns-edit-value): Fix last commit.

4 weeks agoorg-colview: Replace `org-columns-eval' with `org-columns--call'
Nicolas Goaziou [Fri, 24 Jun 2016 07:57:53 +0000]
org-colview: Replace `org-columns-eval' with `org-columns--call'

* lisp/org-colview.el (org-columns-edit-value): Small refactoring.  Use
  new function.
(org-columns--call): New function.
(org-columns-eval): Remove function.
(org-columns-next-allowed-value): Use new function.

4 weeks agoMerge branch 'maint'
Nicolas Goaziou [Fri, 24 Jun 2016 07:22:00 +0000]
Merge branch 'maint'

4 weeks agoImprove a docstring
Nicolas Goaziou [Fri, 24 Jun 2016 07:21:38 +0000]
Improve a docstring

* lisp/org.el (org-delete-all): Improve docstring.

4 weeks agoorg-mobile: Fix TODO keywords generation
Nicolas Goaziou [Fri, 24 Jun 2016 07:16:39 +0000]
org-mobile: Fix TODO keywords generation

* lisp/org-mobile.el (org-mobile-create-index-file): Call
  `org-delete-all' later since it is a destructive operation.

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

4 weeks agoorg-capture: Remove forbidden value type from "file" templates
Nicolas Goaziou [Thu, 23 Jun 2016 23:11:49 +0000]
org-capture: Remove forbidden value type from "file" templates

* lisp/org-capture.el (org-capture-expand-file): Remove plain S-exps
  from allowed values.

4 weeks agoob-exp: Small fix
Nicolas Goaziou [Thu, 23 Jun 2016 22:55:03 +0000]
ob-exp: Small fix

* lisp/ob-exp.el (org-babel-exp-src-block): Use `symbol-name' instead of
  `eval' since the argument is a dynamically scoped variable anyhow.

4 weeks agoorg-clock: Remove handling for illicit :scope values
Nicolas Goaziou [Thu, 23 Jun 2016 22:52:19 +0000]
org-clock: Remove handling for illicit :scope values

* lisp/org-clock.el (org-dblock-write:clocktable): :scope is not meant
  to be a s-exp, so don't use `eval' on it.

4 weeks agoFix `org-no-properties' called with an optional argument
Nicolas Goaziou [Thu, 23 Jun 2016 13:55:39 +0000]
Fix `org-no-properties' called with an optional argument

* lisp/org-macs.el (org-no-properties): Fix function so that optional
  argument `restricted' is not ignored.

4 weeks agoRemove `org-substitute-posix-classes'
Nicolas Goaziou [Thu, 23 Jun 2016 13:28:45 +0000]
Remove `org-substitute-posix-classes'

* lisp/org-macs.el (org-substitute-posix-classes): Remove function.

This function is unused throughout the code base and not part of any
public API.

4 weeks agoDeprecate `org-format-seconds' in favor of `format-seconds'
Nicolas Goaziou [Thu, 23 Jun 2016 13:26:17 +0000]
Deprecate `org-format-seconds' in favor of `format-seconds'

* lisp/org-macs.el (org-format-seconds): Remove function.
* lisp/org-compat.el (org-format-seconds): Mark function as an obsolete
  alias.
* lisp/org-table.el (org-table-time-seconds-to-string):
* lisp/ox.el (org-export-stack-refresh): Apply removal.

4 weeks agoDeprecate `org-no-warnings' in favor of `with-no-warnings'
Nicolas Goaziou [Thu, 23 Jun 2016 13:20:32 +0000]
Deprecate `org-no-warnings' in favor of `with-no-warnings'

* lisp/org-macs.el (org-no-warnings): Rewove macro.
* lisp/org-compat.el (org-no-warnings): Mark `org-no-warnings' as
  obsolete.
* contrib/lisp/org-contacts.el (defvar):
* contrib/lisp/org-wl.el (org-wl-open):
* lisp/org-agenda.el (defvar):
(org-anniversary):
(org-cyclic):
(org-block):
(org-date):
* lisp/org-bbdb.el (defvar):
* lisp/org-clock.el (org-clock-out):
(org-clock-cancel):
* lisp/org-mouse.el (org-mouse-show-context-menu):
* lisp/org.el (org-modify-ts-extra):
(org-order-calendar-date-args): Small refactoring.
* lisp/ox-odt.el (org-odt-htmlfontify-string):

4 weeks agoorg-macs: Remove `org-replace-match-keep-properties'
Nicolas Goaziou [Thu, 23 Jun 2016 13:13:14 +0000]
org-macs: Remove `org-replace-match-keep-properties'

* lisp/org-macs.el (org-replace-match-keep-properties): Remove function.

This function is unused through the code base and doesn't specifically
belong to a public API.